Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hey guys,

I have a problem, that I want with the FSUIPC SDK to write a program that recognizes the FS9 but it does not work, it works withFSX.

Here is the code to take the relationship with the FS9

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.Collections;

using FSUIPC;

namespace fs9

{

public partial class Form1: Form

{

public Form1 ()

{

InitializeComponent ();

}

private void Form1_Load (object sender, EventArgs e)

{

try

{

FSUIPCConnection.Open (FlightSim.FS2K4);

MessageBox.Show ("Connection Succsess");

FSUIPCConnection.Close ();

}

catch

{

MessageBox.Show ("Connection not succsess");

}

}

}

}

it just does not work that acute elle FSUIPC for FS9 is instaled butNOT actively centered.

I hope you can help me.

Best wishes Vincent

Posted

I have a problem, that I want with the FSUIPC SDK to write a program that recognizes the FS9 but it does not work, it works withFSX.

Why separate versions for FS9 and FSX? Why not just allow "ANY" so that your program works with both? The interface is the same except for the extras added in FSX, and you can check the version subsequently for that.

Here is the code to take the relationship with the FS9

What is "FlightSim.FS2K4" set to?

What does the FSUIPC ipcread logging show?

Pete

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.