Click here to Skip to main content
15,890,043 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Copy File Data Pin
Rajesh R Subramanian4-Sep-08 20:55
professionalRajesh R Subramanian4-Sep-08 20:55 
GeneralRe: Copy File Data Pin
knowvc4-Sep-08 21:22
knowvc4-Sep-08 21:22 
GeneralRe: Copy File Data Pin
Michael Schubert5-Sep-08 2:24
Michael Schubert5-Sep-08 2:24 
AnswerRe: Copy File Data Pin
Cedric Moonen4-Sep-08 20:56
Cedric Moonen4-Sep-08 20:56 
Questionprogid Pin
George_George4-Sep-08 20:31
George_George4-Sep-08 20:31 
AnswerRe: progid Pin
User 2155974-Sep-08 20:52
User 2155974-Sep-08 20:52 
GeneralRe: progid Pin
George_George4-Sep-08 21:12
George_George4-Sep-08 21:12 
GeneralRe: progid Pin
User 2155974-Sep-08 21:28
User 2155974-Sep-08 21:28 
1. Normally some information will be required by consumer of your COM server. So ProgId, ClassId, Interface descriptions etc need to be published. There are various ways for the consumer to instantiate and consume the services provided by the COM Server (one of which is using ProgId). If information from TypeLib is to be queried then you may use Type Description Interfaces and Functions[^]. There is also IProvideClassInfo[^] interface that helps accessing the type information for an object's coclass.
ProgId could be published in TypeLib files, Interface and coclass declaration (header) files or simply as part of your COM server documentation.
2. Yes. As mentioned by Larry Osterman in his blog entry (see the link I posted earlier) - "The PROGID provides the ability to define a string alias for a particular COM object. Thus with the PROGID, you can access a COM object without having to know it's CLSID. This can be quite handy, especially when you're working in languages that don't provide easy access to a GUID data type. A PROGID is simply a string representation of the class. "

Glad I could help.

PS: What registry entries are needed to register a COM object[^] is a good read.


Sohail


modified 21-Apr-21 21:01pm.

GeneralRe: progid Pin
George_George4-Sep-08 21:33
George_George4-Sep-08 21:33 
GeneralRe: progid Pin
User 2155974-Sep-08 23:11
User 2155974-Sep-08 23:11 
GeneralRe: progid Pin
George_George4-Sep-08 23:26
George_George4-Sep-08 23:26 
GeneralRe: progid Pin
User 2155974-Sep-08 23:44
User 2155974-Sep-08 23:44 
GeneralRe: progid Pin
George_George4-Sep-08 23:55
George_George4-Sep-08 23:55 
GeneralRe: progid [modified] Pin
User 2155975-Sep-08 0:03
User 2155975-Sep-08 0:03 
GeneralRe: progid Pin
George_George5-Sep-08 0:50
George_George5-Sep-08 0:50 
GeneralRe: progid Pin
User 2155975-Sep-08 0:55
User 2155975-Sep-08 0:55 
GeneralRe: progid Pin
George_George5-Sep-08 1:06
George_George5-Sep-08 1:06 
GeneralRe: progid Pin
User 2155975-Sep-08 1:24
User 2155975-Sep-08 1:24 
GeneralRe: progid Pin
George_George5-Sep-08 1:43
George_George5-Sep-08 1:43 
Questionproblem in reading data from com port Pin
manju23reddy4-Sep-08 20:22
manju23reddy4-Sep-08 20:22 
QuestionRe: problem in reading data from com port Pin
Roger Stoltz4-Sep-08 22:19
Roger Stoltz4-Sep-08 22:19 
AnswerRe: problem in reading data from com port Pin
manju23reddy5-Sep-08 8:05
manju23reddy5-Sep-08 8:05 
AnswerRe: problem in reading data from com port Pin
Roger Stoltz7-Sep-08 22:43
Roger Stoltz7-Sep-08 22:43 
Questionstring trim and toupper/tolower Pin
George_George4-Sep-08 19:47
George_George4-Sep-08 19:47 
AnswerRe: string trim and toupper/tolower Pin
Nibu babu thomas4-Sep-08 19:59
Nibu babu thomas4-Sep-08 19:59 

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.