minGW question

W

wongjoekmeu

Hello All,
I have downloaded a dll, let us say XXX.dll. I use minGW-3.2.0 and
used the pexports.exe and dlltool.exe to create a libXXX.a library. I
created first the .def file using the include .h and the .dll file.
Then using
dlltool I finally created the mingw library. My test program using
this library compiles well and it does not give errors. But when I
execute my program a windows messag dialogs pops up saying that an
entry point is missing of one of the functions in the dll. Does anyone
has any suggestion on what I am doing wrong. Maybe I have done
something wrong ?

I did the following

pexports.exe -h XXX.h XXX.dll > XXX.def
dlltool.exe --input-def XXX.def --output-lib libXXX.a

Many thanks in advance for trying to help me out

pp
 

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,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top