FS Force crashes when setting key presses

Discussions and general chat

Moderator: RussDirks

Seria17hri11er
Posts: 10
Joined: Tue Nov 26, 2013 3:34 am

FS Force crashes when setting key presses

Post by Seria17hri11er » Tue May 17, 2016 6:07 am

When I click in one of the boxes to set the joystick trim button, FS Force crashes.

Log file here:
https://drive.google.com/folderview?id= ... sp=sharing

I will look at the Event viewer to see what it says and post it here in a bit.

Seria17hri11er
Posts: 10
Joined: Tue Nov 26, 2013 3:34 am

Re: FS Force crashes when setting key presses

Post by Seria17hri11er » Tue May 17, 2016 6:15 am

Two crashes; one right after the other. If I click in Keyboard, it does not crash.

Faulting application name: Profile Manager.exe, version: 2.9.0.1421, time stamp: 0x572ab9ae
Faulting module name: Profile Manager.exe, version: 2.9.0.1421, time stamp: 0x572ab9ae
Exception code: 0xc0000005
Fault offset: 0x00022ec1
Faulting process id: 0x1bb0
Faulting application start time: 0x01d1afc8589b82ea
Faulting application path: D:\FSForce 2\Profile Manager.exe
Faulting module path: D:\FSForce 2\Profile Manager.exe
Report Id: 00b996ca-c92b-439f-afcb-280cc057e90d
Faulting package full name:
Faulting package-relative application ID:

Faulting application name: Profile Manager.exe, version: 2.9.0.1421, time stamp: 0x572ab9ae
Faulting module name: Profile Manager.exe, version: 2.9.0.1421, time stamp: 0x572ab9ae
Exception code: 0xc000041d
Fault offset: 0x00022ec1
Faulting process id: 0x1bb0
Faulting application start time: 0x01d1afc8589b82ea
Faulting application path: D:\FSForce 2\Profile Manager.exe
Faulting module path: D:\FSForce 2\Profile Manager.exe
Report Id: 6b47b01b-b060-4403-9fbc-479d281930ef
Faulting package full name:
Faulting package-relative application ID:

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Tue May 17, 2016 9:36 am

Please post or attach your "C:\ProgramData\FS Force\FSForce.cfg" file.

Also, please do the following steps:
  1. In the [General] section of FSForce.cfg, please add the following line (It will produce extra logging statements in the log file):

    Code: Select all

    MsgFilter=EnumDevice=|GameController=|Friendly name=
    If you already have a line starting with "MsgFilter=", delete it and replace with the above text.
  2. Then start Profile Manager and try to re-produce the crash
  3. Then post or attach the "C:\ProgramData\FS Force\logfile.txt" file.
Russel Dirks
Forum Moderator

Seria17hri11er
Posts: 10
Joined: Tue Nov 26, 2013 3:34 am

Re: FS Force crashes when setting key presses

Post by Seria17hri11er » Tue May 17, 2016 9:17 pm

Will do, thanks Russ.

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Wed May 25, 2016 9:25 am

Any update on this?
Russel Dirks
Forum Moderator

mikkel
Posts: 6
Joined: Fri Jun 03, 2016 4:59 pm

Re: FS Force crashes when setting key presses

Post by mikkel » Fri Jun 03, 2016 5:06 pm

Hi,

May I chime in on this thread? Using the latest version (just downloaded and purchased the program).

I have the same problem. The log output with the requested parameters inserted in the the config-file is:

---------------------------------------------------------------------------
Profile Manager [2016-06-03 12:02:19]
---------------------------------------------------------------------------
EnumDevice=Saitek Pro Flight Rudder Pedals
EnumDevice=Saitek X52 Flight Controller
EnumDevice=SideWinder Force Feedback 2 Joystick
GameController=Saitek Pro Flight Rudder Pedals
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time1
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
GameController=Saitek X52 Flight Controller
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time1
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
Friendly name=Z-akse, Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
Friendly name=X-rotation, Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
Friendly name=Y-rotation, Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6



