Click here to Skip to main content
15,921,169 members
Home / Discussions / COM
   

COM

 
GeneralRe: Deriving from interfaces Pin
Lim Bio Liong13-Aug-04 22:29
Lim Bio Liong13-Aug-04 22:29 
GeneralRe: Deriving from interfaces Pin
Jörgen Sigvardsson14-Aug-04 23:26
Jörgen Sigvardsson14-Aug-04 23:26 
Generalaccessing IShellBrowser from CFileDialog Pin
zerwuff12-Aug-04 3:33
zerwuff12-Aug-04 3:33 
Generaladding a button to explorer toolbar Pin
rolati10-Aug-04 11:22
rolati10-Aug-04 11:22 
GeneralNon-exposed interfaces Pin
Antti Keskinen10-Aug-04 10:01
Antti Keskinen10-Aug-04 10:01 
GeneralRe: Non-exposed interfaces Pin
Milton Karimbekallil10-Aug-04 18:53
Milton Karimbekallil10-Aug-04 18:53 
GeneralRe: Non-exposed interfaces Pin
Antti Keskinen11-Aug-04 1:26
Antti Keskinen11-Aug-04 1:26 
GeneralRe: Non-exposed interfaces Pin
Milton Karimbekallil11-Aug-04 3:23
Milton Karimbekallil11-Aug-04 3:23 
Antti....

As per the MSDN sample code in vb we can get an existing IMsTscNonScriptable pointer as follows:

Private Obj As IMsTscNonScriptable<br />
set obj = MsTscAx1.Object


So the VC++ equivalent of the above code is:

CComPtr<IMsTscNonScriptable> pIMsTscNonScriptable;<br />
m_MsTscAx1.Object( reinterpret_cast<void**>(&pIMsTscNonScriptable) )


Here i assume u will insert the activex control into ur app and will add a member variable to it named m_MsTscAx1.

Unfrntly i don't have that ocx installed on my mechine. So i am not sure whethr it is a moniker provider and is supposed to be in the ROT.

hope this will help... rgds...mil10.
GeneralRe: Non-exposed interfaces Pin
Antti Keskinen11-Aug-04 4:12
Antti Keskinen11-Aug-04 4:12 
GeneralRe: Non-exposed interfaces Pin
Antti Keskinen11-Aug-04 11:25
Antti Keskinen11-Aug-04 11:25 
GeneralRe: Non-exposed interfaces Pin
Milton Karimbekallil11-Aug-04 20:09
Milton Karimbekallil11-Aug-04 20:09 
GeneralOPC - implement the custom-DLL Pin
ro_bürgel9-Aug-04 23:45
ro_bürgel9-Aug-04 23:45 
GeneralHelp: DCOM and local system account Pin
Storm749-Aug-04 20:53
Storm749-Aug-04 20:53 
GeneralRe: Help: DCOM and local system account Pin
Milton Karimbekallil9-Aug-04 22:55
Milton Karimbekallil9-Aug-04 22:55 
GeneralRe: Help: DCOM and local system account Pin
Storm7410-Aug-04 2:58
Storm7410-Aug-04 2:58 
GeneralBeginng Active-X. Need help. Pin
lovehis9-Aug-04 20:47
lovehis9-Aug-04 20:47 
GeneralRe: Beginng Active-X. Need help. Pin
Milton Karimbekallil9-Aug-04 23:10
Milton Karimbekallil9-Aug-04 23:10 
GeneralRe: Beginng Active-X. Need help. Pin
rgondzur12-Aug-04 9:36
rgondzur12-Aug-04 9:36 
GeneralInstantiating another CoClass from a CoClass method in the same component Pin
G. Raven9-Aug-04 7:44
G. Raven9-Aug-04 7:44 
GeneralRe: Instantiating another CoClass from a CoClass method in the same component Pin
Milton Karimbekallil9-Aug-04 19:08
Milton Karimbekallil9-Aug-04 19:08 
GeneralRe: Instantiating another CoClass from a CoClass method in the same component Pin
G. Raven12-Aug-04 1:16
G. Raven12-Aug-04 1:16 
General.net 2003 compilation error! Pin
kunja_chan6-Aug-04 2:40
kunja_chan6-Aug-04 2:40 
GeneralRe: .net 2003 compilation error! Pin
darkbyte18-Aug-04 13:46
darkbyte18-Aug-04 13:46 
GeneralUse to convert a spezific File to a Bitmap Pin
codefire5-Aug-04 0:49
codefire5-Aug-04 0:49 
Generalquestion Pin
ursus zeta9-Aug-04 11:01
ursus zeta9-Aug-04 11:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.