problem link dll and lib files from the SDK.

Issues related to VMProtect
Post Reply
aug828
Posts: 1
Joined: Tue May 10, 2011 10:43 am

problem link dll and lib files from the SDK.

Post by aug828 »

i use dev c++ 4.9 to compile.
had problems link dll and lib files from the SDK.
error message is:
[Linker error] undefined reference to `_imp__VMProtectSetSerialNumber@4'

what should i do to correctly link the SDK?
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: problem link dll and lib files from the SDK.

Post by Admin »

You need convert VMProtectSDK32.lib to MinGW compatible "*.a" file via "reimp" from MinGW Utils and add this file into Project Options->Parameters->Linker.

P.S. Converted file is attached.
Attachments
libVMProtectSDK32.zip
(1.57 KiB) Downloaded 788 times
vkjr
Posts: 13
Joined: Tue Sep 25, 2012 5:15 pm

Re: problem link dll and lib files from the SDK.

Post by vkjr »

А можно сгенерировать файл libVMProtectSDK32.a для последней версии VMProtect? Не могу найти reimp :( (и его заодно, если не сложно).
Спасибо.

п.с. VMProtect приобретен вчера, использую в проекте с qt и mingw.
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: problem link dll and lib files from the SDK.

Post by Admin »

2 vkjr:
А чем не устраивает уже готовый файл?
vkjr
Posts: 13
Joined: Tue Sep 25, 2012 5:15 pm

Re: problem link dll and lib files from the SDK.

Post by vkjr »

Думал, что эта версия файла уже неактуальна.
Post Reply