Click here to Skip to main content
15,881,819 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to catch GDI+ exceptions? [modified] Pin
followait4-Dec-07 22:08
followait4-Dec-07 22:08 
AnswerRe: How to catch GDI+ exceptions? Pin
SandipG 4-Dec-07 22:47
SandipG 4-Dec-07 22:47 
GeneralRe: How to catch GDI+ exceptions? Pin
followait4-Dec-07 23:00
followait4-Dec-07 23:00 
GeneralRe: How to catch GDI+ exceptions? Pin
SandipG 4-Dec-07 23:08
SandipG 4-Dec-07 23:08 
GeneralRe: How to catch GDI+ exceptions? Pin
followait4-Dec-07 23:18
followait4-Dec-07 23:18 
GeneralVC++ https Pin
mohindar_kks4-Dec-07 22:02
mohindar_kks4-Dec-07 22:02 
GeneralRe: VC++ https Pin
ThatsAlok4-Dec-07 23:33
ThatsAlok4-Dec-07 23:33 
GeneralRe: VC++ https Pin
mohindar_kks5-Dec-07 0:13
mohindar_kks5-Dec-07 0:13 
m using the 'Post type.am attaching the code.Please verify.The http is working in same code.Is there any credentials to pass the code?

HTTPMethod = _bstr_t( "POST" );
httpReq->open(HTTPMethod ,"https://gtl-334/XmlTesting/Service.asmx",noAsync,vUser,vPassword);
httpReq->setRequestHeader("Content-Type", "application/soap+xml");


CString szRequest;// = "<strUserName>";
//szRequest += "chaitanya";
//szRequest +="</strUserName>";

szRequest = "<?xml version=\"1.0\" encoding=\"utf-8\"?> \
<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\"> \
<soap12:Body>\
<RetrieveKey xmlns=\"http://tempuri.org/\"> \
<serial>1001</serial>\
</RetrieveKey>\
</soap12:Body>\
</soap12:Envelope>";

//szRequest = "Chaitanya";
VARIANT vRequest;
vRequest.vt = VT_BSTR;
vRequest.bstrVal = szRequest.AllocSysString();

httpReq->send(vRequest);
BSTR strText;

_bstr_t bsResponse = httpReq->responseText;
Generalconverting LPCSTR to char* Pin
neha.agarwal274-Dec-07 21:27
neha.agarwal274-Dec-07 21:27 
GeneralRe: converting LPCSTR to char* Pin
Cedric Moonen4-Dec-07 21:30
Cedric Moonen4-Dec-07 21:30 
GeneralRe: converting LPCSTR to char* Pin
CPallini4-Dec-07 21:44
mveCPallini4-Dec-07 21:44 
GeneralRe: converting LPCSTR to char* Pin
Don Box4-Dec-07 21:47
Don Box4-Dec-07 21:47 
GeneralRe: converting LPCSTR to char* Pin
ThatsAlok4-Dec-07 22:16
ThatsAlok4-Dec-07 22:16 
GeneralRe: converting LPCSTR to char* Pin
jhwurmbach4-Dec-07 22:31
jhwurmbach4-Dec-07 22:31 
GeneralRe: converting LPCSTR to char* Pin
ThatsAlok4-Dec-07 23:32
ThatsAlok4-Dec-07 23:32 
GeneralRe: converting LPCSTR to char* Pin
sarat4-Dec-07 23:19
sarat4-Dec-07 23:19 
GeneralRe: converting LPCSTR to char* Pin
sarat4-Dec-07 23:20
sarat4-Dec-07 23:20 
GeneralRe: converting LPCSTR to char* Pin
Cedric Moonen4-Dec-07 23:33
Cedric Moonen4-Dec-07 23:33 
GeneralRe: converting LPCSTR to char* Pin
ThatsAlok4-Dec-07 23:34
ThatsAlok4-Dec-07 23:34 
GeneralRe: converting LPCSTR to char* Pin
sarat4-Dec-07 23:40
sarat4-Dec-07 23:40 
GeneralRe: converting LPCSTR to char* Pin
Cedric Moonen5-Dec-07 0:09
Cedric Moonen5-Dec-07 0:09 
GeneralRe: converting LPCSTR to char* Pin
sarat5-Dec-07 0:21
sarat5-Dec-07 0:21 
GeneralRe: converting LPCSTR to char* Pin
Cedric Moonen5-Dec-07 0:52
Cedric Moonen5-Dec-07 0:52 
GeneralRe: converting LPCSTR to char* Pin
sarat5-Dec-07 1:58
sarat5-Dec-07 1:58 
Questionhow to set transparent color for a perticular color Pin
sarat4-Dec-07 21:01
sarat4-Dec-07 21:01 

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.