May be the path is not set for it to automatically pickup dll. Specify the
full path
Try this way
[DllImport("c:\\myDir\MyDll.dll")]
The other reason may be the dll does not exists in the system at all. Is it
a system dll you are looking for ?
--
Shak
(Houston)
"pnp" <pnp.at.softlab.ece.ntua.gr> wrote in message
news:uj**************@TK2MSFTNGP12.phx.gbl...
Hi all,
i'm having a problem using DllImport with Win98. It works just fine with
XP & 2000 but in 98 it prompts: "Unable to find xxxxx.dll". Any ideas?
error is: System.DllNotFoundException: Unable to load DLL
(etc\fectfmn.dll).
Peter