View Full Version : Stupid win (or maybe i am :)
stanks
January 7th, 2001, 13:00
Hi!
I have one "big" problem. The proggy that i compiled with masm (hutch) under Win2000, doesn't work under Win95 (???). I even try to compile it under Win95 and i did it, but when i try to run it win says "This program has performed an illegal...bla bla". What to do?
Thx in advance
Greetz
Muad'Dib
January 7th, 2001, 14:47
Maybe someone can help if you include the actual error message and maybe some of the code. If you cant figure out what code to put, disassemble the prog and go to the address in the error text...
stanks
January 7th, 2001, 14:50
Hi Muad'Dib
If you think about error on compiling there is no error and no warning. In windows classic error This program has performed ..."
Greetz
carpathia
January 7th, 2001, 18:17
Youve tried using a debugging over it on w95 ?
stanks
January 8th, 2001, 01:00
Hi Carpathia!
I didn't use debugger yet. I will. BTW the source is the same (no change)
Greetz
stanks
January 8th, 2001, 11:45
This is happening in debugger:
xxxx:xxxxxxxx Call SetWindowTextA
xxxx:xxxxxxxx JMP yyyyyyyy
...
...
yyyy:yyyyyyyy xor eax,eax
yyyy:yyyyyyyy leave
yyyy:yyyyyyyy ret 10
After this ret 10 we are here:
Kernel32!_FreqAsm+xxxx
xxxx:xxxxxxxx mov esp,edi
xxxx:xxxxxxxx xor ecx,ecx
xxxx:xxxxxxxx mov gs,ecx
xxxx:xxxxxxxx pop edi --> when i step over this instruction (SIce), Win is tell me that this program has performed illegal bla bla...
stanks
January 8th, 2001, 15:02
BTW when i nop this pops (2) in kernel... everything works fine
stanks
January 9th, 2001, 12:04
Hi
Me again. I solve the problem. I only have to add before push edi, and after, pop edi.
greetz
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.