Click here to Skip to main content
15,896,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
Roger Stoltz3-Jul-08 2:55
Roger Stoltz3-Jul-08 2:55 
QuestionRe: How to get object or handle of control in its event handler function without using its ID ? Pin
chetan_mp20073-Jul-08 7:02
chetan_mp20073-Jul-08 7:02 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
Roger Stoltz3-Jul-08 7:55
Roger Stoltz3-Jul-08 7:55 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
KarstenK3-Jul-08 3:05
mveKarstenK3-Jul-08 3:05 
Questioncom dll problem Pin
rjkg3-Jul-08 2:16
rjkg3-Jul-08 2:16 
AnswerRe: com dll problem Pin
Nibu babu thomas3-Jul-08 2:28
Nibu babu thomas3-Jul-08 2:28 
GeneralRe: com dll problem Pin
rjkg3-Jul-08 2:38
rjkg3-Jul-08 2:38 
AnswerRe: com dll problem Pin
Roger Stoltz3-Jul-08 2:39
Roger Stoltz3-Jul-08 2:39 
Confused | :confused:
This is supposed to be a no-no....

If the two servers have the same class id, then it is the same server, by definition and by COM spec. It may be that the later server is an updated version, but it is still the same server.
If the supplier of the two servers claims that those are two different servers, they have broken some of the fundamental rules of COM and there are no guarantees for this to work when distributed even if you might get it to work on your machine.
The human readable ProgID may be updated with a new version from e.g. <Company>.<Server>.1 to <Company>.<Server>.2, then they also have to give the server a new class id.

If the supplier of the two servers confirms that this is the same server, then your project requirements are wrong or misinterpreted since this is not how the COM architecture works.

It may give a hint if you compare the ProgIDs.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: com dll problem Pin
KarstenK3-Jul-08 3:10
mveKarstenK3-Jul-08 3:10 
AnswerRe: com dll problem Pin
KarstenK3-Jul-08 3:09
mveKarstenK3-Jul-08 3:09 
QuestionAvoiding global in Callbacks Pin
flip3-Jul-08 2:01
flip3-Jul-08 2:01 
QuestionConvert Visual Studio 2005 ATL project into Visual C++ 6.0 project Pin
dolly3-Jul-08 1:52
dolly3-Jul-08 1:52 
AnswerRe: Convert Visual Studio 2005 ATL project into Visual C++ 6.0 project Pin
Gary R. Wheeler3-Jul-08 1:55
Gary R. Wheeler3-Jul-08 1:55 
QuestionWrapping a C++ LIB into a DLL Pin
indogerman3-Jul-08 1:50
indogerman3-Jul-08 1:50 
AnswerRe: Wrapping a C++ LIB into a DLL Pin
Gary R. Wheeler3-Jul-08 1:58
Gary R. Wheeler3-Jul-08 1:58 
AnswerRe: Wrapping a C++ LIB into a DLL Pin
KarstenK3-Jul-08 3:14
mveKarstenK3-Jul-08 3:14 
QuestionBorderLess AboutBox. Pin
Le@rner3-Jul-08 1:36
Le@rner3-Jul-08 1:36 
AnswerRe: BorderLess AboutBox. Pin
CPallini3-Jul-08 1:41
mveCPallini3-Jul-08 1:41 
AnswerRe: BorderLess AboutBox. Pin
Rajesh R Subramanian3-Jul-08 1:42
professionalRajesh R Subramanian3-Jul-08 1:42 
GeneralRe: BorderLess AboutBox. Pin
CPallini3-Jul-08 2:08
mveCPallini3-Jul-08 2:08 
GeneralRe: BorderLess AboutBox. Pin
Rajesh R Subramanian3-Jul-08 2:25
professionalRajesh R Subramanian3-Jul-08 2:25 
GeneralOT Pin
CPallini3-Jul-08 22:24
mveCPallini3-Jul-08 22:24 
GeneralRe: OT Pin
Rajesh R Subramanian3-Jul-08 22:32
professionalRajesh R Subramanian3-Jul-08 22:32 
GeneralRe: OT Pin
CPallini3-Jul-08 23:30
mveCPallini3-Jul-08 23:30 
GeneralRe: BorderLess AboutBox. Pin
Le@rner3-Jul-08 2:43
Le@rner3-Jul-08 2:43 

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.