Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Background DDE ADVISE process
Message
From
19/10/1998 20:07:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Background DDE ADVISE process
Miscellaneous
Thread ID:
00148336
Message ID:
00148336
Views:
59
I have this app that runs in FPW2.6 and does DDE with another VFP5 app. The 2.6 app has a screen that sits waiting for input. On an external keyboard,(via rs232 comms) a user can enter input and this is passed in an advise loop from the vfp5 app to the 2.6 app via dde. I was using KEYBOARD to stuff the 2.6 buffer and stuff keystrokes to activate buttons on the screen. This fails sometimes and the KEYBOARD strokes are "Eaten" and don't appear on the screen.

I tried making the screen variable public and setting this from the advise. This works as well as the calling of the valid function of the screen. But when I issue a CLEAR READ in the Advise background process, it has no effect on the screen.

I need to be able to call functions in the screen code (foreground) as well as clear the screen read, from the background process - the one run by the DDE advise.

KEYBOARD is not reliable as WAIT Windows "eat" the keystrokes. Would using PLAY MACRO be more reliable or is there another way. I am at my wits end and the client is getting ratty.

Please help

Bernard
Reply
Map
View

Click here to load this message in the networking platform