PiBoSo Official Forum

GP Bikes => Support => Topic started by: HornetMaX on November 02, 2016, 09:40:07 AM

Title: Trouble making plugin run on XP
Post by: HornetMaX on November 02, 2016, 09:40:07 AM
@PiBoSo:

I've been informed that my MaxHUD plugin does not work on Win XP.

Initially I thought it was due to the fact Visual Studio 2015 has dropped support for Win XP by default, so I changed the toolset from v140 (the default one) to v140_xp (the one supposed to be XP compatible). I also recompiled one lib I use (SFML v2.0.4) using the v140_xp toolset (as by default, the binaries they ship are compiled with the default v140 toolset, hence they don't work on XP) but no joy, on XP my plugins seems to be not "executed" by GPB.

The SFML libs I use are statically linked into the .dlo.

Some of the things I tried (with forum user lkslodzkzn, who has the problem on XP):

Here's a test version of my plugin (.dlo and MaxHUD_data folder to be put into the plugins folder): https://mega.nz/#!II0iwKjI!Hu__z_HzgVKxh2ofi7T1_NH2z6mgOuqxxFPN3KyF2mE (https://mega.nz/#!II0iwKjI!Hu__z_HzgVKxh2ofi7T1_NH2z6mgOuqxxFPN3KyF2mE)

Is there a way for you to get any additional info about what's happening ? Maybe and error message when GPB tries to load the .dlo ?

I'm out of ideas: if no news I'll just forget about supporting XP.
Title: Re: Trouble making plugin run on XP
Post by: lkslodzkzn on November 02, 2016, 03:28:39 PM
Hi Max
Initially I thought it was due to the fact Visual Studio 2015 has dropped support for Win XP by default

On Microsoft download page requirements: Windows 10 ; Windows 7 Service Pack 1; Windows 8; Windows 8.1; Windows Server 2003 Service Pack 2; Windows Server 2008 R2 SP1; Windows Server 2008 Service Pack 2; Windows Server 2012; Windows Vista Service Pack 2; Windows XP Service Pack 3 
Title: Re: Trouble making plugin run on XP
Post by: HornetMaX on November 02, 2016, 03:30:57 PM
Quote from: lkslodzkzn on November 02, 2016, 03:28:39 PM
On Microsoft download page requirements: Windows 10 ; Windows 7 Service Pack 1; Windows 8; Windows 8.1; Windows Server 2003 Service Pack 2; Windows Server 2008 R2 SP1; Windows Server 2008 Service Pack 2; Windows Server 2012; Windows Vista Service Pack 2; Windows XP Service Pack 3
That's unrelated. The C++ compiler (vc14) in Visual Studio 2015 uses by default a toolset (v140) that is not compatible with XP.
In order to create applications that are compatible with XP, one must use a specific toolset (named v140-xp).
Title: Re: Trouble making plugin run on XP
Post by: lkslodzkzn on November 02, 2016, 03:42:25 PM
Ok, i was send You e-mail