Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registering .net dll
Message
 
 
To
27/08/2008 21:09:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01342401
Message ID:
01342851
Views:
21
>You needn't copy regasm.exe at all.
>.NET Framework always installed in the fixed place under Windows directory.
>
>You just need to know which version of .NET Freamework your dll is using.
>
>Write something like this
>
>*If dll compiled for .NET 2.0
>regasm = "Run /N "+GetEnv("windir")+"\Microsoft.NET\Framework\v2.0.50727\regasm.exe YOUR_LIBRARY.DLL"
>*If dll compiled for .NET 1.1
>regasm = "Run /N "+GetEnv("windir")+"\Microsoft.NET\Framework\v1.1.4322\regasm.exe YOUR_LIBRARY.DLL"
>*Execute it
>®asm

I guess it would be better to have this as some external file with paths. Because there are .NET 3.0 and .NET 3.5
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform