Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! [modified] Pin
permutations12-Mar-10 15:06
permutations12-Mar-10 15:06 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 16:15
permutations12-Mar-10 16:15 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 11:04
permutations12-Mar-10 11:04 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
Chris Losinger12-Mar-10 11:14
professionalChris Losinger12-Mar-10 11:14 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 9:42
permutations12-Mar-10 9:42 
AnswerRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 11:52
permutations12-Mar-10 11:52 
AnswerRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations12-Mar-10 18:27
permutations12-Mar-10 18:27 
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations14-Mar-10 6:45
permutations14-Mar-10 6:45 
Actually, I think I did finally reproduce the crash, though in a slightly different form.

Using VC++ 6 on XP SP3, when I do a full rebuild, I get a link error at the very end: "fatal error LNK 1561: entry point must be defined". If I then do an incremental build it links fine and I'm able to run the program.

But this link error sounds suspiciously like the error my beta tester gets. When he runs the program, it fails on the program entry call to _tWinMain, and it's a read error. It's probably trying to read the program entry point and finding a null pointer.

I think that if I'm able to solve my link problem, I'll also solve the beta tester's crash problem. It's probably one of two things: either I set up my DLL incorrectly and that is causing confusion about entry points (I can't even remember how I did this - I'm going over it all again), or (more likely) I have a buffer overrun in one of the very first variables I set up in the program that is wiping out the program entry point. Buffer overruns are always such a joy to hunt for (not).
GeneralRe: crash in _tWinMain, crt0.c, XP SP3 only - HELP!! Pin
permutations14-Mar-10 9:35
permutations14-Mar-10 9:35 
QuestionThread and its custom window (!?) Pin
Russell'12-Mar-10 8:24
Russell'12-Mar-10 8:24 
AnswerRe: Thread and its custom window (!?) Pin
Eugen Podsypalnikov12-Mar-10 10:16
Eugen Podsypalnikov12-Mar-10 10:16 
AnswerRe: Thread and its custom window (!?) Pin
Code-o-mat12-Mar-10 10:21
Code-o-mat12-Mar-10 10:21 
QuestionOne good CListCtrlEx ? Where ? Pin
mesajflaviu12-Mar-10 7:16
mesajflaviu12-Mar-10 7:16 
QuestionRe: One good CListCtrlEx ? Where ? Pin
David Crow12-Mar-10 9:23
David Crow12-Mar-10 9:23 
AnswerRe: One good CListCtrlEx ? Where ? Pin
mesajflaviu13-Mar-10 7:40
mesajflaviu13-Mar-10 7:40 
QuestionRe: One good CListCtrlEx ? Where ? Pin
David Crow13-Mar-10 16:01
David Crow13-Mar-10 16:01 
AnswerRe: One good CListCtrlEx ? Where ? Pin
mesajflaviu14-Mar-10 8:10
mesajflaviu14-Mar-10 8:10 
AnswerRe: One good CListCtrlEx ? Where ? [modified] Pin
Rolf Kristensen14-Mar-10 14:33
Rolf Kristensen14-Mar-10 14:33 
GeneralRe: One good CListCtrlEx ? Where ? Pin
mesajflaviu15-Mar-10 9:00
mesajflaviu15-Mar-10 9:00 
GeneralRe: One good CListCtrlEx ? Where ? Pin
Rolf Kristensen15-Mar-10 21:08
Rolf Kristensen15-Mar-10 21:08 
QuestionC++ console application problem on Windows 7 Pin
corrosion19012-Mar-10 6:55
corrosion19012-Mar-10 6:55 
AnswerRe: C++ console application problem on Windows 7 Pin
LunaticFringe12-Mar-10 7:33
LunaticFringe12-Mar-10 7:33 
GeneralRe: C++ console application problem on Windows 7 Pin
corrosion19012-Mar-10 8:22
corrosion19012-Mar-10 8:22 
GeneralRe: C++ console application problem on Windows 7 Pin
LunaticFringe12-Mar-10 8:44
LunaticFringe12-Mar-10 8:44 
GeneralRe: C++ console application problem on Windows 7 Pin
corrosion19012-Mar-10 9:04
corrosion19012-Mar-10 9:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.