Stackoverflow using p\invoke in dll library

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi, Im having a problem trying to use pinvoke on a library "MGW_SDK.dll", this dll is used as an SDK for an
application, it seems this dll uses delphi.

The first time I tried to invoke it it showed that the library couldnt be found, so I did a little research,
downloaded dependency walker and
looked in dependencies of "MGW_SDK.DLL" I noticed that several libraries where missing, so I copy/pasted
the dlls from the fabricant of the software (located in programfiles...) into system32, then I refreshed
dependency walker and taran! it seemed everything was allright I just had a warning from IEFRAME.DLL

WARINNG:At least one module has an unresolved import due to a missing export function in a delay-load dependent module

Then I went back to visual studio and ran the application but now is showing a stackoverflow exception,
does anyone please had have an experience trying to link c# with a delphi based dll.

Any help to point me in the right direction will be highly appreciated.

View the full article
 
Back
Top