Click here to Skip to main content
11,922,026 members (57,496 online)
Rate this:
Please Sign up or sign in to vote.
See more: VC6 WinXP C++ Windows
i have used CClrbutton fucntionality in my project and works fine in Xp OS. But problem in win98. error occurs when i run executable file. Compiler is vc6.0

APPLICATION caused an invalid page fault in module MFC42D.dll at 0167:5f4816ce
Registers :
Posted 6-Aug-12 20:38pm
Edited 8-Aug-12 0:19am
Richard MacCutchan 7-Aug-12 4:19am
I do not think you will find much help with Windows 98 any more. It has been dead a long time.
Wes Aday 7-Aug-12 9:50am
Additionally, "error occurs when i run executable file" means absolutely nothing.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I guess your are linking with dlls which arent on W98. Use dependency Walker and open the exe on the w98-PC.

you really shouldnt focus on W98 - it is so outdated. Also XP....
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

The MFC dll that come with windows 98 are not enough to use your apps.

Redistribute the DLL's by using static linking and cross fingers.

What Richard, Wes and KarstenK have told you is all correct.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 568
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 8 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100