The issue of including DLL when compilation

Issues related to VMProtect
guoxinpeng
Posts: 3
Joined: Tue Aug 01, 2017 6:47 pm

The issue of including DLL when compilation

Postby guoxinpeng » Tue Aug 01, 2017 6:59 pm

I have just bought VMProtect, and when I tried add DLLs in the "Files" section, I found that if the DLL file is at the same folder as exe, it will load normally.However, when the DLL is at the different folder than exe, such as /plugin/access/libhttp.dll , it failed to load the DLL when starting the exe after deleting the DLL file no matter that I select "no" or "Load at Start". I want to know whether it is my fault to use the function?

Admin
Site Admin
Posts: 1259
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: The issue of including DLL when compilation

Postby Admin » Wed Aug 02, 2017 4:40 am

For loading the DLL from "/plugin/access" you have to add folders "plugin" and "access" in the "Files"

guoxinpeng
Posts: 3
Joined: Tue Aug 01, 2017 6:47 pm

Re: The issue of including DLL when compilation

Postby guoxinpeng » Wed Aug 02, 2017 12:27 pm

Thanks for your reply. I have created folder plugin and access then insert the DLL, but still cannot load by exe.
After further checking, I found the DLL file /plugin/access/libhttp_access.dll is loaded by other DLL rather than being loaded by exe directly.
I have tried also inset the DLL file that load the /plugin/access/libhttp_access.dll in the "Files" section, but still no effect.
Could you advise what can I do to combine the DLL in this situation?
Thanks in advance.

Admin
Site Admin
Posts: 1259
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: The issue of including DLL when compilation

Postby Admin » Wed Aug 02, 2017 12:34 pm

Could you send us a test example (originel EXE+VMP_DLL files) that shows your problem?

guoxinpeng
Posts: 3
Joined: Tue Aug 01, 2017 6:47 pm

Re: The issue of including DLL when compilation

Postby guoxinpeng » Fri Aug 04, 2017 1:10 pm

Hello,
My project is based on VLC, and I have found the same issue on the official VLC Windows version.
The download link is as below:
http://mirror.amaze.com.au/videolan/vlc ... -win32.exe

The DLL file is located at \plugins\access\libhttp_plugin.dll

When you play a media through http, the DLL will be loaded. If I protect the vlc.exe through VMProtect and add DLL file libhttp_plugin.dll into vlc.exe, after deleting the dll, vlc failed to open a http media.

Here's a demo for http playback:
http://devimages.apple.com/iphone/sampl ... opall.m3u8


Return to “Technical questions”

Who is online

Users browsing this forum: No registered users and 2 guests