Forum Home
Press F1
 
Thread ID: 55759 2005-03-19 01:53:00 C++ Problem Dannz (1668) Press F1
Post ID Timestamp Content User
335561 2005-03-19 01:53:00 I have a program in C++ that i downloaded. It has been compiled before but when i run it i get these messages

Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\oledlg.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\olepro32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\oleaut32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\winspool.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comdlg32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shell32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\apitrap.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\psapi.dll', no matching symbolic information found.
First-chance exception in MorseCode.exe (NTDLL.DLL): 0xC0000005: Access Violation.
Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found.
Failed to create toolbar
Warning: Window creation failed: GetLastError returns 0x00000578
Warning: failed to create CFrameWnd.
Warning: CDocTemplate couldn't create a frame.
Loaded 'C:\WINDOWS\system32\mslbui.dll', no matching symbolic information found.
The thread 0xE30 has exited with code 0 (0x0).
The program 'C:\Documents and Settings\Daniel Faulknor\Desktop\Science Fair\Code\MorseCo0\MorseCode.exe' has exited with code 0 (0x0).


And then i get "Failed to create empty Document"

Any Ideas?
Dannz (1668)
335562 2005-03-19 02:34:00 Well yes, in C and C++ just about anything will compile. :D

But to run in Windows, it has to be able to find the Windows runtime routines in the shared libraries.

That is handled by the various #included .h files which give the prototypes of the MS procedures.

I suspect that the programme was compiled with the wrong .h files for the OS version you have. ;)
Graham L (2)
335563 2005-03-19 02:39:00 What .h files do you need for Xp? this is what is included
StdAfx.h, StdAfx.cpp
Dannz (1668)
335564 2005-03-19 02:42:00 I don't know. ;)

It depends on the compiler you have. Of course, if you have a free version of a commercial compiler it might not produce code for XP. (They only give away versions which are superseded).
Graham L (2)
335565 2005-03-19 02:42:00 I had a look at the Scitoys message board & you are not the only one having problems with that Morse sending prog. Seems some of the libraries might not have been available to match the #include statement(s) but that's just a guess.

Will investigate further & hopefully get back
Valerie (4740)
335566 2005-03-19 02:49:00 Thanks Dannz (1668)
335567 2005-03-19 03:23:00 Here's another cw prog which comes very highly recommended. I haven't tried it yet but will do so shortly in Win.98se

www.dxsoft.com

Good luck
Valerie (4740)
335568 2005-03-19 03:24:00 Thanks
But i would like an open source program
Dannz (1668)
335569 2005-03-19 22:32:00 Okay on the open source requirement.

Lots of info on stdafx.h on www but of course stdafx.h calls lots of other libs such as stdio.h so if the others are not available in your compiler default directory then that will also generate run-time errors.

Good luck
Valerie (4740)
335570 2005-03-21 04:42:00 Could you clarifiy the middle paragraph please i dont quite get it Dannz (1668)
1 2