Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Goals for 2001
Message
From
03/01/2001 11:27:45
 
 
To
03/01/2001 10:24:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00458243
Message ID:
00458952
Views:
25
>> 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
Previous
Reply
Map
View

Click here to load this message in the networking platform