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?).
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?).