[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
FMS Forum • View topic - Does SmartPropo work with WinXP?

Does SmartPropo work with WinXP?

Postby darren_uk » Thu Oct 16, 2003 10:44 pm

I've put winmm.dll into Program Files\FMS but running FMS gives the error on the website.

I've uninstalled (not just disabled, really uninstalled) the modem device (it was under Modems in Device Manager).

I'm using Win XP Home.

Also, I've changed the properties of FMS to each of the compatability settings (Win95, Win98, WinNT and Win 2000) but all give the same error:

"An exception (C00000005) occurred during DllEntryPoint or DllMain in module: C:\Program Files\FMS\winmm.dll"

clicking OK gives:

"The application failed to initialize properly (0xc00000005). Click on OK to terminate the application."

clicking OK gives (again):

"The application failed to initialize properly (0xc00000005). Click on OK to terminate the application."


Has anyone successfully managed to get SmartPropo working on WinXP?

Can anyone suggest anything I could try to get it working?
darren_uk
 
Posts: 4
Joined: Sat Apr 12, 2003 4:14 am
Location: Near London, UK

Postby darren_uk » Fri Oct 17, 2003 3:22 am

I've managed to get SmartPropo TP2 (WDM version) working.

It works fine.

Shame the helicopters are a bit *too* stable - they're not like that in real life...

I'm so surprised the developers didn't include some randomness into the controll inputs to simulate light air turbulances, which is what happens with a heli near the ground.
darren_uk
 
Posts: 4
Joined: Sat Apr 12, 2003 4:14 am
Location: Near London, UK

Postby lego » Thu Oct 23, 2003 6:40 pm

Yes, it works fine!
The TP2 version is still a high risc.
User avatar
lego
 
Posts: 203
Joined: Mon Apr 21, 2003 7:27 pm

Postby RichM » Wed Dec 03, 2003 7:17 pm

Hi
I'm a software developer of some years experience but a complete innocent when it comes to RC.

Recently, I spent a couple of weeks running the SmartPropo DLL source (only source code available) under a number of different debuggers including Visual Studio and WinDbg. Frankly, what suprises me are the number of instances where you guys say it DOES WORK!? There are a huge number of exceptions thrown (even when you just run FMS with Windows own version of winmm.dll). I guess we have Borland to thank for that since FMS is built using a Borland product.

The furthest I got down that route was on the XP machine when FMS would load (with the SmartPropo DLL) but any attempt to access the Control Setting dialog would blow. Usually with the same old 0xC0000005 Access Violation.

The underlying cause for this particular error is when the interaction between SmartPropo & FMS results in a BAD ADDRESS being is passed, i.e.

...when SmartPropo (SP) intercepts a call from FMS to one of the joystick routines in Windows multimedia libraries. Having done it's business, SP then tries to return control to FMS. It is at this point that we get the 0xC0000005 Access Violation because the return address it attempts to use is generally something like 0x00000000 (i.e. garbage). This means that at sometime during SP's handling of the joystick call, the call-stack gets blown and any attempt to return to FMS goes astray.

Although I could see this happening in the debugger, I couldn't find a way to prevent it. I'm certain that the solution lies in the way the DLL is built. The calling convention used when linking separate executable modules determines how control is passed between blocks of executable code currently loaded into main memory. However, despite many attempts at building 'winmm.dll' with various combinations of function linkage, nothing that built successfully solved the problem?

Sorry for all the developer-speak, but I'm hoping someone out there with a similar background might have an idea or two?

My sound system is (on XP machine) an old (20-bit) Layal Box and a built-in Creative SB 128 on the ME machine.

Iv'e also tried SP's TechPrev 2 on the ME machine and can see all four signal types from my Sanwa RD6000 Pro, i.e. PCM1/2 & PPM +/- whizzing by happily in the Config Dialog scope-control but it has no effect whatever on the model in FMS, or indeed the bar-displays on the Calibration Screen ?

This was my main question as an RC virgin, would any of you expect my Sanwa gear to work with SmartPropo assuming I can get SmartPropo going? Am I wasting my time?

Luck to you all

RichM ???
RichM
 
Posts: 1
Joined: Wed Dec 03, 2003 6:38 pm

Postby deonvdw » Wed Feb 11, 2004 5:12 am

So what is wrong with a little developer speak :-)

I did a little work to enable PPJoy (http://ppjoy.uni.cc) to use the SmartPropo DLLs. [PPJoy will load the DLL and present it to windows as a virtual joystick]

I was rather amazed at the lack of error checking in the code. My goodness! But the DLL seems to run OK if it manages to startup without access violation.

I'm interested in building a cut-down version of the DLLs which does not try to wrap the original winmm.dll (I think this is the major source of errors). Basically just keep the scanning code. Someday (betweent the million other stuff) I will probably get around to it.

Of course - if anyone (RichM?) wants to pitch in with the development this can happen sooner.

Regards
Deon
deonvdw
 
Posts: 15
Joined: Wed Feb 11, 2004 4:39 am


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 6 guests

cron