PDA

View Full Version : Newbie Question


mustang60348
14 Oct 2006, 10:10
Does anyone have a sample VS Project for Simconnect in C++ using Forms. Just something simple.

I have tried to develop one with forms but I can't get it to compile, it gives me a ton of errors when I #include "SimConnect.h".

scruffyduck
15 Oct 2006, 17:12
I don't use C++ but presumably you could create a Form and add a few controls (buttons?) and then use the events from them to run the SDK examples??

OK Sorry - an example of me not reading the post - you have tried this and gotten compiler errors. Have you been able to identify those errors? I presume that you are using Visual C++??

mustang60348
15 Oct 2006, 17:47
I don't use C++ but presumably you could create a Form and add a few controls (buttons?) and then use the events from them to run the SDK examples??

OK Sorry - an example of me not reading the post - you have tried this and gotten compiler errors. Have you been able to identify those errors? I presume that you are using Visual C++??

It is giving 171 syntax type errors from SimConnect.h

There is probably something simple that I am missing.

And the errors are coming from the compiler not the linker

jcboliveira
15 Oct 2006, 18:05
Are you trying MFC or win32?

José

mustang60348
15 Oct 2006, 18:08
Are you trying MFC or win32?

José


Win32 right now to start.