- Messages
- 85
- Country
hey Palacio802
I am very much in the same boat as you, I have experience in c++ plus i prefer C++ to XML its a personal choice . you can use visual studio 2015 Community edition with out much issues. I myself am using VS2012 express whilst i learn the fundamentals of c++ gauge development and will move on to 2015 when I am ready to port my model over to 64bit. with regards to Kalong the setup is much the same but i will give it a whack to see if i can help.
first off load your IDE, ill do it with 2015 to make things easier. Start off by clicking new project and click the drop down for visual C++ (I am assuming 32bit for now) and select WIN32, This will allow you to select WIN32 console application.
http://prntscr.com/gk6wpg
Give your project a name and click ok. This will start the wizard for you, click next to go to the next page/window. Here you want to select DLL and empty project (see screenshot)
http://prntscr.com/gk6xti
After that click finish and you have a empty project ready to go.
http://prntscr.com/gk6yeb
Now we still have some set up to do. Again I am not sure on the set up for 64bit so this is all still 32bit.
Right click on the folder 'source' to add your first .cpp file this will be your main .cpp file that will include your #include header files as well as including the other .cpp files you will have. Once this file is generated you right click your project again to go to the properties.
http://prntscr.com/gk729k
you will be created by the properties window
http://prntscr.com/gk72ns
From here you will follow the link that Kalong gave you, they will be the same.
the next bit which is excluding files from your build is actually the bit I am about to mess around with now to do a test compile of my own c++ gauge, When I am successful i will post below to let you know exactly what has to be done.
if you want to as any questions just PM me ill be avaible for the next four hours then my 8month daughter will be home from her visit from grannies lol
regards
Daniel
Thank you very much, Daniel. I'll try to follow your instructions. Personally I prefer XML but I think C++ is more powerful and flexible. I can't imagine why P3D don't implement string variable capability. It would be great if we could write:
'LEZL' (>S:Scratchpad) or if we had the posibility to read/write files without the use of third party modules...
Last edited: