problems with exe file: “invalid win32 application” - C++
11.01.2009, 21:16. Просмотров 609. Ответов 1
I have a problem. I ‘m working on project. It’s purpose to generate exe-files, crowded with resources – html, pictures, etc. So I implemted it on win2k using UpsdateResource API but then I was told I have to support win98 in this proj. So I used Erik Kalen’s code, posted on Jun 22, 2001 in Win9x, Environment section, on codeguru and I made it in win98. I was able to generate exe-file. This exe-file was running fine on win98 but … when I tried to run on win2k I got “invalid win32 application”. What have I done wrong? Why this exe-file run fine on win98 if it’s an invalid win32 application? I thought win98 and win2k have same exe-file format win32/pe exe-file format? I’m using simple function sequence: BeginUpdateResource, UpdateResource, EndUpdateResource. On win2k – API calls, on win98 platform – Erik Kalen’s(I packed it in dll).
Please help me. Thanks in advance.