Click here to Skip to main content
15,913,055 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralSTL fstream format question Pin
Nitron25-Mar-03 11:31
Nitron25-Mar-03 11:31 
GeneralRe: STL fstream format question Pin
Nemanja Trifunovic25-Mar-03 11:42
Nemanja Trifunovic25-Mar-03 11:42 
GeneralRe: STL fstream format question Pin
Nitron25-Mar-03 11:43
Nitron25-Mar-03 11:43 
GeneralRe: STL fstream format question Pin
Nemanja Trifunovic25-Mar-03 11:52
Nemanja Trifunovic25-Mar-03 11:52 
GeneralRe: STL fstream format question Pin
Nitron25-Mar-03 13:23
Nitron25-Mar-03 13:23 
General_bstr_t problem Pin
particle2k25-Mar-03 6:32
particle2k25-Mar-03 6:32 
GeneralRe: _bstr_t problem Pin
particle2k25-Mar-03 6:39
particle2k25-Mar-03 6:39 
GeneralRe: _bstr_t problem Pin
geo_m25-Mar-03 10:16
geo_m25-Mar-03 10:16 
Don't know, on my machine it seems to work correctly. It would probably need deeper insight. If your project is only a simple ATL object, just as was created with wizard (is here someone doing that manually?) with added _bstr_t members, it is really weird stuff.

Anyway for your first part questions, difference between constructor and FinalConstruct is in the virtual method calling - inside c-tor the vtable may not be fully constructed, so the call of a virtual method from c-tor can result in a crash. Dead | X| This is because in ATL your class is not the last one in a chain. (in fact your object is a CComObject<CYourClass> type)

For that reason the FinalConstruct was introduced, because it is called after the whole class hieararchy is created.

But for 'simple' initialization of your members it should make nearly no difference (ommiting the fact that from FinalConstruct you can return an error value).
GeneralRe: _bstr_t problem Pin
particle2k26-Mar-03 1:36
particle2k26-Mar-03 1:36 
GeneralRe: _bstr_t problem Pin
geo_m26-Mar-03 1:55
geo_m26-Mar-03 1:55 
QuestionHow can I change my WTL project to a COM server Pin
Remon Spekreijse24-Mar-03 3:57
Remon Spekreijse24-Mar-03 3:57 
GeneralEnable/Disable toolbar buttons Pin
Tommy2k22-Mar-03 8:00
Tommy2k22-Mar-03 8:00 
GeneralRe: Enable/Disable toolbar buttons Pin
Michael Dunn22-Mar-03 8:33
sitebuilderMichael Dunn22-Mar-03 8:33 
GeneralRe: Enable/Disable toolbar buttons Pin
Ed Gadziemski23-Mar-03 2:52
professionalEd Gadziemski23-Mar-03 2:52 
GeneralAnything for Netscape Plug-in Pin
Mahesh Perumal20-Mar-03 0:30
Mahesh Perumal20-Mar-03 0:30 
GeneralATL Object Wizard Pin
DuFF15-Mar-03 14:15
DuFF15-Mar-03 14:15 
GeneralRe: ATL Object Wizard Pin
Amit Dey26-Mar-03 13:02
Amit Dey26-Mar-03 13:02 
GeneralDDX_CONTROL with WTL Pin
roel_v215-Mar-03 10:36
roel_v215-Mar-03 10:36 
GeneralRe: DDX_CONTROL with WTL Pin
roel_v215-Mar-03 11:45
roel_v215-Mar-03 11:45 
GeneralRe: DDX_CONTROL with WTL Pin
Michael Dunn15-Mar-03 13:14
sitebuilderMichael Dunn15-Mar-03 13:14 
GeneralRe: DDX_CONTROL with WTL Pin
roel_v215-Mar-03 15:14
roel_v215-Mar-03 15:14 
GeneralRe: DDX_CONTROL with WTL Pin
Michael Dunn15-Mar-03 18:51
sitebuilderMichael Dunn15-Mar-03 18:51 
GeneralRe: DDX_CONTROL with WTL Pin
Ernesto D.16-Mar-03 12:11
Ernesto D.16-Mar-03 12:11 
GeneralRe: DDX_CONTROL with WTL Pin
Michael Dunn16-Mar-03 12:40
sitebuilderMichael Dunn16-Mar-03 12:40 
GeneralRe: DDX_CONTROL with WTL Pin
Ernesto D.16-Mar-03 15:59
Ernesto D.16-Mar-03 15: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.