|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Stefan Wachsmann
|
Oct 5, 2003 - 3:19 PM
|
Hi,
is it possible, that your lib asserts, if you change the user or if the ScreenSaver is comming up ? fortunately only the Debug-Versions ;-)
this is from the output:
Second Chance Assertion Failed: File \Programme\FOSS Software Inc\Prof-UIS\Src\ExtMenuControlBar.cpp, Line 3349 Unbehandelte Ausnahme bei 0x77f65a58 in DRAWCLI-md.exe: Benutzerhaltepunkt. Unbehandelte Ausnahme bei 0x005c97ca (ProfUIS223md.dll) in DRAWCLI-md.exe: Benutzerhaltepunkt.
great library over all
best regards, stefan.
|
|
Sergiy Lavrynenko
|
Oct 6, 2003 - 12:50 AM
|
Dear Stefan,
The line 3349 in the ExtMenuCountrolBar.cpp file is VERIFY( ::GetCursorPos(&ptCursor) ); . Normally it should not display assertion messages. I tried to reproduce this assertion with Windows 2000 Professional and Windows XP Professional and did not see any assertions. Please let me know details about your OS and Visual C++ versions with Service Pack numbers.
Best regards, Sergiy.
|
|
Stefan Wachsmann
|
Oct 6, 2003 - 2:21 PM
|
Dear Sergiy,
Windows XP 5.1.2600 SP 1 Build 2600 Visual C++ 7.0.9514
No special tools installed, only some standard-applications (like Office...), only themes and screensavers which are installed with the system ;-)
I could’t figure out, what evil will come up if the VERIFY asserts !
Normaly there is no Problem with VERIFYs, because they asserts only in debug-versions ;-)
I think it is not worth to spend much time for this problem, my main interest is the reason of this VERIFY !
Kind regards, Stefan.
|
|
Sergiy Lavrynenko
|
Oct 9, 2003 - 1:56 AM
|
Dear Stefan,
Sometimes ASSERT() and VERIFY() may have no reason at all. For example, GetClientRect() is defined in the Win32 API as:
BOOL GetClientRect( HWND hWnd, LPRECT lpRect);
In CWnd you can find appropriate method.
void GetClientRect( LPRECT lpRect ) const;
I don’t know whether should I use VERIFY() with GetClientRect() of Win32 API even if I know exactly that HWND is valid window handle :-)
Best regards, Sergiy.
|
|