|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - ActiveX and/or COM?
bs"d
Hi,
I am working on integrating the "MS Agent" technology into a program. MS
Agent can be accessed through ActiveX or COM protocols. The "demos" that I
have tried use the Visual C++ IDDE to automatically build MFC wrapper
classes for the ActiveX interface. Is there someway to do this with
Symantec C++ or Digital Mars? I tried copying the files created from the
MSVC++ build into the Symantec C++ project -- however, when I tried
compiling the program I encountered numerous compile errors -- the COM
support libraries from SymC++ had slightly different variable declarations
than those declared in the MSVC++ produced MFC ActiveX wrapper classes,
causing the build to fail.
How do I include an ActiveX project into the Symantec C++ MFC?
Thank you much for your help.
Yochanan Spielberg
Aug 28 2002
There was a way to do that kind of stuff in the Symantec^H^H^H^H^H^H^H^HDigitalmars IDDE, however, with all the new development in the COM area I am not so sure if it still works. What I usually do is Just use VC-- to create the type library and stuff like that and create a parallel project in DM IDDE which includes the same files. Currently I am using the Win32 include directory of M$ Visual Studio.net. I have a patched version of IMPLIB that creates the .lib files from system DLL's. by parsing the header files and calculating the proper n suffix for the functions. You actually can create an ActiveX project in DM IDDE with MFC. I think you have to turn on OLE and OCX in Project Settings -> Target. HTH Jan Yochanan Spielberg wrote: Aug 28 2002
Hi Jan, Is the DM IDDE an improvement over the Symantec IDDE? If so, I may purchase Walter's CD. I would like to access the new MFC libraries if they are available.Currently I am using the Win32 include directory of M$ Visual Studio.net. Aug 30 2002
Yochanan Spielberg wrote:Is the DM IDDE an improvement over the Symantec IDDE? If so, I may purchase Walter's CD. I would like to access the new MFC libraries if they are available. Aug 30 2002
|