Re: error R6031
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sat, 28 Jun 2008 10:45:38 -0400
Which version of VS?
When you entered the debugger, what did the call stack say? Who was trying to do the
initialization?
joe
On Fri, 27 Jun 2008 23:23:00 -0700, Peter <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
My MFC app uses load-time dynamic linking with my dll and this dll usesJoseph M. Newcomer [MVP]
run-time dynamic linking to my another dll.
/clr compiler switch is not used in app neither in dlls.
Both dlls has DllMain() function wrapped in:
#ifdef _MANAGED
#pragma managed(push, off)
#endif
DllMain() {...}
#ifdef _MANAGED
#pragma managed(pop)
#endif
When MFC app is exited there appears error message:
RunTime Error !
...path to app.exe
R6031
- Attempt to initialize the CRT more than once.
This indicates bug in your application.
Any ideas ?
Peter
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: error R6031
- From: Peter
- Re: error R6031
- Prev by Date: Re: CEditView app
- Next by Date: Re: Fragmented memory compaction ???
- Previous by thread: Spy++ under Vista
- Next by thread: Re: error R6031
- Index(es):
Relevant Pages
|
Loading