Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » CExtGridCellCurrency seems to include a bug. Collapse All
Subject Author Date
tera t Nov 2, 2006 - 12:59 AM

Hello.

I start ProfUIS_Controls-md.exe.
I display Grid.

A program falls.

void CExtGridCellCurrency::TextGet( CExtSafeString & strCopy ) const
{
:
:
:

>>> VERIFY(
g_ResourceManager->GetCurrencyFormat(
0,
sNumberText,
&fmt,
strCopy.GetBuffer( 100 ),
100
) != 0
);

Technical Support Nov 2, 2006 - 10:36 AM

We have never encountered ASSERT at this method before. Would you help us find out what’s wrong? We need more info about the error. Please modify the CExtGridCellCurrency::TextGet method and call GetLastError. The GetLastError method may return one of the following error codes:

ERROR_INSUFFICIENT_BUFFER 
ERROR_INVALID_FLAGS 
ERROR_INVALID_PARAMETER 
Please let us know what the return code is.