Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can DLLs written in vfp (7.0,8.0) be used in ASP.NET
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00833733
Message ID:
00834204
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform