Marvin Cook wrote:
> Carlos,
>
> It would be nice to be able to put fbembed.dll in the same directory 
> as the executeable.

Hi all :)
I'm worry it isn't a provider's problem: it is a M$ problems i think.
When you make a pinvoke, i don't know why, the system need more that 
only read permission on win32 dll.

This is my experience..

I solve it, by recompile del provider with this change:
in the FbClient class of the Embedded namespace, change the line from
            public const string DllPath = "fbembed";
to
            public const string DllPath = 
"x:\absolute_path_with_write_permission_for_net_process\fbembed.dll"

in my case,(low-cost web space with only 1 folder with write 
permission), i put the dll in the same forder of the DB :)
It works :)

bye!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to