Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Net Delphi? .Net Maytag Washer?
Message
From
28/08/2002 12:08:38
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00694381
Message ID:
00694518
Views:
16
Glenn,

One of the easisest ways to generate managed DLL's or EXE's is to use the following namespace.

System.Reflection

The Reflection namespace contains classes and interfaces which give you the ability to dynamically create and invoke managed types.

SET HYPOTHETICAL JIBBERING ON

You could create a namespace containing helper functions and expose it through the COM interop services of the CLR essentially giving you a set of COM interfaces enabling you to generate/emit IL instructions from VFP. If you want an example of doing this then there are examples in the tool developers section of the .NET installation that show you how to create a simple C compiler in C#. It wouldn't be to difficult to then create a utility that could parse simple VFP grammar and generate .NET assemblies.

If I get some time it might make a good piece of research.

Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform