Click here to Skip to main content
15,922,533 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: ATLSTR.H & SHOBJIDL.H not found Pin
TOMCAT8120-Jul-05 22:24
TOMCAT8120-Jul-05 22:24 
GeneralDuplicate Methos Name in ATL, please help I will rate yr answer Pin
LongIsland16-Jul-05 7:56
LongIsland16-Jul-05 7:56 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson16-Jul-05 10:25
Jörgen Sigvardsson16-Jul-05 10:25 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
LongIsland16-Jul-05 14:20
LongIsland16-Jul-05 14:20 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson16-Jul-05 22:13
Jörgen Sigvardsson16-Jul-05 22:13 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong18-Jul-05 3:53
Lim Bio Liong18-Jul-05 3:53 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong18-Jul-05 5:53
Lim Bio Liong18-Jul-05 5:53 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson19-Jul-05 9:54
Jörgen Sigvardsson19-Jul-05 9:54 
Sorry for the late reply, I was out of town until now.

Lim Bio Liong wrote:
I also found that if I ever define Method01() in the implementation class CObjImpl01 (i.e. by uncommenting it), the Method01()s of the shims never get called.

That's because you rebind the entries in the vtable again in your implementation class. Remember, COM methods are virtual!

The both shims bind Method01 to its corresponding entry in their vtables. If you redeclare the method Method01 in the COM class (which inherits both), it'll rebind the method vtable entry for Method01, in all inherited vtables. Please note that C++ only does this for methods whose names and parameter signature match (i.e. standard C++ overloading rules).

Good music: In my rosary[^]
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong19-Jul-05 13:30
Lim Bio Liong19-Jul-05 13:30 
GeneralQuestion about ATL library ca2wex class Pin
Marcel_115-Jul-05 11:02
Marcel_115-Jul-05 11:02 
GeneralRe: Question about ATL library ca2wex class Pin
Michael Dunn15-Jul-05 14:10
sitebuilderMichael Dunn15-Jul-05 14:10 
General(ATL/COM/MFC/C++) Q about IE programming Pin
dojin7915-Jul-05 0:51
dojin7915-Jul-05 0:51 
GeneralRe: (ATL/COM/MFC/C++) Q about IE programming Pin
Douglas Troy15-Jul-05 5:33
Douglas Troy15-Jul-05 5:33 
GeneralRe: (ATL/COM/MFC/C++) Q about IE programming Pin
Member 212103815-Jul-05 20:23
Member 212103815-Jul-05 20:23 
Questionwhat's the right way to do this? Pin
HeartFriend14-Jul-05 22:31
HeartFriend14-Jul-05 22:31 
AnswerRe: what's the right way to do this? Pin
Douglas Troy15-Jul-05 5:40
Douglas Troy15-Jul-05 5:40 
GeneralRe: what's the right way to do this? Pin
Anonymous15-Jul-05 6:05
Anonymous15-Jul-05 6:05 
GeneralRe: what's the right way to do this? Pin
Douglas Troy15-Jul-05 6:14
Douglas Troy15-Jul-05 6:14 
Generalstd::cin and unbuffering (noncanonical input) Pin
Harold Bamford14-Jul-05 8:08
Harold Bamford14-Jul-05 8:08 
GeneralVector class is missing 'rerase' Pin
ICantChangeMyAcct13-Jul-05 9:18
ICantChangeMyAcct13-Jul-05 9:18 
GeneralRe: Vector class is missing 'rerase' Pin
Nish Nishant13-Jul-05 9:48
sitebuilderNish Nishant13-Jul-05 9:48 
GeneralRe: Vector class is missing 'rerase' Pin
Roland Pibinger13-Jul-05 12:43
Roland Pibinger13-Jul-05 12:43 
GeneralRe: Vector class is missing 'rerase' Pin
Nemanja Trifunovic14-Jul-05 2:19
Nemanja Trifunovic14-Jul-05 2:19 
GeneralRe: Vector class is missing 'rerase' Pin
Rob Caldecott14-Jul-05 5:25
Rob Caldecott14-Jul-05 5:25 
GeneralBoost Pin
Rob Caldecott11-Jul-05 21:14
Rob Caldecott11-Jul-05 21:14 

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.