Best regards,
Mikkel

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Fri Jun 03, 2016 11:32 pm

Mikkel,

Thanks for your contribution. I am unable to reproduce the crash on my test machines, so I am relying on reports like yours.

The logging output you provided was useful, however I still can't pinpoint the cause of the crash. I have prepared a modified version of Profile Manager (2.9.0.2271) with even more detailed logging output, which you can download from here : [see below for updated version].

Please follow these steps:
  1. Modify the "MsgFilter=" line in "C:\ProgramData\FS Force\FSForce.cfg" as follows:

    Code: Select all

    MsgFilter=EnumDevice|GameController|Friendly name|CJoystick::Init|EnumObjectsCallback
    
  2. Download and extract the version of Profile Manager linked to above. You can just place it in a temporary folder somewhere.
  3. Run the program and reproduce the crash. Please repeat 2 or 3 times to get consistent output.
  4. Post or attach "C:\ProgramData\FS Force\logfile.txt"
Russel Dirks
Forum Moderator

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Fri Jun 03, 2016 11:47 pm

Note that you can still program your trim commands the old way, by hand editing the FSForce.cfg file. This is described in the Getting Started page of the docs, under the Appendix. Please note that even though it describes it as being for P3D v3, it can actually be used for any version of FS.
Russel Dirks
Forum Moderator

mikkel
Posts: 6
Joined: Fri Jun 03, 2016 4:59 pm

Re: FS Force crashes when setting key presses

Post by mikkel » Sat Jun 04, 2016 1:37 am

Hi Russ,

You can find the log-output below:


---------------------------------------------------------------------------
Profile Manager [2016-06-03 12:02:19]
---------------------------------------------------------------------------
EnumDevice=Saitek Pro Flight Rudder Pedals
EnumDevice=Saitek X52 Flight Controller
EnumDevice=SideWinder Force Feedback 2 Joystick
GameController=Saitek Pro Flight Rudder Pedals
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time1
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
GameController=Saitek X52 Flight Controller
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time1
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
Friendly name=Z-akse, Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
Friendly name=X-rotation, Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
Friendly name=Y-rotation, Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6
---------------------------------------------------------------------------
Profile Manager [2016-06-03 20:36:12]
---------------------------------------------------------------------------
EnumDevice = Saitek Pro Flight Rudder Pedals
EnumDevice = Saitek X52 Flight Controller
EnumDevice = SideWinder Force Feedback 2 Joystick

GameController = Saitek Pro Flight Rudder Pedals
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Right Toe
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Left Toe
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Rudder
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5

GameController = Saitek X52 Flight Controller
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : X-akse
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Y-akse
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Z-rotation
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Z-akse
Friendly name=Z-akse, Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
EnumObjectsCallback : X-rotation
Friendly name=X-rotation, Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
EnumObjectsCallback : Y-rotation
Friendly name=Y-rotation, Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
EnumObjectsCallback : Skyder
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6
EnumObjectsCallback : Flyt op/ned
---------------------------------------------------------------------------
Profile Manager [2016-06-03 20:36:26]
---------------------------------------------------------------------------
EnumDevice = Saitek Pro Flight Rudder Pedals
EnumDevice = Saitek X52 Flight Controller
EnumDevice = SideWinder Force Feedback 2 Joystick

GameController = Saitek Pro Flight Rudder Pedals
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Right Toe
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Left Toe
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Rudder
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5

GameController = Saitek X52 Flight Controller
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : X-akse
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Y-akse
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Z-rotation
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Z-akse
Friendly name=Z-akse, Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
EnumObjectsCallback : X-rotation
Friendly name=X-rotation, Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
EnumObjectsCallback : Y-rotation
Friendly name=Y-rotation, Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
EnumObjectsCallback : Skyder
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6
EnumObjectsCallback : Flyt op/ned
---------------------------------------------------------------------------
Profile Manager [2016-06-03 20:36:34]
---------------------------------------------------------------------------
EnumDevice = Saitek Pro Flight Rudder Pedals
EnumDevice = Saitek X52 Flight Controller
EnumDevice = SideWinder Force Feedback 2 Joystick

