Thread: Exporting VC++ classes for use with VB

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    32

    Exporting VC++ classes for use with VB

    I just started off in this kind of stuff, so I'm practically nowhere yet. I have several questions in mind, e.g.:



    a)if I need to export an object with events, does it necessarily have to be a control? Can't "plain" classes have events in C++?

    b)does my DLL have to be an automation server in order for it to export my classes?

    c)I'm very confused by the "MFC" stuff. Do I need it? I mean, in Visual Basic it was very easy to make a DLL that exposed classes (regular classes, not control classes). That is, no "visual" part. In VC++ I can't seem to get rid of MFC "base classes", so I end up with a control.



    Sorry for/if mixing up things, I shall soon split my problem into more clear parts, but at the moment I need to start somewhere.

    Thank you.
    Last edited by Helix; 12-28-2003 at 04:10 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing an Array of Strings from VB to a C DLL
    By mr_nice! in forum Windows Programming
    Replies: 9
    Last Post: 03-08-2005, 06:16 AM
  2. VC++6: exporting classes containing templates
    By ttt in forum Windows Programming
    Replies: 2
    Last Post: 09-15-2003, 11:38 AM
  3. Hai Everybody !VC dll in VB ?
    By samudrala_99 in forum Windows Programming
    Replies: 2
    Last Post: 06-20-2003, 07:22 AM
  4. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 03:13 AM
  5. Exporting Object Hierarchies from a DLL
    By andy668 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 01:26 PM