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 Tech Support » bug report Collapse All
Subject Author Date
Rado Manzela Mar 7, 2007 - 9:46 AM

It seems there is some bug in CExtGridCellNumber / variant.
Assigning 64 bit value (for example _VariantAssign((__int64)val)) is not working on Windows 98.
(In win XP it works). I’ve tried release/statical exe in win 98.
Can you please check this ?
Thank you

P.S.
I guess there is also typo in the library - compilation is printing MCBS Selected instead of MBCS ;)

Rado Manzela Mar 12, 2007 - 12:58 PM

Thank you for response.
I apologize for bad report, the "MCBS" mistake is in another library I’m using I’ve thought it is your library :)

Technical Support Mar 9, 2007 - 10:44 AM

In grid cells, we use the VariantCopy() Win32 API provided by the OleAut32.DLL module. This API works correctly with 64-bit integers starting from Windows XP only. The only way to port 64-bit integers from one variant data structure to other one independently from OS version is to do this manually or use the CExtGridCell::stat_VariantSerializeData() static method to serialize/de-serialize variant data. Of course, we could implement a CExtGridCell::stat_VariantCopy() static method and use it in Prof-UIS but this would not be an ideal solution. We noticed that people often use the classes like COleVariant in MFC and CComVariant in ATL, but in both of them, of course, VariantCopy() is used.

Please let us know more details about MCBS because we failed to find it in the current version.