Click here to Skip to main content
15,897,371 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM - Class doesn't support automation! Pin
Mike Dimmick14-Dec-07 13:13
Mike Dimmick14-Dec-07 13:13 
GeneralRe: COM - Class doesn't support automation! Pin
peepsicola18-Dec-07 3:44
peepsicola18-Dec-07 3:44 
Generalextending shell with right-click menu items [modified] Pin
carabutnicolae123413-Dec-07 20:28
carabutnicolae123413-Dec-07 20:28 
QuestionIs it possible for an ActiveX control to access the DOM of the page? Pin
keniagm13-Dec-07 8:33
keniagm13-Dec-07 8:33 
GeneralRe: Is it possible for an ActiveX control to access the DOM of the page? Pin
vishalmore13-Dec-07 15:14
vishalmore13-Dec-07 15:14 
GeneralRe: Is it possible for an ActiveX control to access the DOM of the page? Pin
keniagm14-Dec-07 2:14
keniagm14-Dec-07 2:14 
GeneralWord page border. Pin
priyank_ldce12-Dec-07 4:03
priyank_ldce12-Dec-07 4:03 
GeneralLate binding from COM client Pin
sawerr12-Dec-07 1:35
sawerr12-Dec-07 1:35 
Hi I am reading this article:
http://www.ddj.com/cpp/184403558
It says:

Suppose you want to call methods on a COM object or Automation Server, but have no header files, type library (discussed later), or any programmatic information about the object. Late binding is what makes this possible. In fact, with late binding you can even instantiate and use a COM object [2] on a remote machine.

And in his code:
wcscpy(progid, L"comcalc.calc"); <br />
CLSIDFromProgID( progid, &pclsid); <br />
HRESULT hr = CoCreateInstance(pclsid, NULL, CLSCTX_ALL, IID_IDispatch, (void **)&idsp);


While late binding , If we have nothing (no need) about COM object in remote server. How could CLSIDFromProgId work? Something must be registered in client computer before executing this line so we need dll/exe file(server) itself. Am i wrong?

I don't understand how CLSIDFromProgId could work here.
Thanks...
Edit/Delete Message
GeneralRe: Late binding from COM client Pin
CPallini12-Dec-07 9:27
mveCPallini12-Dec-07 9:27 
QuestionOutlook Add ins Pin
Jerome.Mariadoss12-Dec-07 1:19
Jerome.Mariadoss12-Dec-07 1:19 
GeneralRe: Outlook Add ins Pin
KarstenK12-Dec-07 2:51
mveKarstenK12-Dec-07 2:51 
GeneralIWebBrowser2 Behavior is Different from IE7 in Vista Pin
chunsj11-Dec-07 19:41
chunsj11-Dec-07 19:41 
QuestionNumber Problem...... Pin
Peter Parker11-Dec-07 3:44
Peter Parker11-Dec-07 3:44 
GeneralIntercept Send Mail in Outlook Pin
_AnsHUMAN_ 10-Dec-07 21:13
_AnsHUMAN_ 10-Dec-07 21:13 
GeneralRe: Intercept Send Mail in Outlook Pin
myshketer11-Dec-07 21:11
myshketer11-Dec-07 21:11 
QuestionSmart Tag Creation Pin
anufabian9-Dec-07 22:50
anufabian9-Dec-07 22:50 
GeneralSending string from COM to C# under Vista problem Pin
Stevo Z6-Dec-07 22:53
Stevo Z6-Dec-07 22:53 
QuestionRe: Sending string from COM to C# under Vista problem Pin
Nathan Holt at EMOM7-Dec-07 7:28
Nathan Holt at EMOM7-Dec-07 7:28 
GeneralRe: Sending string from COM to C# under Vista problem Pin
Mike Dimmick7-Dec-07 16:36
Mike Dimmick7-Dec-07 16:36 
GeneralRe: Sending string from COM to C# under Vista problem Pin
Stevo Z10-Dec-07 2:20
Stevo Z10-Dec-07 2:20 
GeneralSending array from C# to ActiveX component Pin
Hampus@foi6-Dec-07 20:49
Hampus@foi6-Dec-07 20:49 
AnswerRe: Sending array from C# to ActiveX component Pin
Nathan Holt at EMOM7-Dec-07 7:32
Nathan Holt at EMOM7-Dec-07 7:32 
GeneralRe: Sending array from C# to ActiveX component Pin
Hampus@foi9-Dec-07 22:27
Hampus@foi9-Dec-07 22:27 
GeneralRe: Sending array from C# to ActiveX component Pin
Nathan Holt at EMOM10-Dec-07 7:15
Nathan Holt at EMOM10-Dec-07 7:15 
GeneralRe: Sending array from C# to ActiveX component Pin
User 2155977-Dec-07 11:52
User 2155977-Dec-07 11:52 

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.