Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Best Code Signing Certificate? Pin
Mark Salsbery19-Feb-08 9:54
Mark Salsbery19-Feb-08 9:54 
GeneralRe: Best Code Signing Certificate? Pin
Chris Losinger19-Feb-08 10:02
professionalChris Losinger19-Feb-08 10:02 
GeneralRe: Best Code Signing Certificate? Pin
James R. Twine21-Feb-08 6:54
James R. Twine21-Feb-08 6:54 
QuestionHow to get keyboard layout? Pin
Manthis19-Feb-08 3:02
Manthis19-Feb-08 3:02 
GeneralRe: How to get keyboard layout? [modified] Pin
Rajkumar R19-Feb-08 3:33
Rajkumar R19-Feb-08 3:33 
GeneralRe: How to get keyboard layout? Pin
Manthis19-Feb-08 3:52
Manthis19-Feb-08 3:52 
GeneralRe: How to get keyboard layout? Pin
Manthis22-Feb-08 1:46
Manthis22-Feb-08 1:46 
GeneralQuestion about void* casting ( what wrong with my code ... ? ) Pin
Yanshof19-Feb-08 2:37
Yanshof19-Feb-08 2:37 
Hi,

I have some function that get void* param.
And i want to send CString object.

So - this is my code - and i don't see any reason that my CString would not work when i doing casting back from void* to CString.

<br />
CString sStr("SomeString")<br />
Foo(void*(&sStr) );             //call the function<br />
<br />
//The function<br />
void Foo(void* p)<br />
{<br />
      CString __sStr = *(CString*)p;   //here i can see that the __sStr is garbage<br />
}<br />


Thanks for any help.
GeneralRe: Question about void* casting ( what wrong with my code ... ? ) Pin
CPallini19-Feb-08 2:51
mveCPallini19-Feb-08 2:51 
GeneralRe: Question about void* casting ( what wrong with my code ... ? ) Pin
Rajkumar R19-Feb-08 2:54
Rajkumar R19-Feb-08 2:54 
GeneralRe: Question about void* casting ( what wrong with my code ... ? ) Pin
cp987619-Feb-08 10:33
cp987619-Feb-08 10:33 
AnswerRe: Question about void* casting ( what wrong with my code ... ? ) Pin
Rajkumar R19-Feb-08 17:26
Rajkumar R19-Feb-08 17:26 
GeneralRe: Question about void* casting ( what wrong with my code ... ? ) Pin
David Crow19-Feb-08 2:55
David Crow19-Feb-08 2:55 
QuestionHow to get Handle Pin
john563219-Feb-08 2:26
john563219-Feb-08 2:26 
AnswerRe: How to get Handle Pin
Iain Clarke, Warrior Programmer19-Feb-08 3:16
Iain Clarke, Warrior Programmer19-Feb-08 3:16 
Questionhow to use Shockwave Flash Activex control Pin
manish.patel19-Feb-08 1:00
manish.patel19-Feb-08 1:00 
GeneralRe: how to use Shockwave Flash Activex control Pin
Rajesh R Subramanian19-Feb-08 1:25
professionalRajesh R Subramanian19-Feb-08 1:25 
GeneralRe: how to use Shockwave Flash Activex control Pin
manish.patel19-Feb-08 1:42
manish.patel19-Feb-08 1:42 
GeneralRe: how to use Shockwave Flash Activex control Pin
kotokouper200311-Sep-08 16:14
kotokouper200311-Sep-08 16:14 
GeneralPrograming Help! Please!! Pin
Shissar19-Feb-08 0:26
Shissar19-Feb-08 0:26 
GeneralRe: Programing Help! Please!! Pin
Cedric Moonen19-Feb-08 1:01
Cedric Moonen19-Feb-08 1:01 
GeneralRe: Programing Help! Please!! Pin
Rajesh R Subramanian19-Feb-08 1:03
professionalRajesh R Subramanian19-Feb-08 1:03 
General[Message Deleted] Pin
rowdy_vc++19-Feb-08 0:08
rowdy_vc++19-Feb-08 0:08 
QuestionRe: Woking with Cfile Pin
CPallini19-Feb-08 0:25
mveCPallini19-Feb-08 0:25 
GeneralRe: Woking with Cfile Pin
Rajesh R Subramanian19-Feb-08 0:29
professionalRajesh R Subramanian19-Feb-08 0:29 

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.