asm

by

 

I have no win7 but your exe works on xp, at least I could run it and navigate in main menu, have no cd at the moment so can`t run race and test it.

using test command is a small trick of asm, works little faster then cmp. other similar trick is xor eax,eax works same as mov eax,0 but also little faster. anyway test and cmp change flag/s;
jz, jnz, jne, je, jl, jb and other jumps just check flag/s and then jump (or not) to other part of code. 0048994E adress in your exe is an offset, which jnz folows if ZF (zero flag) is equal to 0 (jnz totaly same as jne, machine code - 75).

If you`ll check out msdn about GetTempFileName there will be info about return value, same for this function from win98 till win7, as suppose to be. 0 means error, other values - success. According C lang syntax it will be something like
if(!GetTempFileName(....))
MessageBox(....,"error");

why this error ocurred - suppose to be no write acess permition on your hdd in powerslide folder, or some prog blocks it, or something else. who knows, I`ve heard lots of wonderful storys about bugs appearing.

happy sliding to all good old sliders!



Posted on Jan 13, 2010, 6:55 AM
from IP address 195.19.158.25


Respond to this message

Goto Forum Home
Responses

Find more forums on Auto RacingCreate your own forum at Network54
 Copyright © 1999-2013 Network54. All rights reserved.   Terms of Use   Privacy Statement