Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with FoxFire - Conflict with MsgSvc ?
Message
From
30/10/1998 08:21:50
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00151507
Message ID:
00152710
Views:
17
>Roy,
>
>
>>I did install the VFP6 Foxfire patches. Everything in FoxFire runs fine as a standalone app. However, when compile with my MM project I get video artifacts (partial gray lines when the opening window appears that turn the whole screen gray when the window is dragged around the desktop) and tons of messages from Msgsvc that pop up in the middle of the screen with crytic messages like "Make text". Click on OK and it runs a bit and pops another msgsvc message... and so on.
>>
>>It appears that Foxfire calls a modified version of MsgSvc (ffmsgsvc)within itself that conflicts with the version in MM. Has anyone got any suggestions?
>
>Did the previous version of FoxFire (VFP5) work well?
>
>Regards,

The previous version of Foxfire (3.0+ less the three slightly modified files)works fine. Basically, the problem is that Foxfire has it's own modified version of MsgSvc that is older than the version you use in MM. When compiled into my application, the MM version intercepts the calls and causes problems. The solution I have worked out temporarily is to:

local lcOldDir, wasproc
lcOldDir = Set("Default")+sys(2003)
set default to FF30V
wasproc=SET('PROCEDURE')
RELEASE PROCEDURE "msgsvc.fxp"
DO ("foxfire") WITH "requests","","","ffconfig"
SET PROCEDURE TO &wasproc
set default to &lcOldDir

This is based partially on a suggestion from Micromega in which it was suggested using Set Procedure to (blank) instead of the Release Procedure line. However, this causes problems accessing the menu since it releases all procedures.

This solution appears to work OK but I still get the video artifacts. I think this is caused by the method FF uses to create the windows off screen and then move them in when instantiated. The interesting part is that when run as standalone (no MM), I don't get the artifacts... go figure. I don't think it's a video driver (does it with standard VGA driver as well). I think the solution is to just make my background gray (I am really getting tired of gray screens <g>) and the artifacts blend in. Whatever....

Thanks,
Previous
Reply
Map
View

Click here to load this message in the networking platform