[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Assertation on UpdateData in DLL???

Posted on 1997-07-13
1
Medium Priority
?
369 Views
Last Modified: 2013-11-20
I have a regular MFC DLL which brings up a modeless
dialog. Everthing runs great until I load the member
variables and do a UpdataData(FALSE). I get an ASSERT
in wincore.cpp, line 856. It mention somehting about
multithreaded DLL sharing CWnd objects. I am not
exlicitly passing any object to different threads as
far as I know. Any ideas?
0
Comment
Question by:rocco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 300 total points
ID: 1302558
You need to call
AFX_MANAGE_STATE(AfxGetStaticModuleState( ));

For more information on module states and MFC, see the article Managing the State Data of MFC Modules in Programming with MFC and Technical Note 58, "MFC Module State Implementation," in MFC Technical Notes.

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question