Click here to Skip to main content
15,887,394 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I resize my CFrameWnd Pin
bob1697221-Apr-08 19:39
bob1697221-Apr-08 19:39 
QuestionATL Pin
TalSt17-Apr-08 9:44
TalSt17-Apr-08 9:44 
AnswerRe: ATL Pin
led mike17-Apr-08 10:07
led mike17-Apr-08 10:07 
QuestionDate validation? Pin
TalSt17-Apr-08 9:25
TalSt17-Apr-08 9:25 
QuestionRe: Date validation? Pin
David Crow24-Apr-08 10:34
David Crow24-Apr-08 10:34 
QuestionCWebBrowser2 related help please Pin
gangar17-Apr-08 8:01
gangar17-Apr-08 8:01 
GeneralRe: CWebBrowser2 related help please Pin
bob1697217-Apr-08 14:44
bob1697217-Apr-08 14:44 
GeneralRe: CWebBrowser2 related help please Pin
gangar17-Apr-08 16:58
gangar17-Apr-08 16:58 
bob16972 wrote:
SafeArrays are a pain in the behind but a necessity if you want to post data.


Thanks bob for your reply. I built postdata param as follows:

CComVariant postData("MyInput=My Custom Input");
char* postDataString = "MyInput=My Custom Input";
int len = strlen(postDataString);
postData.vt = VT_ARRAY;
postData.parray = SafeArrayCreateVector(VT_UI1, 0, len);
void HUGEP* safeData;
SafeArrayAccessData(postData.parray, &safeData);
memcpy(safeData, postDataString, len);
SafeArrayUnaccessData(postData.parray);

May be i am doing something wrong on ASP side to retrieve this postdata. I am novice in ASP. Can somebody tell me ASP command to retrieve it?
GeneralCrash dump in vista Pin
rrrado17-Apr-08 6:52
rrrado17-Apr-08 6:52 
GeneralRe: Crash dump in vista Pin
TalSt17-Apr-08 9:37
TalSt17-Apr-08 9:37 
GeneralRe: Crash dump in vista Pin
Stephen Hewitt17-Apr-08 15:15
Stephen Hewitt17-Apr-08 15:15 
GeneralMoving project to a Unix Platform Pin
Andy20217-Apr-08 6:48
Andy20217-Apr-08 6:48 
GeneralRe: Moving project to a Unix Platform Pin
David Crow17-Apr-08 6:53
David Crow17-Apr-08 6:53 
GeneralRe: Moving project to a Unix Platform Pin
Andy20218-Apr-08 0:44
Andy20218-Apr-08 0:44 
GeneralMAPIFolderPtr olItemType Pin
pnpfriend17-Apr-08 5:30
pnpfriend17-Apr-08 5:30 
GeneralProgrammatic send copy command (CTRL+C) Pin
yytg17-Apr-08 4:10
yytg17-Apr-08 4:10 
GeneralRe: Programmatic send copy command (CTRL+C) Pin
led mike17-Apr-08 4:24
led mike17-Apr-08 4:24 
QuestionRe: Programmatic send copy command (CTRL+C) Pin
David Crow17-Apr-08 4:26
David Crow17-Apr-08 4:26 
GeneralRe: Programmatic send copy command (CTRL+C) Pin
CPallini17-Apr-08 4:38
mveCPallini17-Apr-08 4:38 
AnswerRe: DoEvents in C++ Pin
Nathan Holt at EMOM17-Apr-08 7:37
Nathan Holt at EMOM17-Apr-08 7:37 
QuestionChanging Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 4:02
Kwanalouie17-Apr-08 4:02 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 4:24
David Crow17-Apr-08 4:24 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 5:08
Kwanalouie17-Apr-08 5:08 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 5:19
David Crow17-Apr-08 5:19 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 6:30
Kwanalouie17-Apr-08 6:30 

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.