Jump to content
The simFlight Network Forums

VTHMB - HUD


Recommended Posts

Hi Pete

May you remember my DLL “VthMb” running with FS2004 for which you give me a key in November 2005

I use this Vth (Viseur Tete Haute = HUD in french) for a course to train commercial pilots to the use of HUD which may be installed in Airbus 380 and

Business Jets as Falcon 2000 (please refer to the “2 Oct 2008 new” of www.headupflight.net)

Trainees have to select a flight by clicking one of the 8 Buttons on an Heading Dialog

I have a problem to reload a Flight

Clicking a button I load a flight with :

FSUIPC_Write(0x3F04, strlen(name), name, &Result);

FSUIPC_Write(0x3F00, 2, 0, &Result);

FSUIPC_Process(1Result);

It works for any selected FIRST flight

It works for ANY selected SECOND flight

Then it works ONLY if the same flight as the second one is selected

If not FS2004 freezes

I am fighting since several days

I will appreciate your help

What happens for this third selection ?

Best regards

Michel

michel.besson@numericable.com

Link to comment
Share on other sites

I have a problem to reload a Flight

Clicking a button I load a flight with :

FSUIPC_Write(0x3F04, strlen(name), name, &Result);

FSUIPC_Write(0x3F00, 2, 0, &Result);

FSUIPC_Process(1Result);

It works for any selected FIRST flight

It works for ANY selected SECOND flight

Then it works ONLY if the same flight as the second one is selected

If not FS2004 freezes

I am fighting since several days

And this has changed recently, or has it not been tested before?

FSUIPC merely calls the routine inside FS which is the same one used by Ctrl+; and the menu facilities.

Are you leaving enough time between the calls? i.e. is the flight fully loaded before you try again?

What happens for this third selection ?

No idea. FSUIPC can't do anything differently.

You need to always tell me the Version number of FSUIPC -- if not the latest, try that, just in case (the latest is 3.829, available in the Announcements above). Also, it would be useful to see the IPC write logging -- I take it you have used the Logging to check what you are doing?

[LATER]

I have just tested it using FSInterrogate, with three FLT+WX combinations renamed x y and z (to make it quicker to edit the pathname in FSInterrogate).

All three were loaded correctly. I continued and did the same three again, with no problems.

So, it sounds like you have some problem in your program (which you should be able to diagnose with the help of Logging), or possibly some problem with FS or your Flights.

But try the very latest FSUIPC first -- I was using 3.829.

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.