Search results

  1. S

    Problem Orbiter issue with FlatScreen TV

    Wasn't sure if this belonged in "Bugs" or not, just planted here in case. I have a three-monitor setup, on which Orbiter (both 2016 Standard and DX9) work just fine. I plugged a flat-screen TV (not a monitor) into my system, on one of the open HDMI ports. I wanted to have a large view in the...
  2. S

    SDK Question Need a VS setup refresher

    Ok, did that, and after redirecting the IDE to my Orbiter\Lib and Orbiter\Include directories, there were absolutely no compile or intellisense errors. Embarrassingly enough, this means that I did indeed botch the setup somehow. I'm just looking through the MegaZoomMFD Property Pages. Wouold...
  3. S

    SDK Question Need a VS setup refresher

    Ok, so I've spent the last four days (on and off) trying to get VS2019 to cooperate, to no avail. I've tried the suggested remedies, for which I am grateful for those who tried to help. I have also gone back into the SDK threads, and tried even the seemingly-outdated setup procedures from...
  4. S

    SDK Question Need a VS setup refresher

    I don't recall VS Setup ever prompting me about it. Is it something I can rectify? The Windows SDK reports as "Version 10 (Latest Installed Version)". Just FYI, I'm running Windows 8.1. Thanks again, and cheers!
  5. S

    SDK Question Need a VS setup refresher

    That cured the "char" error, but the others still remain. Honestly, I don't recall having these problems with the previous version of VS. Perhaps Microsoft changed something that is causing this. Is anyone else using VS 2019? I've tried using an "Empty Project" approach, but with the same...
  6. S

    SDK Question Need a VS setup refresher

    Followed your procedure, and intellisense has stopped complaining about the code, but the compile for a simple vessel gives me errors for lines not even in the code: CODE: (Simple, very basic vessel to test) COMPILE ERROR LIST: With only 33 lines of code, I can't see how it's showing compile...
  7. S

    SDK Question Need a VS setup refresher

    This is a little embarrassing, so please bear with me... After a year's hiatus, I'm finally able to get back into my vessel and MFD coding. I've put together an entirely new rig including hard drives, and needless to say, I've had to reinstall everything from scratch. No big deal. I was using...
  8. S

    Updates Artemis Program Updates & Discussions

    Agree completely. I think it would be one of the first things on the chopping-block, unfortunately.
  9. S

    Question Question for our resident STS experts

    I was testing a new addon in Orbiter for the STS last night, and I began wondering how the stock navigation tools in the simulator measure up to real life. Here's the scenario: Shuttle Endeavor launches into a 200km orbit. The launch goes without a hitch, ET separation is routine, and the...
  10. S

    API Question oapiBroadcastMFDMessage usage

    I've been using MMExt for quite a wile, as a prerequisite for certain addons. Had no idea this did the same thing. Any help on it's usage? Cheers, and thanx again!:cheers:
  11. S

    API Question oapiBroadcastMFDMessage usage

    In working on my StationTug I've been rifling through the Dragonfly code to get a feel for coding docking port management, and I came across oapiBroadcastMFDMessage. In the Dragonfly code, the usage seems to make a call to the stock DockingMFD, and after playing around with it, when used in...
  12. S

    General Question Scaling a bar graph in an MFD

    Face and Martin, thanks for that. The 350 figure was just an arbitrary number I used in the example. As well, I should have used the term "progress bar", which would have been less confusing. I figured it was a percentage, just couldn't work out how it was implemented. Cheers, everyone!!
  13. S

    General Question Scaling a bar graph in an MFD

    I'm trying to implement a simple horizontal-bar display of propellant resources in an MFD. It goes like: (just as an example) Propellant Resource: PR Bar-Width at full propellant: 350 pixels from left Bar-Width at zero propellant: zero pixels from left The filled bar is simply a visual...
  14. S

    API Question Quick Question re: VS2015 setup.

    Might not be VS2015 after all Ok, found out something interesting that has me even more perplexed than when I started... After I compile the vessel code, and start the Orbiter scenario that tests it, it works as it should: RCS works fine, everything looks perfect. ...until I close Orbiter...
  15. S

    API Question Quick Question re: VS2015 setup.

    Thanks for that, Kuddel. I really appreciate your taking the time to help. However, no dice there. I don't mind saying that it's somewhat frustrating. I've been testing builds in a fresh Orbiter2016 install (just in case it was another addon that was the culprit), but everytime I build now...
  16. S

    API Question Quick Question re: VS2015 setup.

    Gave this a shot, but still getting a crash. I'm using the SDK from the Orbiter2016 zip file, so I'm reasonably sure that it isn't the problem. Still thinking that there's something I've missed in the IDE setup. I'll keep trying. Cheers!!
  17. S

    API Question Quick Question re: VS2015 setup.

    I had to do a full reinstall of VisualStudio2015 Community last night, and now I'm getting crashes out of vessel compiles that worked before. I'm pretty sure I've botched the setup for VS2015 to work with the OrbiterSDK, as I'm getting debug and odd compile files in my Modules directory, and my...
  18. S

    C++ Question Need a bit of help with vessel cast

    Thanks for that, and understood. I've neatly grouped the string comparison with the ValidVessel method that is called off the MFD constructor, which I understand is only called once. Again, thanks to everyone for all the help!! And cheers!!:cheers:
  19. S

    C++ Question Need a bit of help with vessel cast

    Already done; switched to a dynamic cast and have everything exactly where I need it. bool TestMFD::ValidVessel() { hVessel = oapiGetFocusObject(); VESSEL *v; v = oapiGetVesselInterface(hVessel); sprintf(TestClass, v->GetClassNameA()); if (strcmp(TestClass, "Tug1") != 0) {...
  20. S

    C++ Question Need a bit of help with vessel cast

    Ah, I see it now. Ok, reworked it into a method called by the MFD constructor, and it works perfectly. Thanks for the help. And Cheers!!!:cheers:
Top