can not load the dll

  • Thread starter Alex Groysman via .NET 247
  • Start date
A

Alex Groysman via .NET 247

I created a C++ code.
COmpiled it to get a DLL.
When I run dumpbin /exports oss.dll
i get all my exports to a sreen lke _function@4.
SO it looks fine i guess.
Now when I try to do
[DllImport("oss.dll")]
and then call to function in the dll i get erro:
can not load ossapu.dll.
WHat ossapi.dll?
I never called to any osapi.dll.
WHat does that compiler did wrong (or I did?).
 
U

Uri Dor

right click the oss.DLL file and choose "view dependencies" - you'll see
the DLLs that are loaded automatically when you load oss.dll
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top