Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Did anyone create FLL with VS2005?
Message
De
06/07/2006 16:05:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01134216
Message ID:
01134275
Vues:
17
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform