CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199

    Can I wrap a .DLL with ActiveX EXE?

    I have to convert an in-process DLL made in VB6 to an ActiveX EXE. Can I simply reference the DLL from within the EXE and make calls to it (adding needed events), or should I rewrite the DLL from scratch?
    Thanks
    Paul

  2. #2
    Join Date
    Aug 2003
    Location
    London
    Posts
    515
    Re-write it, you don't want unnecessary dependencies etc...

  3. #3
    Join Date
    May 2002
    Location
    Montreal
    Posts
    450
    I wrote an exe calling functions from my DLL after it was created and tested. The requirements had changed.
    So I created a regular EXE that uses the DLL. Our client's application just makes calls the the EXE.
    Cheers,
    Laurent

    For an aviator, the three best things in life are a good landing, a good orgasm, and a good sh*t. A night carrier landing is one of the few opportunities to experience all three at the same time.

  4. #4
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487
    Sure it will work, but the best thing is to convert the DLL to avoid depencency.
    Busy

  5. #5
    Join Date
    Apr 2001
    Location
    Mississauga, CANADA
    Posts
    199
    Thanks guys. We decided tp re-write the dll.
    Cheers!
    Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured