Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NET dll intellisense not working
Message
De
11/06/2010 07:17:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/06/2010 05:03:17
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01468446
Message ID:
01468473
Vues:
60
This message has been marked as a message which has helped to the initial question of the thread.
>I believe we did as described in http://www.devx.com/codemag/Article/22404/1763/page/2 by, if memory serves me right, Claudio Lassale along with articles by Rick Strahl, but I don't get intellisense.
>
>Well, strictly speaking, I guess I do - but not quite what I expected.
>
>I also run:
>%systemroot%\Microsoft.NET\Framework\v1.1.4322\regasm.exe comtest.dll /tlb:.\Com.comtest.tlb
>%systemroot%\Microsoft.NET\Framework\v1.1.4322\gacutil /if comtest.dll
>
>Regardless, the intellisense popup always only displays Equals, GetHashCode, GetType and ToString, which appear to be some sort of default.
>
>TIA
>
>Peter

Peter,
I haven't checked the article but seeing regasm I assume you are talking about .Net COM. Then you need to have some attributes to make it visible. Something like this:
    [ProgId("DotNetUtils.CB")]
    [ClassInterface(ClassInterfaceType.AutoDual)]
    [ComVisible(true)]
    public class SecLib
//...
With in these attributes almost none of the articles say that but ClassInterface is important, otherwise I don't get intellisense either.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform