Click here to Skip to main content
16,004,969 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL Pin
geo_m27-Mar-03 0:12
geo_m27-Mar-03 0:12 
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 
well, i just compiled the project again, and now it is not working in the finalconstruct either.
i have following variables:

_bstr_t m_szName;
_bstr_t m_szType;
_bstr_t m_szBatch;
_bstr_t m_szPath;
_bstr_t m_szPathExact;

then i call:

m_szName = "1";
m_szType = "2";
m_szBatch = "3";
m_szPath = "4";
m_szPathExact = "5";

and the result is, that the m_szName has the same value as the m_szBatch, the m_wstr value is exactly the same, but the refcount was not incremented.
i debugged the initializing, and found that the third _com_util::ConvertStringToBSTR(s); returns the exact same pointer as the first one. and if i initialize with m_szName = L"1", i get the same result, both ::SysAllocString(s) functions return the same value.

how can that be? Confused | :confused:

thanks for help
enrico
GeneralRe: _bstr_t problem Pin
geo_m25-Mar-03 10:16
geo_m25-Mar-03 10:16 
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 

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.