Click here to Skip to main content
15,891,409 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGIF showing problem Pin
subhabasu14-Apr-09 18:49
subhabasu14-Apr-09 18:49 
AnswerRe: GIF showing problem Pin
Xing Chen14-Apr-09 20:02
Xing Chen14-Apr-09 20:02 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 20:13
subhabasu14-Apr-09 20:13 
GeneralRe: GIF showing problem Pin
Hamid_RT14-Apr-09 20:26
Hamid_RT14-Apr-09 20:26 
GeneralRe: GIF showing problem Pin
ThatsAlok14-Apr-09 23:14
ThatsAlok14-Apr-09 23:14 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 20:28
subhabasu14-Apr-09 20:28 
GeneralRe: GIF showing problem Pin
Hamid_RT14-Apr-09 20:37
Hamid_RT14-Apr-09 20:37 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 20:51
subhabasu14-Apr-09 20:51 
GeneralRe: GIF showing problem Pin
Hamid_RT14-Apr-09 21:04
Hamid_RT14-Apr-09 21:04 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 22:17
subhabasu14-Apr-09 22:17 
GeneralRe: GIF showing problem Pin
Xing Chen14-Apr-09 21:48
Xing Chen14-Apr-09 21:48 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 23:49
subhabasu14-Apr-09 23:49 
GeneralRe: GIF showing problem Pin
Xing Chen15-Apr-09 0:22
Xing Chen15-Apr-09 0:22 
Questionversion change Pin
Purish Dwivedi14-Apr-09 18:28
Purish Dwivedi14-Apr-09 18:28 
AnswerRe: version change Pin
_AnsHUMAN_ 14-Apr-09 18:48
_AnsHUMAN_ 14-Apr-09 18:48 
QuestionRe: version change Pin
Purish Dwivedi14-Apr-09 19:25
Purish Dwivedi14-Apr-09 19:25 
AnswerRe: version change Pin
_AnsHUMAN_ 14-Apr-09 19:34
_AnsHUMAN_ 14-Apr-09 19:34 
GeneralRe: version change Pin
Rajesh R Subramanian14-Apr-09 20:49
professionalRajesh R Subramanian14-Apr-09 20:49 
AnswerRe: version change Pin
beko14-Apr-09 19:57
beko14-Apr-09 19:57 
QuestionRe: version change Pin
Purish Dwivedi14-Apr-09 21:08
Purish Dwivedi14-Apr-09 21:08 
AnswerRe: version change Pin
KarstenK14-Apr-09 21:29
mveKarstenK14-Apr-09 21:29 
QuestionRe: version change Pin
Purish Dwivedi14-Apr-09 21:59
Purish Dwivedi14-Apr-09 21:59 
QuestionC++ client Connectivy with asp.NET webservice Pin
shaina223114-Apr-09 17:38
shaina223114-Apr-09 17:38 
I want to Design a client class to connect with asp.NET webservice
i m using soapsud toolkit and msvisalstdio 2008 and Project type is mfc dialog based
CoInitialize(NULL);

  ISoapSerializerPtr Serializer;
  ISoapReaderPtr Reader;
   ISoapConnectorPtr Connector;

  // Connect to the service
  Connector.CreateInstance(__uuidof(HttpConnector));
  Connector->Property["EndPointURL"] = "http://localhost/PC_Stub/PaymentCloud.svc";
   Connector->Connect(); 
  Connector->Property["SoapAction"]= "http://localhost/PC_Stub/PaymentCloud.svc";
    
  Connector->BeginMessage();
  
  // Create the SoapSerializer
  Serializer.CreateInstance(__uuidof(SoapSerializer));
  Serializer->Init(_variant_t((IUnknown*)Connector->InputStream));

  Serializer->startEnvelope("","","");
  
  Serializer->startBody("");
  Serializer->startElement("isuseronline",
                              "http://localhost/PC_Stub/PaymentCloud.svc",
                              "",
                              "m");
  Serializer->startElement("CustomerID","87654321");
 
  Serializer->writeString("CustomerID");
  
  Serializer->endElement();
  Serializer->endElement();
  Serializer->endBody();
  Serializer->endEnvelope();

  // Send the message to the web service
  Connector->EndMessage();

  // Read the response
  Reader.CreateInstance(__uuidof(SoapReader));

  // Connect the reader to the output stream of the connector
  Reader->Load(_variant_t((IUnknown*)Connector->OutputStream),
                  "");
 
   
  
	   
  // Display the result
 
 // printf("Answer: %s\n", (const char *)Reader->RPCResult->text);
  
  ((const char *)Reader->RPCResult->text);  
  CString s=Reader->RPCResult ->text;
  AfxMessageBox(CString(W2T(Reader->RPCResult->text)));


 // this->GetDlgItem (IDC_STATIC)->SetWindowTextW(AnsiStrings);
  CoUninitialize();

But its giving no results plz suggest how to build c++ client ( i want to pass parameters to service so using (MFC dialogs))
QuestionIs it possible to use SDL and GDI together? Pin
JeffPaine14-Apr-09 10:21
JeffPaine14-Apr-09 10:21 
AnswerRe: Is it possible to use SDL and GDI together? Pin
Cedric Moonen14-Apr-09 21:00
Cedric Moonen14-Apr-09 21:00 

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.