Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with sockets
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01339151
Message ID:
01339861
Vues:
25
Hi Mark,

>Will I need an infinite loop in .Net in order to constantly pull data from that window?

In .NET you create a simple form and then override the WndProc method:
protected override void WndProc(ref System.Windows.Forms.Message m)
{
  switch (m.Msg)
  {  
  case WM_COPYDATA:
    // do something
    break;
  }
base.WndProc(ref m);
}
This method is automatically called when the VFP application sends data. You don't need an infinite loop if you call Application.Run(form).
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform