Jump to content
The simFlight Network Forums

Andreww

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Andreww

  1. Thanks for the reply. I got it working with a little persistence soon after my initial post, building an MFC dialog in C++. It was quite easy to get it to display in FS; just needed to get the Instance handle of FS from DllMain, set this as the ResourceHandle and call DoModal. The code you used looks like you’re using Win32 methods for the dialog? Best Regards, Andrew
  2. I’m trying to call a dialog window designed with VC++ MFC. Obviously I can’t use the DialogBox() Win32 API; might anyone know how can I use the CDialog class to perform the same task in my FS module? Edit: Perhaps this method is what's needed. Maybe it'll also help Mirko with his modeless dialog application? Appreciate any suggestions.
  3. I believe AS only simulates weather to an Altitude of 39,000ft. Damian wrote a number of routines manipulating temperatures at altitudes higher than 39k to simulate a more realistic higher temperature; which works quite well. The problem arises when a temperature change of +/- 5 degrees or more occurs instantaneously which the autopilot routines struggle to cope with. I’ll check – might it be possible to use some of the offsets in FSUIPC (0EB4 for example) and implement our own manipulations into a gauge to control such fluctuations in the cruise only? I understand this may induce the same adverse affects you’ve described. Thanks for your input on this topic.
  4. Thanks for the reply Pete, I should have mentioned that these temperature shifts are experienced when using Active Sky (Build 193). I put the question to Damian Clark who suggested that I contacted you to see if it was possible to smoothen out the fluctuations. Thanks for the explanation. Regards, Andrew
  5. Hello Peter, When flying the PSS Concorde or Altitude Concorde; an aircraft that spends much of its time flying very close to TMO, instantaneous fluctuations in temperature can have considerable adverse affects. The wind and pressure smoothening controls in FSUIPC are superb; might it be possible to implement a similar feature in future version of FSUIPC to control temperature shifts in FS? I’d be happy to help out if any testing was required. Best Regards, Andrew
  6. Pete, I purchased a book and studied arrays. With your help, I have solved the problem. Thank you for your time. Regards, Andy
  7. I am experiencing a termination of Flight Sim when I resize the panel window that my FSUIPC gauge is placed on. To find the cause I removed all the FSUIPC elements, and added them back. It would appear that this section is not correct. Might I need to delay the connection to FSUIPC? I have asked many others for help, and with their knowledge in C/C++ they cannot see why there would be any issues with the following code. BYTE FsuipcMem=1024; DWORD dwResult; ******** case PANEL_SERVICE_CONNECT_TO_WINDOW: FSUIPC_Open2(SIM_ANY, &dwResult, &FsuipcMem, 1024); FSUIPC_Process(&dwResult); break; I am including the following in my C file, #include "fs2k2gauges.h" #include "FSUIPC_User.h" #include "FDUMP.h" #include "ModuleUser.c" As well as the FSUIPC_User.lib in the makefile. I do apologise for my lack of knowledge in C. If anyone might know what the cause of such an issue is, I would very much appreciate any help or suggestions you could offer. Regards, Andrew
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.