Hello Jiri,

>> I must have tried at least a dozen different ways and all of them have
>> failed. The last two -above- fail with a 'BadImageFormatException' within 
>> a
>> Try Catch block.
>
> This exception is thrown mainly when you have 64bit app and 32bit dll
> (or vice versa). It has nothing to do with connection string.

That pointed me in the right direction.

I have found (rather a quick test I'm afraid - will do more testing here 
later) that I have to strictly use the 32bit fbembed.dll in my 
application... and that I also have to strictly target x86 cpu under the 
advanced compile settings. Then the connection strings were fine.

If I have the compile settings set to -AnyCPU- (both x64 and x86) and try 
and use the 64 bit fbembed.dll in the debug folder I get an error that it 
can not find the fbembed.dll file.

More testing later...

R 


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to