05-21-2012 08:20 AM
Please ignore my expert status as it is only java-related, my c/c++ knowledge is mainly dating back to university.
Call a function on the Microsoft Exchange Webservices (EWS).
What i try:
1) I downloaded Wsutil.exe, a tool to generate c-code from a wsdl
(it is in the windows SDK
2) I call the utility with the wsdl/xsd of the Exchange webservice, it generates several c- and h- files
3) I open Momentics with the hellocascades sample
4) I throw all of the c/h files into the hellocascades src folder, add #include for the three generated h files and press compile
5) I get a lot of errors, for example 'WCHAR' does not name a type
Is it possible that the generated code is only for Visual Studio and Momentics needs further imports or something like this?
I have attached the generated code as well as the webservices classes (wsdl+xsd), but not Wsutil.exe and wsutilhelper.dll as i don't like executables delivered by unknown people myself.
I know that this is not the easiest way to start, but i need a real target and compiling helloworld does not give me a thing.
If anybody had a small bit of time to give me some hints here I would be thankful.
Solved! Go to Solution.
05-21-2012 08:37 AM
05-21-2012 12:11 PM - edited 05-21-2012 12:15 PM
I think you're going to run into even bigger issues than that as I see it requires at least one .dll file to be linked which means you will most likely need to have a way to recompile that library as well.
Also, what I find easiest for me when trying to move/port something is to create a sudo directory structure under my project to move all the files into. ie if you need to import windows/services/someservice.h then i would make the directory tree for windows/services under my project directory and include the file there and just pass that structure as one of the include argument (-I. if needing windows/services/someservice.h and -Iwindows/services if needing just someservice.h).
05-29-2012 08:29 AM