[ wxwindows-Bugs-1569606 ] ActiveX + wxUSE_VARIANT
SourceForge.net
noreply at sourceforge.net
Mon Oct 2 15:14:13 PDT 2006
Bugs item #1569606, was opened at 2006-10-02 22:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1569606&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: nusi (nusi)
Assigned to: Nobody/Anonymous (nobody)
Summary: ActiveX + wxUSE_VARIANT
Initial Comment:
I'm working with CVS HEAD and trying to build a very
minimalistic wxMSW library, with only those options,
which I actually use in my program.
I set a lot of the wxUSE_ Options to 0. There are some
build errors, which are easy to fix and for which I'll
propose another patch. However, I've a problem with
ActiveX.
I tried to take option and set wxUSE_VARIANT 0 in
setup.h. I need only clipboard functionality from
within wxWidgets, so I did set the options like this:
#define wxUSE_CLIPBOARD 1
#define wxUSE_DATAOBJ 1
#define wxUSE_DRAG_AND_DROP 0
#define wxUSE_MEDIACTRL 0
#define wxUSE_VARIANT 0
There seem to be some nasty dependencies within
ActiveX. The Errors begin like this:
11>------ Build started: Project: adv, Configuration:
Unicode Debug x64 ------
11>Compiling...
11>dummy.cpp
10>Compiling...
10>mediactrlcmn.cpp
10>activex.cpp
10>..\..\include\wx/msw/ole/activex.h(192) : error
C2146: syntax error : missing ';' before identifier
'm_params'
ActiveX.h looks like this around these lines:
188: class wxActiveXEvent : public wxCommandEvent
189: {
190: private:
191: friend class wxActiveXEvents;
192: wxVariant m_params;
193: DISPID m_dispid;
wxActiveXEvent seems to only be needed in those
MediaCtrl classes, like wxAMMediaBackend and
wxWMP10MediaBackend.
Doing "#if wxUSE_MEDIACTRL" around ActiveX.h doesn't
sound reasonable, as the user may not be able to
associate ActiveX with wxMediaCtrl. It feels like there
is a need for wxUSE_ACTIVEX or some more checks in
chkconf.h
So I didn't make a patch like this and reported just a
bug note. Sorry if this sounds lazy.
IMHO, wxWidgets should compile cleanly with above options.
Nusi
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1569606&group_id=9863
More information about the wx-dev
mailing list