Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can DLLs written in vfp (7.0,8.0) be used in ASP.NET
Message
 
À
02/10/2003 05:17:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00833733
Message ID:
00834204
Vues:
33
Single-threaded is not really the correct description- vfp mtdlls are apartment threaded. Also, the creation of the .Net proxy for a vfp mtdll can be accomplished with the tlbimp utility that comes with the free .NET Framework. VS.Net just uses tlbimp behind the scenes...
>Hi,
>
>>
>i have some DLLs component written in Visual foxpro 7.0 and i am planning an intranet using ASP.NET. Can i use these dlls with ASP.NET ?
>>
>
>Yes - you just need to create a .NET wrapper. If you have Visual Studio .NET this is as simple as adding a reference to your COM to the project. Also, since VFP COMs are single-threaded, you should set the aspcompat page attribute anywhere the COM is being used:
>
><%@Page aspcompat=true   
>
>
>HTH,
>Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform