Click here to Skip to main content
16,011,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC6: "global" defines Pin
Anonymous28-Jul-03 0:23
Anonymous28-Jul-03 0:23 
GeneralRe: VC6: "global" defines Pin
peterchen28-Jul-03 4:33
peterchen28-Jul-03 4:33 
GeneralRe: VC6: "global" defines Pin
Ryan Binns28-Jul-03 0:44
Ryan Binns28-Jul-03 0:44 
Generalwarning to make a choice for editBox Pin
Emre Zorlu27-Jul-03 23:24
Emre Zorlu27-Jul-03 23:24 
GeneralRe: warning to make a choice for editBox Pin
wb27-Jul-03 23:27
wb27-Jul-03 23:27 
GeneralRe: calc Pin
wb28-Jul-03 2:09
wb28-Jul-03 2:09 
GeneralRe: warning to make a choice for editBox Pin
David Crow28-Jul-03 5:01
David Crow28-Jul-03 5:01 
GeneralProper use of _bstr_t Pin
nibor27-Jul-03 23:12
nibor27-Jul-03 23:12 
Hi everybody!

Can anybody tell me how to use BSTR and _bstr_t properly?
I have an array of _bstr_t strings putting them into this array like this:
<br />
_bstr_t* arr = new _bstr_t[100];<br />
<br />
// (The compiler doesn't accept non-casted BSTR_string here)<br />
arr[0] = L"string_one" + _bstr_t(BSTR_string) + L"string_three";<br />
arr[1] += L"string";<br />


My problem: Sometimes there are other array elements affected by changing the content of other ones!!!
Idea: It seems to be a problem of using pointers internally by _bstr_t or missing "SysAllocString" function use...
Questionhow to connect to dbase server using postgres Pin
mhar27-Jul-03 22:55
professionalmhar27-Jul-03 22:55 
AnswerRe: how to connect to dbase server using postgres Pin
basementman28-Jul-03 5:12
basementman28-Jul-03 5:12 
General_open routine Pin
El'Cachubrey27-Jul-03 22:38
El'Cachubrey27-Jul-03 22:38 
GeneralRe: _open routine Pin
Johnny ²28-Jul-03 3:49
Johnny ²28-Jul-03 3:49 
QuestionHow to display the item of a treectrl like this? Pin
allenhu27-Jul-03 21:41
allenhu27-Jul-03 21:41 
AnswerRe: How to display the item of a treectrl like this? Pin
Iain Clarke, Warrior Programmer27-Jul-03 23:05
Iain Clarke, Warrior Programmer27-Jul-03 23:05 
AnswerRe: How to display the item of a treectrl like this? Pin
dan o27-Jul-03 23:13
dan o27-Jul-03 23:13 
GeneralParameters for MSComm Pin
petr.me27-Jul-03 21:37
petr.me27-Jul-03 21:37 
GeneralSuche Leute zum MFC / C++ lernen Pin
schonu27-Jul-03 21:04
schonu27-Jul-03 21:04 
GeneralRe: Suche Leute zum MFC / C++ lernen Pin
Philip Patrick28-Jul-03 1:20
professionalPhilip Patrick28-Jul-03 1:20 
GeneralRe: Suche Leute zum MFC / C++ lernen Pin
peterchen28-Jul-03 4:41
peterchen28-Jul-03 4:41 
GeneralWin32 vc++ Smooth Animation Pin
koxin27-Jul-03 20:54
koxin27-Jul-03 20:54 
GeneralRe: Win32 vc++ Smooth Animation Pin
Iain Clarke, Warrior Programmer27-Jul-03 23:14
Iain Clarke, Warrior Programmer27-Jul-03 23:14 
Questionhow can i apply a macro to all project files Pin
sunil_g1727-Jul-03 20:15
sunil_g1727-Jul-03 20:15 
QuestionHow to PRINT MsWord DOC through VC++ Dlg based Prg Pin
22491727-Jul-03 20:01
22491727-Jul-03 20:01 
AnswerRe: How to PRINT MsWord DOC through VC++ Dlg based Prg Pin
wb27-Jul-03 22:41
wb27-Jul-03 22:41 
GeneralSaving graph Pin
Neha27-Jul-03 20:00
Neha27-Jul-03 20:00 

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.