Click here to Skip to main content
15,912,329 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralATL VC 7.xxx Pin
oscarferreira118-May-05 11:51
oscarferreira118-May-05 11:51 
Questionhelp: why a ATL control created in VC can not work well in vb? Pin
ictory18-May-05 3:29
ictory18-May-05 3:29 
AnswerRe: help: why a ATL control created in VC can not work well in vb? Pin
Jörgen Sigvardsson18-May-05 12:14
Jörgen Sigvardsson18-May-05 12:14 
Generalsimple c++ question Pin
Timothy_198217-May-05 0:53
Timothy_198217-May-05 0:53 
GeneralRe: simple c++ question Pin
James R. Twine17-May-05 1:23
James R. Twine17-May-05 1:23 
GeneralRe: simple c++ question Pin
Timothy_198217-May-05 1:27
Timothy_198217-May-05 1:27 
GeneralRe: simple c++ question Pin
James R. Twine17-May-05 3:31
James R. Twine17-May-05 3:31 
GeneralRe: simple c++ question Pin
[tlg]1-Jun-05 14:29
[tlg]1-Jun-05 14:29 
hmm...

All the C++ boffins will tell you to use the reference version because it's "safer", and that's their justification for just about everything to do with the language Wink | ;) Just remember that you can't reassign references and you can with pointers - this might nudge you towards the pointer version.

Unless you have a fairly strange function, there is no performance gain from using one in particular. If you want to emulate the powers-that-be and go in the direction the C++ standards commitee have not-so-subtlely been trying to push us in, use the reference version. Be aware of the possiblity of unseen anonymous objects being created when you pass by reference (if you do indeed have to create a temporary const object) - obviously this isn't possible with pointers and prevents this bit of bloat.

I go with references cos company's love to see them in your code. To be honest there's not much to gain from it, but try and stick to one in style. It also stops you having to stick &'s everywhere Smile | :)
GeneralImplementing and exposing multiple Event interfaces in ATL. Pin
James R. Twine16-May-05 7:47
James R. Twine16-May-05 7:47 
GeneralRe: Implementing and exposing multiple Event interfaces in ATL. Pin
Stuart Dootson16-May-05 20:54
professionalStuart Dootson16-May-05 20:54 
GeneralRe: Implementing and exposing multiple Event interfaces in ATL. Pin
James R. Twine17-May-05 1:00
James R. Twine17-May-05 1:00 
GeneralRe: Implementing and exposing multiple Event interfaces in ATL. Pin
Stuart Dootson17-May-05 1:37
professionalStuart Dootson17-May-05 1:37 
GeneralRe: Implementing and exposing multiple Event interfaces in ATL. Pin
James R. Twine17-May-05 3:35
James R. Twine17-May-05 3:35 
GeneralATL Addin Pin
Raj72315-May-05 10:44
Raj72315-May-05 10:44 
GeneralIncreasing height and width of the ActiveX Control Pin
ajalilqarshi12-May-05 19:54
ajalilqarshi12-May-05 19:54 
GeneralRe: Increasing height and width of the ActiveX Control Pin
ajalilqarshi18-May-05 19:38
ajalilqarshi18-May-05 19:38 
GeneralAdding WTL to an MFC project Pin
rajas12-May-05 18:38
rajas12-May-05 18:38 
GeneralRe: Adding WTL to an MFC project Pin
Michael Dunn13-May-05 12:22
sitebuilderMichael Dunn13-May-05 12:22 
GeneralRe: Adding WTL to an MFC project Pin
rajas15-May-05 7:08
rajas15-May-05 7:08 
GeneralRe: Adding WTL to an MFC project Pin
Michael Dunn17-May-05 17:34
sitebuilderMichael Dunn17-May-05 17:34 
GeneralIs this Possible Pin
ThatsAlok11-May-05 21:07
ThatsAlok11-May-05 21:07 
GeneralRe: Is this Possible Pin
Vi212-May-05 21:13
Vi212-May-05 21:13 
GeneralRe: Is this Possible Pin
ThatsAlok12-May-05 21:50
ThatsAlok12-May-05 21:50 
GeneralRe: Is this Possible Pin
Vi212-May-05 22:04
Vi212-May-05 22:04 
GeneralATL Component not working properly in windows 98 Pin
naveen.V8-May-05 22:55
naveen.V8-May-05 22:55 

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.