Click here to Skip to main content
15,942,671 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: can DirectSound and DirectShow work at the same time? Pin
Mark Salsbery18-Mar-08 16:28
Mark Salsbery18-Mar-08 16:28 
GeneralOpaque COleClientItem Pin
Kyudos18-Mar-08 13:30
Kyudos18-Mar-08 13:30 
GeneralConverting int to string Pin
J_E_D_I18-Mar-08 9:19
J_E_D_I18-Mar-08 9:19 
GeneralRe: Converting int to string Pin
Maxwell Chen18-Mar-08 9:27
Maxwell Chen18-Mar-08 9:27 
GeneralRe: Converting int to string Pin
Mark Salsbery18-Mar-08 9:41
Mark Salsbery18-Mar-08 9:41 
GeneralRe: Converting int to string Pin
Joe Woodbury18-Mar-08 15:57
professionalJoe Woodbury18-Mar-08 15:57 
GeneralRe: Converting int to string Pin
ThatsAlok18-Mar-08 19:59
ThatsAlok18-Mar-08 19:59 
QuestionIs it okay to cast from int to unsigned char *? Pin
ChemmieBro18-Mar-08 8:54
ChemmieBro18-Mar-08 8:54 
I have a 32bit int that I'm trying to stuff into an array of bytes.
Is it okay to do this?

CharArray = new unsigned char [4];
CharArray = (unsigned char *)&IntegerValue
ByteArray[Length-4] = CharArray[3]
ByteArray[Length-3] = CharArray[2]
ByteArray[Length-2] = CharArray[1]
ByteArray[Length-1] = CharArray[0]
AnswerRe: Is it okay to cast from int to unsigned char *? Pin
Mark Salsbery18-Mar-08 9:04
Mark Salsbery18-Mar-08 9:04 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
ChemmieBro18-Mar-08 9:20
ChemmieBro18-Mar-08 9:20 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
Mark Salsbery18-Mar-08 9:24
Mark Salsbery18-Mar-08 9:24 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
ChemmieBro18-Mar-08 9:36
ChemmieBro18-Mar-08 9:36 
AnswerRe: Is it okay to cast from int to unsigned char *? Pin
David Crow18-Mar-08 9:33
David Crow18-Mar-08 9:33 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
Maxwell Chen18-Mar-08 9:36
Maxwell Chen18-Mar-08 9:36 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
ChemmieBro18-Mar-08 9:38
ChemmieBro18-Mar-08 9:38 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
Maxwell Chen18-Mar-08 9:49
Maxwell Chen18-Mar-08 9:49 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
Mark Salsbery18-Mar-08 10:21
Mark Salsbery18-Mar-08 10:21 
GeneralRe: Is it okay to cast from int to unsigned char *? Pin
ramana.g18-Mar-08 17:30
ramana.g18-Mar-08 17:30 
QuestionAutomation Server Questions Pin
garyflet18-Mar-08 8:53
garyflet18-Mar-08 8:53 
QuestionHow to read Swedish word correctly Pin
njhy18-Mar-08 7:54
njhy18-Mar-08 7:54 
QuestionRe: How to read Swedish word correctly Pin
Maxwell Chen18-Mar-08 8:37
Maxwell Chen18-Mar-08 8:37 
GeneralRe: How to read Swedish word correctly Pin
njhy18-Mar-08 8:42
njhy18-Mar-08 8:42 
GeneralRe: How to read Swedish word correctly Pin
Mark Salsbery18-Mar-08 9:07
Mark Salsbery18-Mar-08 9:07 
GeneralRe: How to read Swedish word correctly Pin
Randor 18-Mar-08 10:52
professional Randor 18-Mar-08 10:52 
GeneralRe: How to read Swedish word correctly Pin
Mark Salsbery18-Mar-08 11:23
Mark Salsbery18-Mar-08 11:23 

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.