|
-
Jan 22nd, 2002, 04:29 PM
#1
Thread Starter
Frenzied Member
Errors On Program Exit
I started playing with my new copy of MSVC++ 7 with a program that I am working on. With MSVC++ 6 I was getting the following 2 errors/messages after everything had closed in the debug window:
The thread 0xFFF6B423 has exited with code -1 (0xFFFFFFFF).
The thread 0xFFF5B5BF has exited with code -1 (0xFFFFFFFF).
Now with MSVC++ 7 I get these errors on close:
First-chance exception at 0x77fa03bc in MyProj.exe: 0xC0000008: An invalid HANDLE was specified.
Unhandled exception at 0x77fa03bc in MyProj.exe: 0xC0000008: An invalid HANDLE was specified.
And the MSVC++ breaks at that point and I have to hit continue or break to move on.
They seem to be triggered by __crtExitProcess(0); Which is not done by me, it must be done by MSVC.
My first question is, are these two errors/messages the same? Second, are how can I fix or track down these?
Any help would be great.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jan 22nd, 2002, 06:03 PM
#2
Monday Morning Lunatic
The VC++6 ones are perfectly okay, they just mean that a thread exited with a specified return value (if its random, be worried ).
Have you tried running it through the debugger? What destructors do things with HANDLE values?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 22nd, 2002, 06:28 PM
#3
Thread Starter
Frenzied Member
Well I have stepped through my program and tried to track it down. I am pretty sure that the error is cause by some COM objects and/or some Novell objects that are using CoCreateInstance to hookup. Any idea how and I can track this down farther?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jan 22nd, 2002, 06:32 PM
#4
Monday Morning Lunatic
Never used COM (I avoid things like that) so I wouldn't know, sorry.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 22nd, 2002, 06:36 PM
#5
Thread Starter
Frenzied Member
AAAHHH parksie come on man your letting me down.
You have always been helpful in the past.....I guess my image of you has been shattered forever now.
Oh well I will keep trying. Hopefully I will get it sooner or later.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Jan 22nd, 2002, 06:40 PM
#6
Monday Morning Lunatic
COM doesn't fit into my ideas of system development - why bother when you've got all the object orientation features you need with C++? You can do RPC with CORBA which is much better suited to C++.
I think RPC is in Bjarne Stroustrup's presentation notes for possible additions to C++.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 22nd, 2002, 06:44 PM
#7
Thread Starter
Frenzied Member
Believe me if I could do it another way I would. But to my knowledge it is the only way to hookup to Novell's GroupWise. Unfortuanatly the Docs are awful and the examples are even worse. So I am stuck with this for now I guess.
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|