Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Talking to a VFP exe using a com dll
Message
De
13/05/2001 22:27:20
 
 
À
13/05/2001 22:10:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00506704
Message ID:
00506705
Vues:
19
>I have a VFP exe running with a visual presentation of records in a grid. This particular screen is a visual class. A separate exe(not VFP) will run a vfp com dll to update the records in the table the exe is displaying in the grid. How can I also have this dll refresh the screen in the original vfp exe.
>
>In other words; can this com dll talk to the exe that is already running? I'm new to this com process and am wondering if I can do this. I can't re-write this entire VFP app in the amount of time given but am planning on pulling some of the non-visual code out into dll's that other programs in this suite can use. However I need to be able to still talk to the original VFP exe in some fashion that will also be running. Is there some way of doing this without using DDE?
>
>Confusing, isn't it?
>
>Any help would be much appreciated.

First, you aren't using DDE ... you're using COM.

The EXE will make a call to the COM DLL and will wait until the COM DLL is finished processing. At that point, it can update its display.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform