|
-
May 16th, 2012, 08:12 PM
#1
[RESOLVED] Print preview ASSERT problem
Hi to all
Maybe this is a stupid question, but I looked around in internet and searched this forum for this problem. I didn't found anything free and useful
The fact is, I have an application SDI with a view that produces a custom report. When I go for print preview, I got an ASSERT from line 562 in afxwin1.inl. The code that Asserts is
Code:
_AFXWIN_INLINE HGDIOBJ CDC::SelectObject(HGDIOBJ hObject) // Safe for NULL handles
{ ASSERT(m_hDC == m_hAttribDC); // ASSERT a simple CDC object
return (hObject != NULL) ? ::SelectObject(m_hDC, hObject) : NULL; }
The app continues working after hitting the ignore button, but I think I shoul solve this fact; i suspect doing something wrong.
Thanks in advance for the help
- Buzzyous -
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
|