16 bit exe is giving general protection fault

16 bit exe is giving general protection fault

Post by jbijarg » Fri, 10 Oct 2003 20:21:52


hi

I want to install the network device driver programmatically on windows98.

for that i had written an 16 bit application using ipdetect sample
provided in 98ddk.

using the 16 bit compiler provided in 2000 ddk, i am able to compile it

but when i execute the exe i get general protection fault.

i tried writing a test application with only main function and no statement in that.

even then the problem persists.

can anybody help.

details: General protection fault in module XXXXX.exe at 0001:00000139.
Registers:
EAX=00000001 CS=2f67 EIP=00000139 EFLGS=00000246
EBX=0000000b SS=2f5f ESP=00002974 EBP=80630000
ECX=00000000 DS=2f5f ESI=00000000 FS=0000
EDX=80622f67 ES=2f47 EDI=00002f5e GS=0000
Bytes at CS:EIP:
cb 8c d8 90 45 55 8b ec le 8e d8 b8 01 00 83 ed
stack dump:
00000000 00000000 00000000 298c2981 2980000a
000029bc 29bc2981 00000000 29800004 2d740000
00000000 00000000 00000000 309a0020 34370000
00000147



Thanks in Advance
jyotsna
 
 
 

16 bit exe is giving general protection fault

Post by my_google_ » Thu, 16 Oct 2003 04:33:51

jyotsna,
I am also working on IPDETECT sample. I am not sure how you are
compiling using Windows 2000 DDK. What you need is Windows 98 DDK and
MSVC 1.52 (available for MSDN users). Using these two, I have compiled
this app under WinXP (and I have not seen this GPF problem).

-Ganaka

 
 
 

16 bit exe is giving general protection fault

Post by jbijarg » Sat, 18 Oct 2003 19:22:58

thanks for reply.

microsoft provides 16 bit compilers in 2000 ddk in winme folder for
creating 16bit exes and dlls.

-jyotsna