MinGW update?

c++ / delphi package - dll injection and api hooking
Post Reply
ShadwDrgn
Posts: 5
Joined: Sat May 17, 2008 3:51 am

MinGW update?

Post by ShadwDrgn »

I was wondering if anyone has had any luck getting this working with MinGW (the compiler used with Dev-C++). There'r a few threads about it, but nothing substantial.

MinGW now supports loading microsoft libraries, and I've gotten it to compile with the dynamic library. The static library still gives this, though:

Code: Select all


  [Linker error] undefined reference to `_imp__SysReAllocStringLen@12' 
  [Linker error] undefined reference to `_imp__SysFreeString@4' 


I tried linking to oleaut32 libraries and that lets it compile, but windows reports the dll as "not a valid windows image".
when compiling the exact same code with the dynamic libraries and .h it works fine.

also get this on manual gcc:

Code: Select all

Cannot export 0000046D: symbol not found
Cannot export 0000046E: symbol not found
Cannot export 0000046F: symbol not found
Cannot export 00000470: symbol not found
Cannot export 00000471: symbol not found
Cannot export 00000472: symbol not found
A lot of that... a few pages.

Hoping this will help move things along on getting this working for MinGW.

Thanks in advance.
Post Reply