GameController = Saitek Pro Flight Rudder Pedals
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Right Toe
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Left Toe
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Rudder
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5

GameController = Saitek X52 Flight Controller
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : X-akse
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Y-akse
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Z-rotation
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Z-akse
Friendly name=Z-akse, Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
EnumObjectsCallback : X-rotation
Friendly name=X-rotation, Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
EnumObjectsCallback : Y-rotation
Friendly name=Y-rotation, Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
EnumObjectsCallback : Skyder
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6
EnumObjectsCallback : Flyt op/ned

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Sat Jun 04, 2016 3:33 am

The problem might have something to do with the "Flyt op/ned" control on the X-52. According to Google, that means "move up/down" ... is that correct?

Does the x-52 have a control (maybe a trim control) that can spin indefinitely in a certain direction, in a similar way to how a track ball can be moved continuously without ever hitting a "stop"?

Try unplugging various controller to verify if it is the x-52 or not.
Russel Dirks
Forum Moderator

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Sat Jun 04, 2016 6:53 am

Here's a new version : [deleted]

It contains a possible fix, and some slightly more detailed logging statements. Follow the same instructions as in the previous post.
Russel Dirks
Forum Moderator

mikkel
Posts: 6
Joined: Fri Jun 03, 2016 4:59 pm

Re: FS Force crashes when setting key presses

Post by mikkel » Sat Jun 04, 2016 7:43 pm

Disconnecting the Saitek X52 solves the problem. And yes, the throttle has a trim-wheel on it. Or a mouse scroll wheel.

Reconnecting the X52 and following the same procedures as described before the app crashes. Log-output from ProfileManager 2275:


---------------------------------------------------------------------------
Profile Manager [2016-06-04 14:39:33]
---------------------------------------------------------------------------
EnumDevice = Saitek Pro Flight Rudder Pedals
EnumDevice = SideWinder Force Feedback 2 Joystick

GameController = Saitek Pro Flight Rudder Pedals
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Enter - Right Toe
EnumObjectsCallback : SetProperty
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Left Toe
EnumObjectsCallback : SetProperty
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Rudder
EnumObjectsCallback : SetProperty
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5

GameController = SideWinder Force Feedback 2 Joystick
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
CJoystick::Init Acquire
EnumObjectsCallback : Enter - X-akse
EnumObjectsCallback : SetProperty
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Y-akse
EnumObjectsCallback : SetProperty
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Z-rotation
EnumObjectsCallback : SetProperty
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Enter - Skyder
EnumObjectsCallback : SetProperty
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=2
POV 18000
EnumDevice = Saitek Pro Flight Rudder Pedals
EnumDevice = SideWinder Force Feedback 2 Joystick

GameController = Saitek Pro Flight Rudder Pedals
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Enter - Right Toe
EnumObjectsCallback : SetProperty
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Left Toe
EnumObjectsCallback : SetProperty
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Rudder
EnumObjectsCallback : SetProperty
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5

GameController = SideWinder Force Feedback 2 Joystick
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
CJoystick::Init Acquire
EnumObjectsCallback : Enter - X-akse
EnumObjectsCallback : SetProperty
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Y-akse
EnumObjectsCallback : SetProperty
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Z-rotation
EnumObjectsCallback : SetProperty
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Enter - Skyder
EnumObjectsCallback : SetProperty
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=2
POV 0
---------------------------------------------------------------------------
Profile Manager [2016-06-04 14:40:35]
---------------------------------------------------------------------------
EnumDevice = Saitek Pro Flight Rudder Pedals
EnumDevice = SideWinder Force Feedback 2 Joystick
EnumDevice = Saitek X52 Flight Controller

GameController = Saitek Pro Flight Rudder Pedals
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Enter - Right Toe
EnumObjectsCallback : SetProperty
Friendly name=Right Toe, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Left Toe
EnumObjectsCallback : SetProperty
Friendly name=Left Toe, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Rudder
EnumObjectsCallback : SetProperty
Friendly name=Rudder, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5

