Jump to content
The simFlight Network Forums
Sign in to follow this  
jclay13

PFC .dll crashes FS9

Recommended Posts

Hi Peter,

I seem to have a problem with any version of PFC .dll higher than 1.63.

I was running FSUIPC v3.11 with PFC v1.63 and had no problems. If I change the PFC .dll to v1.70 or 1.71, FS9 crashes the instant I touch my Mooney Yoke, rudder pedals, or throttle quadrant. Change back to v1.63 and all is well. Any idea?

Brief system specs:

Windows 98 SE

AMD Athlon 1.33 Ghz

512 MB RAM

GeForce 4 Ti 4200

Mooney Yoke

Rudder Pedals

Digital Throttle Quadrant

Share this post


Link to post
Share on other sites

I seem to have a problem with any version of PFC .dll higher than 1.63.

I was running FSUIPC v3.11 with PFC v1.63 and had no problems. If I change the PFC .dll to v1.70 or 1.71, FS9 crashes the instant I touch my Mooney Yoke, rudder pedals, or throttle quadrant. Change back to v1.63 and all is well. Any idea?

Sorry, none at all at present. :(

Can you try changing some of the recently introduced options, as a process of elimination? For example, in the [Connection] section of the PFC.INI file try:

SyncInit=No

AutoRestartTime=0

You could also enter the PFC "Test" page and see if you get the crash when operating the axes then. This could separate the area of code. Additionally, on that test page enable the

Also, as you are running Win98 the DrWatson dump would likely tell me everything I need to know, so could you check the section "If FS crashes ..." in the FSUIPC User Guide and get me a DrWatson -- ZIP it and send it to me at petedowson@btconnect.com. Please also include your FSUIPC.INI file and your PFC.INI file.

Thanks,

Pete

Share this post


Link to post
Share on other sites

I was running FSUIPC v3.11 with PFC v1.63 and had no problems. If I change the PFC .dll to v1.70 or 1.71, FS9 crashes the instant I ...

I've reproduced this now, under Win98SE. It is related to the automatic restart, so for now please set SyncInit=No, and AutoRestartTime=0 as I suggested.

I am trying to track down the reason for the problem, but so far it looks like the sort of thread and comms restart I am attempting is not possible on Win98. It works fine, 100%, on Windows XP. I may just have to make it automatically omit those facilities on Win98.

Regards,

Pete

Share this post


Link to post
Share on other sites

Two things I've now discovered:

1) Setting "SyncInit=No" won't help, sorry. The facility was originally designed defaulted off, and the parameter checked is SyncInit=Yes. Ooops! :oops:

2) I cannot make the restart sequence work at all on Windows 98. I've narrowed it down to the SetCommState API call. If seems to always crash the process when used for the second time on the same port, even with exactly the same data. It works completely on Windows XP. :cry:

For now I will test for Windows 98/Me and switch these new facilities off if those operating systems are detected. Look out for PFC version 1.72 later this week.

Apologies for the hassle.

Regards,

Pete

Share this post


Link to post
Share on other sites

Thanks for looking into that Peter. Sorry I couldn't get back to you sooner and help debug the problem. It was around 3 AM my time when I wrote the post and I had to get some sleep before I had to be at work 5 hours later. I'm at work now and it looks like you figured it out. I will stick with 1.63 for now and look for your update. I need to get off Windows 98. Thanks again.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • 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.