Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHooK API Problem Pin
cyberkit7-Jul-04 5:19
cyberkit7-Jul-04 5:19 
GeneralHyper-threading and MSDev6 Pin
[d3m0n]7-Jul-04 4:55
[d3m0n]7-Jul-04 4:55 
GeneralInstalling fonts .ttf and Type 1 Pin
Anonymous7-Jul-04 4:15
Anonymous7-Jul-04 4:15 
GeneralInstalling fonts .ttf and Type 1 Pin
Anonymous7-Jul-04 4:13
Anonymous7-Jul-04 4:13 
GeneralRe: Installing fonts .ttf and Type 1 Pin
David Crow7-Jul-04 4:47
David Crow7-Jul-04 4:47 
GeneralRe: Installing fonts .ttf and Type 1 Pin
Anonymous7-Jul-04 6:11
Anonymous7-Jul-04 6:11 
GeneralAccessing a web Service from VC++ application Pin
Member 5343577-Jul-04 3:51
Member 5343577-Jul-04 3:51 
GeneralRe: Accessing a web Service from VC++ application Pin
Antti Keskinen7-Jul-04 12:27
Antti Keskinen7-Jul-04 12:27 
Humm..

I tried the same by using XMethods' WeatherService (gets the weather by zipcode, found "http://www.xmethods.net/sd/2001/TemperatureService.wsdl") and it works properly. As I have no idea what web service you are consuming (no link ?), then it is just about impossible to tell if your parameters are correct.

I, however, suggest checking the parameters. It looks like you are getting the weather for a station named "KNEL", but you are not saving the result value anywhere ? Check the function parameters. I believe that the parameter should be two-fold: upon input, it specifies the station name, and upon output, it gives you the weather.

I believe that it (GetWeather) requires a BSTR value as the first parameter. If you get into a dead-end when using a BSTR, paste a link to the web service into this forum, and I'll do a quick-check on how to call it properly.. Moreover, a little more detailed code paste from the function that is calling the web service would be useful. Are you initializing COM, for example ?

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Accessing a web Service from VC++ application Pin
Member 5343578-Jul-04 3:13
Member 5343578-Jul-04 3:13 
GeneralRe: Accessing a web Service from VC++ application Pin
Antti Keskinen8-Jul-04 9:48
Antti Keskinen8-Jul-04 9:48 
QuestionAny suggestions on a parser? Pin
prcarp7-Jul-04 3:16
prcarp7-Jul-04 3:16 
AnswerRe: Any suggestions on a parser? Pin
siggapet7-Jul-04 3:26
siggapet7-Jul-04 3:26 
AnswerRe: Any suggestions on a parser? Pin
palbano7-Jul-04 4:00
palbano7-Jul-04 4:00 
AnswerRe: Any suggestions on a parser? Pin
Andrew Walker7-Jul-04 14:21
Andrew Walker7-Jul-04 14:21 
GeneralRe: Any suggestions on a parser? Pin
prcarp25-Jul-04 20:39
prcarp25-Jul-04 20:39 
QuestionMaking an Edit multiline? Pin
steven117-Jul-04 1:56
steven117-Jul-04 1:56 
AnswerRe: Making an Edit multiline? Pin
siggapet7-Jul-04 3:49
siggapet7-Jul-04 3:49 
GeneralRe: Making an Edit multiline? Pin
steven117-Jul-04 6:06
steven117-Jul-04 6:06 
GeneralDifference between thread and fiber on windows Pin
haritadala7-Jul-04 1:46
haritadala7-Jul-04 1:46 
GeneralRe: Difference between thread and fiber on windows Pin
David Crow7-Jul-04 2:35
David Crow7-Jul-04 2:35 
QuestionHow to Detect Invalid Filenames Pin
Steve Thresher7-Jul-04 1:37
Steve Thresher7-Jul-04 1:37 
AnswerRe: How to Detect Invalid Filenames Pin
V.7-Jul-04 1:44
professionalV.7-Jul-04 1:44 
AnswerRe: How to Detect Invalid Filenames Pin
PengFeidu7-Jul-04 2:17
PengFeidu7-Jul-04 2:17 
Generali Have two Question Pls Some one reply Pin
ThatsAlok6-Jul-04 23:55
ThatsAlok6-Jul-04 23:55 
GeneralRe: i Have two Question Pls Some one reply Pin
Abhi Lahare7-Jul-04 0:34
Abhi Lahare7-Jul-04 0:34 

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.