Memory Protection error
Memory Protection error
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
released EXE was just a simple "helloworld" containing the QT dlls in its directory
Re: Memory Protection error
Please send us a test example (oiriginal EXE+MAP+VMP+Qt files) that shows this problem.
Re: Memory Protection error
thanks~Admin wrote:Please send us a test example (oiriginal EXE+MAP+VMP+Qt files) that shows this problem.
//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/forum/viewtopic.php?f=4&t=1685
just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP
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~
Re: Memory Protection error
You are right. MinGW's runtime changes these segments, so you have to exclude them from memory protection.just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMP
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.the "file" function - can it include a file/dll which isn't in the same path with Protected exe? like .\platforms\qwindows.dll ?
Only Ultimate edition has this feature.and does the Professional license contain "file" function?
Re: Memory Protection error
Thanks~Admin wrote:You are right. MinGW's runtime changes these segments? so you have to exclude their from memory protection.just turned off MemoryProtection for .rdata and .eh_fram maybe the loading of dlls were refused by VMPYou can add a folder "platforms" and add "qwindows.dll" in this folder. Anyway I'm not sure that Qt will work with virtualized files.the "file" function - can it include a file/dll which isn't in the same path with Protected exe? like .\platforms\qwindows.dll ?Only Ultimate edition has this feature.and does the Professional license contain "file" function?