Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCHttpConnection - Post method Pin
vivek.s.vivek23-Feb-06 17:56
vivek.s.vivek23-Feb-06 17:56 
AnswerRe: CHttpConnection - Post method Pin
jigneshrpatel23-Feb-06 18:46
jigneshrpatel23-Feb-06 18:46 
GeneralRe: CHttpConnection - Post method Pin
vivek.s.vivek23-Feb-06 21:36
vivek.s.vivek23-Feb-06 21:36 
GeneralRe: CHttpConnection - Post method Pin
ThatsAlok26-Feb-06 18:48
ThatsAlok26-Feb-06 18:48 
QuestionCHttpConnection web request for post method Pin
murali_utr23-Feb-06 17:40
murali_utr23-Feb-06 17:40 
AnswerRe: CHttpConnection web request for post method Pin
murali_utr23-Feb-06 23:02
murali_utr23-Feb-06 23:02 
QuestionA Question On GDI+ Pin
Shuang. Wu23-Feb-06 17:39
Shuang. Wu23-Feb-06 17:39 
QuestionQuestion regarding SafeArrays Pin
godspeed12323-Feb-06 17:39
godspeed12323-Feb-06 17:39 
Hi,

I have a large amount of data being passed from a hardware device into a safearray. I am using this safearray t communicate all that data to a VB ActiveX Control using a event to tell the container that data is ready, but when I call the function GetData is causes all of the program to freeze, is this a problem that safearray can not keep up or something?

This is the code I'm using to get the Data, is there anything wrong in it?

SAFEARRAYBOUND bound;
bound.cElements = 350000;
bound.lLbound = 0;

imageData->vt = VT_UI1 | VT_ARRAY;
imageData->parray = SafeArrayCreate( VT_UI1, 1, &bound );

void * pDest;
SafeArrayAccessData( imageData->parray, &pDest );
memcpy( pDest, &hwdData, 350000 );
SafeArrayUnaccessData( imageData->parray );

Because this data can come up to 150 Hz is there a faster way of doing this. or am I stuck with SafeArrays?

Thanks
AnswerRe: Question regarding SafeArrays Pin
Michael Dunn23-Feb-06 17:43
sitebuilderMichael Dunn23-Feb-06 17:43 
Questionhelp++ Pin
jobits1223-Feb-06 15:29
jobits1223-Feb-06 15:29 
AnswerRe: help++ Pin
Michael Dunn23-Feb-06 17:40
sitebuilderMichael Dunn23-Feb-06 17:40 
AnswerRe: help++ Pin
ThatsAlok26-Feb-06 18:10
ThatsAlok26-Feb-06 18:10 
Questionhelp c++ Pin
jobits1223-Feb-06 14:50
jobits1223-Feb-06 14:50 
AnswerRe: help c++ Pin
Ryan Binns23-Feb-06 15:00
Ryan Binns23-Feb-06 15:00 
AnswerRe: help c++ Pin
BadKarma23-Feb-06 20:36
BadKarma23-Feb-06 20:36 
AnswerRe: help c++ Pin
ThatsAlok23-Feb-06 21:42
ThatsAlok23-Feb-06 21:42 
QuestionRe: help c++ Pin
David Crow24-Feb-06 3:14
David Crow24-Feb-06 3:14 
QuestionEnding Thread Problems Pin
tbrake23-Feb-06 14:03
tbrake23-Feb-06 14:03 
AnswerRe: Ending Thread Problems Pin
Ryan Binns23-Feb-06 14:10
Ryan Binns23-Feb-06 14:10 
GeneralRe: Ending Thread Problems Pin
tbrake23-Feb-06 14:17
tbrake23-Feb-06 14:17 
GeneralRe: Ending Thread Problems Pin
Ryan Binns23-Feb-06 14:50
Ryan Binns23-Feb-06 14:50 
GeneralRe: Ending Thread Problems Pin
Blake Miller24-Feb-06 5:26
Blake Miller24-Feb-06 5:26 
QuestionHow to display the value of a variable in a MessageBox? Pin
vinceher23-Feb-06 10:18
vinceher23-Feb-06 10:18 
AnswerRe: How to display the value of a variable in a MessageBox? Pin
David Crow23-Feb-06 10:31
David Crow23-Feb-06 10:31 
AnswerRe: How to display the value of a variable in a MessageBox? Pin
Stephen Hewitt23-Feb-06 10:45
Stephen Hewitt23-Feb-06 10:45 

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.