Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-19 Thread Chuck Rolke
nt: Friday, October 19, 2012 2:28:08 PM > Subject: Re: C# error when loading org.apache.qpid.messaging.dll > > If the C# is 64 bit (or cpu-any and launched as 64 bit) it will pull > in the 64bit CLR which cannot be mixed with the 32 bit version. You > can force your C# to be 32 bit fr

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-19 Thread Cliff Jansen
If the C# is 64 bit (or cpu-any and launched as 64 bit) it will pull in the 64bit CLR which cannot be mixed with the 32 bit version. You can force your C# to be 32 bit from some setting in Visual Studio. You can also set a property on the dll after the fact with some tool from the SDK. Cliff On

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-19 Thread Rajesh Khan
Yes Steve I resolved the issue , thank you for asking. It seems that I was needed to place some boost dll files next to the built dll. I am just curious if 64bit dll also works with x86 C sharp program . On Thu, Oct 18, 2012 at 5:36 PM, Steve Huston wrote: > Did you get this resolved yet Rajesh?

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-18 Thread Steve Huston
Did you get this resolved yet Rajesh? If not, it sounds like maybe the new DLL isn't in the PATH or with your exe. If that's not it, you can use the depends tool (downloadable from Microsoft if it's not included with your Visual Studio) to see which dependencies are missing. -Steve On 10/17/12 7

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-17 Thread Rajesh Khan
Still getting the following exception with 32bit mode (debug) dll System.IO.FileNotFoundException was unhandled Message=Could not load file or assembly 'org.apache.qpid.messaging.dll' or one of its dependencies. The specified module could not be found. Source=QpidRx_CSharp FileName=org.apac

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-17 Thread Steve Huston
Rebuild the org.apache.qpid.messaging.dll in 32 bit mode? On 10/17/12 5:05 PM, "Rajesh Khan" wrote: >I built my org.apache.qpid.messaging.dll in VS2010 64 bit mode. Now when I >am adding it as a reference to my C# project x86. I get the following >error. >Any suggestions on how I could resolve t