Can wxVariant be used as a direct ("plugin") replacement for
COleVariant?
Dave Bee
davebeeus at yahoo.com
Thu Nov 22 07:49:17 PST 2007
Everything that I read so far (including wxWidgets
source code) suggests that the answer is 'Yes!'.
I even found a nice article that lists wxWidgets
versions of MFC classes:
http://www.codeproject.com/library/wxwidgets.asp
However, before going ahead and doing a blind "search
& replace", I thought perhaps someone more experienced
know about a caveat or a fundamental difference that I
should be aware of when doing this porting.
For example, I know that COleVariant is derived from
win32's tagVARIANT and that internally it uses the
Win32 API function ::VariantCopy(). However,
wxWidgets, for portability reasons uses neither
tagVARIANT nor Win32's ::VariantCopy().
In short, I am simply interested to know whether
wxVariant was indeed *designed* to be a direct
replacement for COleVariant? Despite the different
approach to implementation? Has this ever been tested?
Thanks,
Dave
____________________________________________________________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
More information about the wx-users
mailing list