473,395 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Crash on exiting managed MFC application

Al
I have an MFC based application which uses remoting using VS05. On exiting
the application, I intermittently get a crash at line 195 in dllmodul.cpp
(AFX_MANAGE_STATE(&afxModuleState);)

The exception I see in the IDE is "Unhandled exception at 0x7c81eb33 in
MgmtApp.exe: 0xC0020001: The string binding is invalid." where MgmtApp.exe is
my applcation.

It happens both in the client and server applications intermittently.

Anyone have any ideas what could be wrong and what is the solution?

Thanks,
Al.
Nov 23 '05 #1
5 2595
Read this...

http://groups.google.es/group/micros...5fa664306b618c
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
Nov 24 '05 #2
In Visual Studio 2005 the code has been change to...

#ifdef _AFXDLL

AFX_MANAGE_STATE(&afxModuleState);

#endif

Note that thecall ot AFX_MANAGE_STATE is inside the prepocesor's check
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org

Nov 24 '05 #3
Al
I am using VS05 and am still seeing this crash. Is there any workaround for it?

Thanks,
Al.

"Rodrigo Corral [MVP]" wrote:
In Visual Studio 2005 the code has been change to...

#ifdef _AFXDLL

AFX_MANAGE_STATE(&afxModuleState);

#endif

Note that thecall ot AFX_MANAGE_STATE is inside the prepocesor's check
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org

Nov 28 '05 #4
I don´t know about a workarournd, I´m sorry...
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
Nov 28 '05 #5
Al
I would like to confirm that you think this issue should not be happening
with VS05, is that correct?

Thanks,
Al.

"Rodrigo Corral [MVP]" wrote:
I don´t know about a workarournd, I´m sorry...
--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org

Nov 28 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wibo | last post by:
Hello, we have a large application, that gave weird behavior. On W2K we're suffering from instable program ececution from time to time, untill now we managed to workaround these problems. On...
1
by: tony | last post by:
hi. i have net application that is compose of dll in vb.net and c managed code , and unmanaged. the application crash after 8-9 hours of running. its crash without any message box of...
0
by: roni | last post by:
hi. i have application written in vb.net + managed c++ dll that call also to unmanaged c++ function. the application crash. i open the dump file of the crash with WinDbg and that's is the...
1
by: tony | last post by:
hi. my NET application is using mixed c++ dll ( managed and unmanaged) in that dll , im calling api's of unamanged dll. my application crash with no exception or warning. its hard to...
6
by: pradeep_TP | last post by:
Hi all, I am using IIS 5.0 and this question is regarding working of ASP.net worker process. I have only one web application right now on my web server. This means that only one AppDomain will...
1
by: s_schutte | last post by:
Here's my situation. I have an unmanaged C++ project that I am using to interface with the Lotus Notes C API. I then have a managed C++ project in the same solution that functions as a "C++...
9
by: Droopy | last post by:
Hi, I am running an application on 74 PC (1 instance on each PC). This morning, 2 applications crashes. There were neither popup windows signaling it nor dump file created. I only find in the...
2
by: kevinding | last post by:
Hi All, We meet an evil condition for our project. Our project has 3 layers. A C# layer to do some business logic, and Managed C++ layer translate managed values to native ones or vice...
1
by: Alex | last post by:
Hello everybody, I've been working for days on a "twilight zone" bug and I can't make any sense of it. This is in an application that was developped on XP and that was modified to handle Vista....
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.