Memory Protection error

:smiley: :smiley:
Hi,i’m a demo user,who’s thinking about buying a license.
I met a problem these days,when protecting QT released EXEs, v2.1 worked correctly,but as i turned on the “Memory Protection” switch in v3.0.6,the protected file would crash after executing like this:


as i tuned it off ,everything went well :smiley:

released EXE was just a simple “helloworld” containing the QT dlls in its directory :mrgreen:

Please send us a test example (oiriginal EXE+MAP+VMP+Qt files) that shows this problem.

thanks~ :slight_smile:
//demo protected file cannot be executed on other computers…// so i just give the original file.

i did what this post said,and problems were solved: http://www.vmpsoft.com/forumhttps://forum.vmpsoft.com/viewtopic.php?f=4&t=1685
just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP :slight_smile:

there comes some more questions:)…
the “file” function - can it include a file/dll which isn’t in the same path with Protected exe? like .\platforms\qwindows.dll ?
and does the Professional license contain “file” function?

test file was sent to info@vmpsoft.com

best regards~ :smiley:

just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP > :slight_smile:

You are right. MinGW’s runtime changes these segments, so you have to exclude them from memory protection.

the “file” function - can it include a file/dll which isn’t in the same path with Protected exe? like .\platforms\qwindows.dll ?

You can add a folder “platforms” and add “qwindows.dll” in this folder. Anyway I’m not sure that Qt will work with virtualized files.

and does the Professional license contain “file” function?

Only Ultimate edition has this feature.

Thanks~ :smiley: