Click here to Skip to main content
14,869,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi...
i am getting this error while trying for generating report in msword format from my application..


Program:D:\4.5.1TwinMain\TWIN\TWin.exe
File:C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atlwin.h
Line:3004
Expression::IsWindow(m_hWnd)


how to get rid of this problem..
pls suggest...
thanks in advance
Posted

When this assertion is being thrown, it typically means that you're making a call into the MFC framework to a GUI element that doesn't exist yet (such as a window that hasn't been created yet). Look at the call stack to figure out what call you made and to what. If you post some of the code I can probably guide you into how to fix it.
   
thanks for input Albert...
i will see in callstack...
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900