Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Goals for 2001
Message
De
03/01/2001 11:27:45
 
 
À
03/01/2001 10:24:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00458243
Message ID:
00458952
Vues:
26
>> So do you think C# is something that will stick? You sound like you've seen it work.

Again as a language C# is great, incorporate the CLR, BCL and the Visual Studio IDE and you have a really productive development platform.

For example to create an application that enumerates all the running processes on the local machine you could do something like this:-
using System;
using System.Diagnostics;

public class MyApp {
   private Process [] m_arrProcesses;

   public static void Main() {
      // Enumerate processes for the local machine.
      m_arrProcesses = Process.GetProcesses(".");

      int nCount = m_arrProcesses.Length;

      Console.WriteLine("Number Of Processes: {0}", nCount);

      // Display all the enumerated process names.
      for (int i = 0; i < nCount; i++)
         Console.WriteLine("Process: {0}", m_arrProcesses[i].ProcessName);
   }
}
Now create the same program using C/C++ with straight API calls and ask yourself will it stick?

There are bound to be issues and as a company we are committed to supporting our VFP/Visual C++ projects for some time to come.

Neil
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform