P
P
Pavel K2018-02-08 00:57:13
Qt
Pavel K, 2018-02-08 00:57:13

How to connect third party dll (generate *.lib file) to Qt project?

Greetings!
There is a dll and a header, I want to connect to the project.
Since mingw won't eat it directly, I'm trying to generate a *.lib file, for this I first make a *.def file via objdump from the output, I take everything from the "[Ordinal/Name Pointer] Table", removing line numbers and extra spaces, it turns out like this So:

LIBRARY mydll
EXPORTS
_AbortTransaction
_AddMerchantCheque
..........

Then I generate a lib file from this: dlltool --del mydll.def --dllname mydll.dll --output-lib mydll.lib, but in the end the *.lib file is empty. Tell me, please, what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question