Wow, talk about a roller-coaster (memory getting fuzzy now about exact sequence):
- back in early 2023, I get a basic C++ WinForm GUI running with MSFS SDK, not even knowing what type of program I create (from youtube video).
- decide on upgrading to HIDmaker FS2 to generate PIC and C++ USB code.
- generate USB C++ code, I chose C++ MFC cause I recently saw that in the MSFS SDK docs, compile in x86 ok.
- compile in x64, cause I just saw that again in the MSFS SDK docs, compile failed!
- google migrating C++ x86 to x64, looks like the apocalypse to me.
- figure I'll make a x64 program between the x86 C++ code and the MSFS SDK code.
- start googling, quickly narrow in on Inter Process Communication.- eventually IPC Shared Memory between x86 and x64 stands above the crowd.
- turns out the BOOST group have been working on that, some programmers report success, but never sharing a complete sample.
- I try it using the sample from Boost.org, fail miserably, so I made a rather lengthy post on Stack Overflow asking for help.
- as backup, I find out Adontec produces exactly what I need, just for $400USD, sent then a message to confirm it'll work under my criteria.
- as I'm reviewing the MSFS SDK docs, I notice they say x64 MFC app if you're interfacing "directly" with MSFS, but you can use an ordinary console app if you don't.
- Nothing to lose, so I switch back to C++ Winform, turns out I'm not, I'm just playing with a DLL.
- generate the C++ x86, then compile using x64, and BOOM! The darn thing compiled.
So yeah, been an up-and-down last few days. Hopefully things keep going my way.
Robert
"just a blind man running with a huge smile on his face!"
Bookmarks