Quantcast
Viewing all articles
Browse latest Browse all 3636

Crashes on SetDataSource Method.

Hi,

 

I'm using the latest crystal reports for VS 2010 as of 24/7/2013. I'm working on a WPF DLL Library project. I previously had a problem similar to this one:
http://scn.sap.com/thread/3230061 - My application which hosted my WPF DLL crashes when i call the line with SetDataSource. I was able to fixed it by adding:

 

<?xml version="1.0"?>

<configuration>

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

  </startup>

</configuration>

 

on my C# host application's app.config

 

However, now, i need to host my WPF DLL on a Delphi application. We're using Hydra Plugin by the way for this to work. Now, the problem is back, the applciation crashes when reaching the line with SetDataSource method.

 

Any help on this?

 

Thanks,

Mark


Viewing all articles
Browse latest Browse all 3636

Trending Articles