Hello!
I am facing a very peculiar problem. I am trying to protect my app developed in VB6 (Native).
But every time the protected app crashes with either overflow error or some fault.
I have attached a sample app. it is very simple, hardly 10 lines of VB6 Code.
I have also attached the exe, the map file & enigma project file.
There are only two functions. Whether you vitualize both or either, the app will crash.
The problem with this sample could be solved by changing the datatype of variable A from Long to float or Double.
However it might not be feasible to change the datatype in my real app.
Please advise. It is urgent and i am ready to buy.
Thanks,
Feroz Ahmed
Overflow error or simply crash
Re: Overflow error or simply crash
Hi Feroz, going to check it out, please refer to this thread, I will update it when the problem will be solved.
Re: Overflow error or simply crash
Just reviewed your file, there is really some limitation that does not allow to virtualize Main() function through map file.
This error is related to only this particular application, and it probably will not appear with the normal application.
Anyway, in your case I advise you to use VM Makers instead of selecting functions from map file. VM Makers provide the same functionality, but if you use markers, you may not care that .exe and .map file has to match. I.e. VM Markers are more simpler to use.
There is description of how to use VM Makers:
http://enigmaprotector.com/en/help/manu ... 817f85021c
For Visual Basic, simply around the code you want to virtualize with the:
But there are few notes also:
1. Do not use Exit Sub function inside VM Marker
2. Do not define variables insize VM Markers, varibles definition should be placed outside of VM Marker.
PS: we wil try to fix the problem with current application in next version anyway.
This error is related to only this particular application, and it probably will not appear with the normal application.
Anyway, in your case I advise you to use VM Makers instead of selecting functions from map file. VM Makers provide the same functionality, but if you use markers, you may not care that .exe and .map file has to match. I.e. VM Markers are more simpler to use.
There is description of how to use VM Makers:
http://enigmaprotector.com/en/help/manu ... 817f85021c
For Visual Basic, simply around the code you want to virtualize with the:
Code: Select all
Call VarPtr("VM_BEGIN")
' Your code
Call VarPtr("VM_END")
1. Do not use Exit Sub function inside VM Marker
2. Do not define variables insize VM Markers, varibles definition should be placed outside of VM Marker.
PS: we wil try to fix the problem with current application in next version anyway.
