Click here to Skip to main content
15,916,379 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory Leaks Pin
Chris Losinger5-Apr-12 1:10
professionalChris Losinger5-Apr-12 1:10 
GeneralMemory Leaks Pin
ITISAG5-Apr-12 3:27
ITISAG5-Apr-12 3:27 
AnswerRe: Memory Leaks Pin
Iain Clarke, Warrior Programmer8-Apr-12 6:22
Iain Clarke, Warrior Programmer8-Apr-12 6:22 
QuestionBSTR to DWORD ? Pin
MrKBA4-Apr-12 3:28
MrKBA4-Apr-12 3:28 
AnswerRe: BSTR to DWORD ? Pin
Rajesh R Subramanian4-Apr-12 3:48
professionalRajesh R Subramanian4-Apr-12 3:48 
GeneralRe: BSTR to DWORD ? Pin
MrKBA4-Apr-12 3:56
MrKBA4-Apr-12 3:56 
AnswerRe: BSTR to DWORD ? Pin
Jochen Arndt4-Apr-12 4:19
professionalJochen Arndt4-Apr-12 4:19 
AnswerRe: BSTR to DWORD ? Pin
Iain Clarke, Warrior Programmer8-Apr-12 6:25
Iain Clarke, Warrior Programmer8-Apr-12 6:25 
It's a delayed answer, but there are two answers:

1) A BSTR is just a pointer, so you can just treat that as a big fat integer. Be careful of 32bit vs 64 bit compiles though.

2) A BSTR is a way of representing a string (it's a counted string), and as such depends on what the string is.
Do you mean the number in the string? "1234" -> 1234?
In which case scanf and friends.
What about "apple" ? Is that 0?

Iain.
I am one of "those foreigners coming over here and stealing our jobs". Yay me!

Question6F00 return on reading of smard card ? Pin
Le@rner3-Apr-12 21:40
Le@rner3-Apr-12 21:40 
AnswerRe: 6F00 return on reading of smard card ? Pin
Richard MacCutchan3-Apr-12 22:05
mveRichard MacCutchan3-Apr-12 22:05 
GeneralRe: 6F00 return on reading of smard card ? Pin
Le@rner4-Apr-12 22:44
Le@rner4-Apr-12 22:44 
GeneralRe: 6F00 return on reading of smard card ? Pin
Richard MacCutchan4-Apr-12 23:58
mveRichard MacCutchan4-Apr-12 23:58 
QuestionQuestion regarding MFC Pin
tasumisra3-Apr-12 17:40
tasumisra3-Apr-12 17:40 
AnswerRe: Question regarding MFC Pin
_AnsHUMAN_ 3-Apr-12 18:03
_AnsHUMAN_ 3-Apr-12 18:03 
AnswerRe: Question regarding MFC Pin
Chandrasekharan P3-Apr-12 20:06
Chandrasekharan P3-Apr-12 20:06 
GeneralRe: Question regarding MFC Pin
tasumisra3-Apr-12 20:34
tasumisra3-Apr-12 20:34 
GeneralRe: Question regarding MFC Pin
Chandrasekharan P3-Apr-12 20:42
Chandrasekharan P3-Apr-12 20:42 
Questionerrors adding to windows form creator Pin
Member 79972643-Apr-12 11:20
Member 79972643-Apr-12 11:20 
AnswerRe: errors adding to windows form creator Pin
Richard Andrew x643-Apr-12 12:29
professionalRichard Andrew x643-Apr-12 12:29 
GeneralRe: errors adding to windows form creator Pin
Member 79972643-Apr-12 15:10
Member 79972643-Apr-12 15:10 
AnswerRe: errors adding to windows form creator Pin
Richard Andrew x643-Apr-12 15:16
professionalRichard Andrew x643-Apr-12 15:16 
GeneralRe: errors adding to windows form creator Pin
Member 79972643-Apr-12 17:25
Member 79972643-Apr-12 17:25 
AnswerRe: errors adding to windows form creator Pin
Wes Aday3-Apr-12 15:23
professionalWes Aday3-Apr-12 15:23 
GeneralRe: errors adding to windows form creator Pin
Member 79972643-Apr-12 17:50
Member 79972643-Apr-12 17:50 
GeneralRe: errors adding to windows form creator Pin
Wes Aday4-Apr-12 1:48
professionalWes Aday4-Apr-12 1:48 

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.