Click here to Skip to main content
15,906,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CWaitCursor changes back to normal cursor on mouse move event Pin
David Crow9-Jun-09 3:35
David Crow9-Jun-09 3:35 
QuestionHex string stream to Binary string Pin
RS.Ratheesh8-Jun-09 19:26
RS.Ratheesh8-Jun-09 19:26 
QuestionRe: Hex string stream to Binary string [modified] Pin
CPallini8-Jun-09 21:26
mveCPallini8-Jun-09 21:26 
AnswerRe: Hex string stream to Binary string Pin
RS.Ratheesh8-Jun-09 22:32
RS.Ratheesh8-Jun-09 22:32 
QuestionRe: Hex string stream to Binary string Pin
David Crow9-Jun-09 3:38
David Crow9-Jun-09 3:38 
Question[help]detect the status of iis server Pin
rahuljin8-Jun-09 18:59
rahuljin8-Jun-09 18:59 
QuestionRe: [help]detect the status of iis server Pin
David Crow9-Jun-09 3:39
David Crow9-Jun-09 3:39 
AnswerRe: [help]detect the status of iis server Pin
rahuljin9-Jun-09 8:50
rahuljin9-Jun-09 8:50 
GeneralRe: [help]detect the status of iis server Pin
David Crow9-Jun-09 9:23
David Crow9-Jun-09 9:23 
GeneralRe: [help]detect the status of iis server Pin
rahuljin9-Jun-09 10:38
rahuljin9-Jun-09 10:38 
GeneralRe: [help]detect the status of iis server Pin
David Crow10-Jun-09 3:43
David Crow10-Jun-09 3:43 
GeneralRe: [help]detect the status of iis server Pin
rahuljin12-Jun-09 1:46
rahuljin12-Jun-09 1:46 
GeneralRe: [help]detect the status of iis server Pin
David Crow12-Jun-09 3:06
David Crow12-Jun-09 3:06 
GeneralRe: [help]detect the status of iis server [modified] Pin
rahuljin12-Jun-09 4:35
rahuljin12-Jun-09 4:35 
QuestionRe: [help]detect the status of iis server Pin
David Crow13-Jun-09 12:41
David Crow13-Jun-09 12:41 
AnswerRe: [help]detect the status of iis server [modified] Pin
rahuljin13-Jun-09 20:42
rahuljin13-Jun-09 20:42 
QuestionRe: [help]detect the status of iis server Pin
David Crow14-Jun-09 10:03
David Crow14-Jun-09 10:03 
AnswerRe: [help]detect the status of iis server Pin
rahuljin14-Jun-09 11:19
rahuljin14-Jun-09 11:19 
AnswerRe: [help]detect the status of iis server Pin
David Crow15-Jun-09 3:57
David Crow15-Jun-09 3:57 
GeneralRe: [help]detect the status of iis server [modified] Pin
rahuljin15-Jun-09 5:26
rahuljin15-Jun-09 5:26 
QuestionHi! VC console GUI Pin
tuan11118-Jun-09 17:42
tuan11118-Jun-09 17:42 
AnswerRe: Hi! VC console GUI Pin
Chandrasekharan P8-Jun-09 18:08
Chandrasekharan P8-Jun-09 18:08 
AnswerRe: Hi! VC console GUI Pin
Cedric Moonen8-Jun-09 20:19
Cedric Moonen8-Jun-09 20:19 
AnswerRe: Hi! VC console GUI Pin
Michael Schubert9-Jun-09 0:44
Michael Schubert9-Jun-09 0:44 
QuestionHow to convert a VARIANT buffer to a byte buffer? Pin
gpenghe8-Jun-09 17:00
gpenghe8-Jun-09 17:00 
Hello,

I have an ActiveX control that provides such method:
void GetCurrentImage(long theFormat, VARIANT * theBuffer, long * theBufferSize);

I want to get a byte image buffer from this function. That is, I am trying to do this:
long image_size;
VARIANT FrameBuf[1024*1024];
char ByteBuf[1024*1024];

// Get a pointer pCtrl to the ActiveX Control
pCtrl->GetCurrentImage(0, FrameBuf, &image_size);
// How to convert FrameBuf to ByteBuf? 

I did some googling. But partly because VARIANT is a common word that confused Google, I can hardly find any useful solution to this. Can anyone give me some advice? Thank you very much.

Jason

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.