CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: OCX32's vs DLLS

  1. #1
    Join Date
    Apr 2003
    Posts
    322

    OCX32's vs DLLS

    I've found some VC source code which is for a project used to make some OCX controls for VB projects.

    I'd like to be call the functions that are in the OCX files, but from a non VB program. (like loading a DLL)

    Is it difficult (or even possible) to create a DLL from the OCX source code?

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: OCX32's vs DLLS

    You can make an OCX control. .dll's are run in-process of an exe
    Look up "Creating a Multithreaded Test Application" which lists how to create both.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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