Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCOM

Status
Not open for further replies.

Leikan

Programmer
Feb 19, 2003
1
CA
I have a server which expose an api call CreateActiveXControl and it has 3 in parameters and 1 out/retval parameter. The first parameter excepts an BSTR and the second parameter excepts a long and the third parameter excepts an IUnknown* pointer. This is the line that I have

set ProfileSetup [ $DebugControlWindow CreateActiveXControl "PROFILESETUP.ProfileSetupCtrl.1" 0 [::tcom::null] ]

I am trying to past a null IUnknown* pointer to this api, but I got an error saying type mistmatch. Can some one please tell me how I can past in a null IUnknown* pointer to this api?

Thank you in advance.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top