Opening files with a C++ gauge in Prepar3D v4

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Locked
TheIronDuke
Posts: 18
Joined: Wed Oct 22, 2014 9:43 pm

Opening files with a C++ gauge in Prepar3D v4

Post by TheIronDuke »

I have a gauge (not a library) written in C++ and I want to log data to a file. I have tried _wfopen, and std::wofstream std::wofstream::eek:pen. Both crash the simulator.

Has anybody got some clues on how to write to files from a gauge?
User avatar
WarpD
Posts: 1469
Joined: Mon Feb 14, 2011 5:29 am

Re: Opening files with a C++ gauge in Prepar3D v4

Post by WarpD »

Where are you trying to write to? I suspect you're hitting a security issue.
Ed Wilson
Senior Developer
Mindstar Aviation
Locked