Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Did anyone create FLL with VS2005?
Message
From
06/07/2006 16:05:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01134216
Message ID:
01134275
Views:
16
>>is it even possible? I created unmanaged part in C++ which makes calls to a C# dll. I get:
>>
>>Error 1 Command line error D8016 : '/clr' and '/Gr' command-line options are incompatible
>>
>>Cetin
>
>I rebiult my old FLLs, created with VS6, with VS2005 and had no problems, even after autoamatic converion of code.
>But they all are pure C++ code w/o calling any external functions/classes.

Rebuilding the ones do not have a problem but I want to use C# dll additionally. Actually I find C# much easier and that's the reason (and classes from CLR). Roughly it looks like:
#using MyNamespace; // MyNameSpace is in a C# dll

//...
...(..far *parms) 
{
  //...
  MyClass mc = gcnew MyClass(); // a class from DLL
  rettype ret = MyClass( paramarray );
//..
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform