Click here to Skip to main content
15,909,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can i make an toolbar icon 48x48 256 colour Pin
vasmvr3-Sep-07 5:03
vasmvr3-Sep-07 5:03 
GeneralRe: How can i make an toolbar icon 48x48 256 colour Pin
Nishad S3-Sep-07 5:43
Nishad S3-Sep-07 5:43 
GeneralRe: How can i make an toolbar icon 48x48 256 colour [modified] Pin
vasmvr3-Sep-07 21:02
vasmvr3-Sep-07 21:02 
QuestionMixing Unicode and Non Unicode CEdit, CWnd Pin
Nawal K Gupta3-Sep-07 3:13
Nawal K Gupta3-Sep-07 3:13 
AnswerRe: Mixing Unicode and Non Unicode CEdit, CWnd Pin
KarstenK3-Sep-07 3:50
mveKarstenK3-Sep-07 3:50 
AnswerRe: Mixing Unicode and Non Unicode CEdit, CWnd Pin
Waldermort3-Sep-07 7:25
Waldermort3-Sep-07 7:25 
GeneralRe: Mixing Unicode and Non Unicode CEdit, CWnd Pin
Nawal K Gupta4-Sep-07 3:43
Nawal K Gupta4-Sep-07 3:43 
QuestionUnhandled exception Pin
sanjutvm3-Sep-07 2:51
sanjutvm3-Sep-07 2:51 
QuestionInternationalization Pin
Krishnatv3-Sep-07 2:43
Krishnatv3-Sep-07 2:43 
AnswerRe: Internationalization Pin
truestepper3-Sep-07 3:00
truestepper3-Sep-07 3:00 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:49
Krishnatv3-Sep-07 3:49 
GeneralRe: Internationalization Pin
truestepper3-Sep-07 4:17
truestepper3-Sep-07 4:17 
AnswerRe: Internationalization Pin
jhwurmbach3-Sep-07 3:31
jhwurmbach3-Sep-07 3:31 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:51
Krishnatv3-Sep-07 3:51 
AnswerRe: Internationalization Pin
Maximilien3-Sep-07 3:35
Maximilien3-Sep-07 3:35 
AnswerRe: Internationalization Pin
Hamid_RT3-Sep-07 4:48
Hamid_RT3-Sep-07 4:48 
Questionlanguage specific characters dialog Pin
truestepper3-Sep-07 2:43
truestepper3-Sep-07 2:43 
QuestionPass XML to an HTTP address in Visual C Pin
mariokempes3-Sep-07 2:33
mariokempes3-Sep-07 2:33 
I have been given the following example code but I have no idea how to call from Visual C.

NB I am the Scotweave end of the process.

Essentially I need to know how to post the HTTP request ?

Many thanks for any help.

dave

-------------
Example (ASP)

Example (ASP)
<%@language=Jscript%>
<%
var objSrvHTTP;
var objXMLSend;
objSrvHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP");
objXMLSend = Server.CreateObject("Msxml2.DOMDocument.3.0");
objXMLSend.async = false;
objXMLSend.loadXML ("<request>" +
"<xbnr>001" +
"<xplt>01" +
"<name>StockItem" +
"<type>getStockItemList" +
"StockItem
" +
"<stockitem>" +
" <list>XANR" +
" <list>XARTBZ" +
"" +
"");
objSrvHTTP.open ("POST","http://{IP}/{APP}/jsiapi.jsp",false);
objSrvHTTP.send (objXMLSend);
Response.ContentType = "text/xml";
Response.Write (objSrvHTTP.responseText);
%>


The above example will call an existing Jomar process (StockItem.getStockItemList) passing a request XML (blow left). The JSIAPI interface will return a response XML (below right).
<request>
<xbnr>001
<xplt>01
<name>StockItem
<type>getStockItemList
StockItem

<stockitem>
<list>XANR
<list>XARTBZ


<response>
<stockitem>
<row>
<xanr>AGK1
<xartbz>Cashmere Scarf

<row>
<xanr>AGK2
<xartbz>Cashmere Scarf

<row>
<xanr>AGK3
<xartbz>Cashmere Scarf


<xbnr>001
<xplt>01

Questionabout Thread Creation Pin
Member 43990943-Sep-07 2:28
Member 43990943-Sep-07 2:28 
AnswerRe: about Thread Creation Pin
chandu0043-Sep-07 2:32
chandu0043-Sep-07 2:32 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 2:41
Member 43990943-Sep-07 2:41 
GeneralRe: about Thread Creation Pin
chandu0043-Sep-07 2:47
chandu0043-Sep-07 2:47 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 3:00
Member 43990943-Sep-07 3:00 
AnswerRe: about Thread Creation Pin
Mark Salsbery3-Sep-07 8:57
Mark Salsbery3-Sep-07 8:57 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 21:53
Member 43990943-Sep-07 21:53 

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.