Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Standard for inlining code Pin
Rob Caldecott21-Sep-05 4:59
Rob Caldecott21-Sep-05 4:59 
AnswerRe: Standard for inlining code Pin
Blake Miller21-Sep-05 5:09
Blake Miller21-Sep-05 5:09 
AnswerRe: Standard for inlining code Pin
Nemanja Trifunovic21-Sep-05 5:15
Nemanja Trifunovic21-Sep-05 5:15 
AnswerRe: Standard for inlining code Pin
Roger Stoltz21-Sep-05 5:56
Roger Stoltz21-Sep-05 5:56 
AnswerRe: Standard for inlining code Pin
David Crow21-Sep-05 7:04
David Crow21-Sep-05 7:04 
GeneralRe: Standard for inlining code Pin
Rob Caldecott21-Sep-05 7:05
Rob Caldecott21-Sep-05 7:05 
GeneralRe: Standard for inlining code Pin
David Crow21-Sep-05 7:18
David Crow21-Sep-05 7:18 
GeneralRe: Standard for inlining code Pin
Nemanja Trifunovic21-Sep-05 7:40
Nemanja Trifunovic21-Sep-05 7:40 
GeneralRe: Standard for inlining code Pin
David Crow22-Sep-05 2:20
David Crow22-Sep-05 2:20 
AnswerRe: Standard for inlining code Pin
User 58385221-Sep-05 20:37
User 58385221-Sep-05 20:37 
GeneralRe: Standard for inlining code Pin
John R. Shaw21-Sep-05 21:01
John R. Shaw21-Sep-05 21:01 
GeneralRe: Standard for inlining code Pin
David Crow22-Sep-05 2:23
David Crow22-Sep-05 2:23 
AnswerRe: Standard for inlining code Pin
John R. Shaw21-Sep-05 21:20
John R. Shaw21-Sep-05 21:20 
QuestionInterfacing Pin
benjnp21-Sep-05 4:42
benjnp21-Sep-05 4:42 
AnswerRe: Interfacing Pin
Bob Stanneveld21-Sep-05 5:30
Bob Stanneveld21-Sep-05 5:30 
GeneralRe: Interfacing Pin
benjnp21-Sep-05 14:45
benjnp21-Sep-05 14:45 
GeneralRe: Interfacing Pin
Bob Stanneveld21-Sep-05 20:14
Bob Stanneveld21-Sep-05 20:14 
QuestionWindows Procedure Pin
benjnp21-Sep-05 4:36
benjnp21-Sep-05 4:36 
AnswerRe: Windows Procedure Pin
Blake Miller21-Sep-05 5:05
Blake Miller21-Sep-05 5:05 
AnswerRe: Windows Procedure Pin
Bob Stanneveld21-Sep-05 5:34
Bob Stanneveld21-Sep-05 5:34 
QuestionWhy does a non-blocking socket get blocked when call connect? Pin
alvaro21-Sep-05 4:32
alvaro21-Sep-05 4:32 
QuestionLength of VARIANT V_BSTR Pin
Kreatief21-Sep-05 4:23
Kreatief21-Sep-05 4:23 
AnswerRe: Length of VARIANT V_BSTR Pin
Steen Krogsgaard21-Sep-05 23:51
Steen Krogsgaard21-Sep-05 23:51 
GeneralRe: Length of VARIANT V_BSTR Pin
Kreatief22-Sep-05 0:32
Kreatief22-Sep-05 0:32 
GeneralRe: Length of VARIANT V_BSTR Pin
Steen Krogsgaard22-Sep-05 0:49
Steen Krogsgaard22-Sep-05 0:49 
I'm sorry, my memory certainly didn't serve me well. I think I confused it with the ANSI version of BSTR (I think it's called BSTRT).

Just to be sure, you say your function converts it to a widechar, you mean unicode, right?

A BSTR is a pointer to a location, where the first four bytes are the length part and the rest is the unicode string terminated by a double-zero. Could this in any way be the cause of your problem (e.g. a premature terminating double-zero?)

Otherwise, I don't have any good ideas. Perhaps you could post more code?

Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"

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.