Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a Reference Error
Message
 
À
10/09/2004 16:57:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00941231
Message ID:
00941260
Vues:
10
>I am trying to add a DLL Created with Fox8 sp1 to a .Net ASPx project. The DLL is registered in my PC and it functions when called from Fox, all code variables types are declared. I am receiving the following error and have not found any answers on the www.
>
>A reference to 'jobsetmod Type Library' could not be added. Converting the type library to a .NET assembly failed. Error: Signature has invalid ELEMENT_TYPE_* (element type: 0x
>
>Any thoughts or suggestions would be most appreciated. Thank you

Not sure but it sounds like you have some type info in there as a parm or return type that the tlb import can't deal with. CHeck for any internally declared types and change those to VARIANT or Object and see if that helps.

The problem is that internal types don't get written into the type library so you can do somethin like this:

MyFunction(SomeParm as MyInternalType.MyType) as MyInternalType.OtherType


+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform