Posted: Wed Mar 12, 2003 9:09 am
Restored from previous forum. Originally posted by StSchnell.
Hello community, hello Fred,
today I am working on a project with access to WinAPI. I coded a program and compiled it on my home office computer (Win95). Then I run the program in the office (computer with Win2000).
The program calls the debugger, to test some functions of WinAPI. After the program starts, I can not see the source code in the debug window, but the debugger works and I am only "blind"; it is a nice white window. If I start the same program on Win95 it works very well. So, I take the source code from the Win95 to Win2000 and compile it again (only for test), then I compare the binary code of the execute files, and, I can not believe it, found 29 differences.
2 differences are from my arguments, so it is allright. But I see a lot of like this, e. g.:
[00][D7][00]GetCurrentThreadID in Win2000 program
[FF][D7][00]GetCurrentThreadID in Win95 program
There are 25 differences only in [00] on Win2000 to [FF] or [F0] or [CC] or whatever in Win95 program.
What can I do to create full binary compatible programs for each windows plattform which works allright?
Thanks for tips
Bye
Stefan
Hello community, hello Fred,
today I am working on a project with access to WinAPI. I coded a program and compiled it on my home office computer (Win95). Then I run the program in the office (computer with Win2000).
The program calls the debugger, to test some functions of WinAPI. After the program starts, I can not see the source code in the debug window, but the debugger works and I am only "blind"; it is a nice white window. If I start the same program on Win95 it works very well. So, I take the source code from the Win95 to Win2000 and compile it again (only for test), then I compare the binary code of the execute files, and, I can not believe it, found 29 differences.
2 differences are from my arguments, so it is allright. But I see a lot of like this, e. g.:
[00][D7][00]GetCurrentThreadID in Win2000 program
[FF][D7][00]GetCurrentThreadID in Win95 program
There are 25 differences only in [00] on Win2000 to [FF] or [F0] or [CC] or whatever in Win95 program.
What can I do to create full binary compatible programs for each windows plattform which works allright?
Thanks for tips
Bye
Stefan