Jump to content
The simFlight Network Forums

What Am I Missing Here?


Recommended Posts

Hello,

I have Prepar3d v4.5 and recently had problems with the program causing me to uninstall and reinstall the program; meaning I pretty much had to start over. I have a PFC Jet Console with a serial port connection. I couldn't get the hardware to work. I updated to FSUIPC 6 (from 5) and downloaded the PFCDLL driver. I also have the PFC_Serial_Driver_FSX (all in my Modules folder) but still no go. When I try to install the serial driver I get this message: "Internal error: An attempt was made to expand the "app" constant before it was initialized". This message occurred both before and after updating FSUIPC. So, what am I missing here? Thanks.

Eric

Link to comment
Share on other sites

7 hours ago, Rameric5 said:

I have a PFC Jet Console with a serial port connection. I couldn't get the hardware to work. I updated to FSUIPC 6 (from 5) and downloaded the PFCDLL driver.

If using FSUIPC6, then you need the 64-bit driver, PFCcom64.dll.

7 hours ago, Rameric5 said:

I also have the PFC_Serial_Driver_FSX (all in my Modules folder) but still no go.

You should NOT have that in your FSUIPC6 installation folder.

7 hours ago, Rameric5 said:

When I try to install the serial driver I get this message: "Internal error: An attempt was made to expand the "app" constant before it was initialized". This message occurred both before and after updating FSUIPC. So, what am I missing here?

Where is that message from? The FSUIPC PFC drivers do not come with an installer - they are just dlls that you need to put into the same folder as the FSUIPC6.exe

Just download and copy the PFCcom64.dll driver to your FSUIPC6 installation folder and remove any other 32-but drivers.

Any further questions/issues, please attach your FSUIPC6.log file.

John

Link to comment
Share on other sites

Hi John,

I did as you said and removed the 32 bit parts of the PFC.dll download (pfc.dll and pfcfsx.dll) and kept the PFCcom64.dll in the modules folder and P3d is still not recognizing PFC.

9 hours ago, John Dowson said:
17 hours ago, Rameric5 said:

I also have the PFC_Serial_Driver_FSX (all in my Modules folder) but still no go.

You should NOT have that in your FSUIPC6 installation folder.

The PFC serial driver was just placed in the modules folder along with FSUIPC6, not in any installation folder. I had also tried removing it from that folder with the same lack of results.

10 hours ago, John Dowson said:

When I try to install the serial driver I get this message: "Internal error: An attempt was made to expand the "app" constant before it was initialized".

9 hours ago, John Dowson said:

Where is that message from? The FSUIPC PFC drivers do not come with an installer - they are just dlls that you need to put into the same folder as the FSUIPC6.exe

In my several attempts at doing stuff to figure this out I double clicked on the PFC_Serial_Driver_FSX folder and that opened up another folder of the same name except with a PFC logo as opposed to the regular yellow folder icon. I right clicked on that and clicked "run as administrator". A license agreement window popped up. After accepting the license agreement a "Ready to Install" window came up. Once I hit "install" the above message appeared.

As requested, I'm including the FSUIPC6.log files.

Thanks, 

Eric

 

FSUIPC6.log FSUIPC6_prev.log

Link to comment
Share on other sites

5 minutes ago, Rameric5 said:

I did as you said and removed the 32 bit parts of the PFC.dll download (pfc.dll and pfcfsx.dll) and kept the PFCcom64.dll in the modules folder and P3d is still not recognizing PFC.

P3D will not recognise PFC, but FSUIPC will. However, your logs show the PFC driver was not loaded. Are you sure you put the driver in the correct location, which is:
    C:\Program Files\Lockheed Martin\Prepar3D v4\Modules\
?

It could be because you have installed under the windows folder Program Files. This has some restrictions and you may need to run FSUIPC6 with admin privileges if running there, and so also P3D and any other add-ons you may be using also need to be ran with admin privileges. Better to re-install FSUIPC6 in a non-windows protected folder (e.g. C:\FSUIPC6 or C:\P3D-Add-ons\FSUIPC6)

10 minutes ago, Rameric5 said:

In my several attempts at doing stuff to figure this out I double clicked on the PFC_Serial_Driver_FSX folder and that opened up another folder of the same name except with a PFC logo as opposed to the regular yellow folder icon. I right clicked on that and clicked "run as administrator". A license agreement window popped up. After accepting the license agreement a "Ready to Install" window came up. Once I hit "install" the above message appeared.

No idea what that is but you certainly don't need it and shouldn't install it. It is for FSX, not P3D.

John

 

Link to comment
Share on other sites

Hi John,

7 hours ago, John Dowson said:

Are you sure you put the driver in the correct location, which is:
    C:\Program Files\Lockheed Martin\Prepar3D v4\Modules\
?

Absolutely. I was going to send the screenshot of the modules folder showing everything in it but it was too big.

Now that you mentioned it, I do remember something about not using Program Files, probably from this very forum. My work week is about to start so I will try your suggestions in 4 or 5 days. Thanks again for your help.

Eric

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.