Originally posted by: Ryan Schneider
If you compile a Release verison of these controls, please post them here.
Also, I get this error when compiling:
Compiling...
int nSeparator = sItems.FindOneOf(m_oSep.separators);
but m_oSep is a pointer, so it should be ->, right?
If i change it to a ->, it compiles, but I'm not sure if it runs since the controls won't register.
Looking forward to seeing this control, it looks really cool from the screenshots! Best of Luck!
Ryan
Judging from the error given by regsvr32 when I tried to install the XFloorWnd OCX, the controls were built
with the DEBUG MFC library. This makes the controls incompatible with anyone who is using VC6.0 (and the
controls are slow, since they're using a debug DLL (and since you didn't release the code for the controls,
there's really no point to including debugging info ;) ), and I don't think the debug DLL is allowed to be
re-distributed).
tfilltree.cpp
F:\samples\Articles\xFloorWnd - Article\xDialog\tfilltree.h(109) : error C2228: left of '.separators'
must have class/struct/union type
TreeCtrlMultiColumn.cpp
F:\samples\Articles\xFloorWnd - Article\xDialog\tfilltree.h(109) : error C2228: left of '.separators'
must have class/struct/union type
Generating Code...
Error executing cl.exe.
Line 109 reads:
ryan@asizip.com
Originally posted by: Travis James
Passing a CWnd pointer through a COM interface is not safe and not suggested. A better solution probably would have been to pass an HWND through the control interface, calling CWnd::FromHandle() in your control implementation. If you wanted your interface to require CWnd pointers, then an MFC set of classes for your control would have been a better packaging than an ActiveX control.
This will also allow containers other than MFC-based ones to use your control (like Visual Basic, which cannot provide the control CWnd pointers).
Your scroll animation code is very cool.
ReplyOriginally posted by: Paul Sharp
Neither of your active x controls will register, they keep saying load library failed. I have tried regsvr 32.
Also the outlook control will not build without an error
Reply