GameController = SideWinder Force Feedback 2 Joystick
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
CJoystick::Init Acquire
EnumObjectsCallback : Enter - X-akse
EnumObjectsCallback : SetProperty
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Y-akse
EnumObjectsCallback : SetProperty
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Z-rotation
EnumObjectsCallback : SetProperty
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Enter - Skyder
EnumObjectsCallback : SetProperty
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=2

GameController = Saitek X52 Flight Controller
CJoystick::Init SetDataFormat
CJoystick::Init SetCooperativeLevel
CJoystick::Init SetProperty(AUTOCENTER)
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
CJoystick::Init Acquire
EnumObjectsCallback : Enter - X-akse
EnumObjectsCallback : SetProperty
Friendly name=X-akse, Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Y-akse
EnumObjectsCallback : SetProperty
Friendly name=Y-akse, Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Z-rotation
EnumObjectsCallback : SetProperty
Friendly name=Z-rotation, Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Enter - Z-akse
EnumObjectsCallback : SetProperty
Friendly name=Z-akse, Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
EnumObjectsCallback : Enter - X-rotation
EnumObjectsCallback : SetProperty
Friendly name=X-rotation, Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
EnumObjectsCallback : Enter - Y-rotation
EnumObjectsCallback : SetProperty
Friendly name=Y-rotation, Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
EnumObjectsCallback : Enter - Skyder
EnumObjectsCallback : SetProperty
Friendly name=Skyder, Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6
EnumObjectsCallback : Enter - Flyt op/ned
EnumObjectsCallback : SetProperty

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Mon Jun 06, 2016 11:39 pm

If you have time, could you please try this new version: -deleted-
I would like to get it so Profile Manager can enumerate any button / axis on any joystick without crashing. :)

To configure log output, please set MsgFilter in FSForce.cfg as follows :

Code: Select all

[General]
MsgFilter=EnumObjectsCallback
Russel Dirks
Forum Moderator

mikkel
Posts: 6
Joined: Fri Jun 03, 2016 4:59 pm

Re: FS Force crashes when setting key presses

Post by mikkel » Fri Jun 10, 2016 2:09 pm

Hi Russ,

As requested:

---------------------------------------------------------------------------
Profile Manager [2016-06-10 09:08:45]
---------------------------------------------------------------------------
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
EnumObjectsCallback : Enter - Right Toe
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Left Toe
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Rudder
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
Error in routine Joystick Init (4) : E_NOTIMPL - The function called is not supported at this time
EnumObjectsCallback : Enter - X-akse
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=0, DIDFT_GETINSTANCE(dwType)=0
EnumObjectsCallback : Enter - Y-akse
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=1, DIDFT_GETINSTANCE(dwType)=1
EnumObjectsCallback : Enter - Z-rotation
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=5, DIDFT_GETINSTANCE(dwType)=5
EnumObjectsCallback : Enter - Z-akse
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=2, DIDFT_GETINSTANCE(dwType)=2
EnumObjectsCallback : Enter - X-rotation
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=3, DIDFT_GETINSTANCE(dwType)=3
EnumObjectsCallback : Enter - Y-rotation
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=4, DIDFT_GETINSTANCE(dwType)=4
EnumObjectsCallback : Enter - Skyder
EnumObjectsCallback : DIDFT_ABSAXIS
EnumObjectsCallback : Derived Offset=6, DIDFT_GETINSTANCE(dwType)=6
EnumObjectsCallback : Enter - Flyt op/ned
EnumObjectsCallback : DIDFT_ABSAXIS

RussDirks
Site Admin
Posts: 696
Joined: Sat Sep 13, 2003 1:18 pm
Location: Chilliwack, Canada

Re: FS Force crashes when setting key presses

Post by RussDirks » Sat Jun 11, 2016 12:04 pm

Based on the log output, I assume it is still crashing?
Russel Dirks
Forum Moderator

Post Reply