Results 1 to 2 of 2

Thread: [RESOLVED] CoInitializeSecurity in OCX?

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Location
    Grimsby (up the Mariners!)
    Posts
    45

    Unhappy [RESOLVED] CoInitializeSecurity in OCX?

    I have a small vb6 app that uses a 3rd party ActiveX control. The ActiveX is the client in a client/server system. To get the events from the ActiveX my app has to call CoInitializeSecurity like so...
    Code:
    CoInitializeSecurity(0, -1, 0, 0, 1, 3, 0, 0, 0)
    What I want to do is convert my exe to an ActiveX OCX so that it can be hosted by the pictures in a SCADA system, but I don't know how to use CoInitializeSecurity in this case. Do I need to use CoInitializeSecurity or is it a DCOM settings thing?

    (The 'pictures' that will host the OCX are ActiveX documents and the SCADA system supports VBA).
    Last edited by DavW; Dec 17th, 2002 at 04:33 AM.

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