Output from release version of My code gives me a warning??

I wrote a small app to do some reading from my serial port which is sent from another device.  I was using it in debug mode until I thought it was OK to use until it needed more functionality.  In debug mode it never showed me any warnings, but when I built it for the first time in release mode it gave me the following output:

Loaded 'C:\Program Files\Microsoft Visual Studio\MyProjects\MP830 Serial Port Test2\Release\MP830 Serial Port Test2.exe', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLE32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\KERNEL32.DLL', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\SYSTEM\MSVCRT.DLL'
Loaded symbols for 'C:\WINDOWS\SYSTEM\MFC42.DLL'
Loaded 'C:\WINDOWS\SYSTEM\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\MSCOMM32.OCX', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLEPRO32.DLL', no matching symbolic information found.
The thread 0xFFFAFF75 has exited with code 1 (0x1).
The thread 0xFFFAFD41 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAFB2D has exited with code 1 (0x1).
The thread 0xFFFAF9F9 has exited with code 1 (0x1).
The thread 0xFFFAC7C5 has exited with code 1 (0x1).
The thread 0xFFFAC591 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAC27D has exited with code 1 (0x1).
The thread 0xFFFAC049 has exited with code 1 (0x1).
The thread 0xFFFACE15 has exited with code 1 (0x1).
The thread 0xFFFACCE1 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFACACD has exited with code 1 (0x1).
The thread 0xFFFAC899 has exited with code 1 (0x1).
The thread 0xFFFAD565 has exited with code 1 (0x1).
The thread 0xFFFAD331 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAD11D has exited with code 1 (0x1).
The thread 0xFFFADFE9 has exited with code 1 (0x1).
The thread 0xFFFADDB5 has exited with code 1 (0x1).
The thread 0xFFFADB81 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAD86D has exited with code 1 (0x1).
The thread 0xFFF92639 has exited with code 1 (0x1).
The thread 0xFFF92405 has exited with code 1 (0x1).
The thread 0xFFF922D1 has exited with code 1 (0x1).
The thread 0xFFFAE6A1 has exited with code 0 (0x0).
The program 'C:\Program Files\Microsoft Visual Studio\MyProjects\MP830 Serial Port Test2\Release\MP830 Serial Port Test2.exe' has exited with code 0 (0x0).

What does it mean by "no matching symbolic information found"?

The thread 0xFFFAFF75 has exited with code 1 (0x1).  What does this mean?

What does it mean with First-chance exception in XXX??

Thanks in advance for your responses.
Cheers
Cameron
CameronPAsked:
Who is Participating?
 
BinderConnect With a Mentor Commented:
>What does it mean by "no matching symbolic information found"?
   The dll do not have symbolic information for debugging. This means
you cannot go into the code of this dll while in debug mode.


>The thread 0xFFFAFF75 has exited with code 1 (0x1).  What does this >mean?
  The thread terminates safely with the code 1. The meaning of the exit
code depends on each thread.

>What does it mean with First-chance exception in XXX??
  The debugger sees an exception before the program (first). If the program
don´t handle the exception properly you have a (second) exception and
the program will probably crash. So, if you have just first exceptions
this means that your program are dealing with them succesfuly.
0
 
ZoppoCommented:
Hi CameronP,

'no matching symbolic information found': debug info for the given file could not be loaded because it's either not found or of a different version.

'thread xxxx has exited ...': a thread has terminated and returned the given value.

'first chance exception ...' means that somewhere deep in the Win32 API or MFC or elsewhere an exception of any kind occured and was handled by the responsible exception handlers correctly. See MSDN article ID: Q105675 for more info...

hope that helps,

ZOPPO
0
 
CameronPAuthor Commented:
Why is it searching for debug info if I'm building a release version??

What does it mean if a thread has existed with the value?  Do I have worry about it?

Does this mean I can ignore the exception?

Thanks for your help.

Cheers
Cameron
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
BinderCommented:
Binder changed the proposed answer to a comment
0
 
nietodCommented:
>> Why is it searching for debug info if I'm
>> building a release version??
If you run the code under the debugger, it is going to search for debug information.  i.e. if you run under the debugger, it is going to try to debug.  Whetheor or not it succeeds in finding debug information depends on whethor or not you compiled a debug or release version, but it is going to try in any case.  (And you can include debug information in a release version...)

>> Does this mean I can ignore the exception?
You can safely ignore a first-chance exception.
0
 
ZoppoCommented:
>What does it mean if a thread has existed with the value?  Do I have worry about it?
No, except you know that a thread should terminate with a different value if there's no error. A thread is nothing else but a function which runs independant from other threads in a process. When the thread's function return the thread terminates.

ZOPPO
0
 
CameronPAuthor Commented:
Zoppo & Binder, who should I give the points to now.  Zoppo answered first and he's answer was correct even though he made it a comment.  Binder gave me the detail I wanted.

What do you say?  I happy.  I learned something today.  Thanks guys.

Cheers
Cameron
0
 
ZoppoCommented:
And don't forget nietod...


never mind, for my opinion you can give the points to Binder, he has the fewest points of us three and will be happy too             :)
0
 
CameronPAuthor Commented:
Sorry Nietod.  Thanks all.

Its your Binder!!

Cheers
Cameron
0
 
CameronPAuthor Commented:
Sorry Nietod.  Thanks all.

Its yours Binder!!  Binder can you just answer again so that I can award you the points, cause I get an error if I use the Accept comment as Answer buttons.

Cheers
Cameron
0
 
ZoppoCommented:
You've already accepted Binder's answer ...
0
 
nietodCommented:
>> Sorry Nietod.
quite allright.
0
 
BinderCommented:
Thanks all,

    This is my first week answering questions. It´s good
to keep on focus.
0
All Courses

From novice to tech pro — start learning today.