-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
flexpro.tlb not loaded
Accueil > Community > Automation and VBA > flexpro.tlb not loaded
Tagged: tlb
- This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by Bernhard Kantz.
-
AuthorPosts
-
October 14, 2020 at 12:35 pm #28424Peter EmmeneggerParticipant
I’ve successfully linked and used the full api. However, when opening the LabVIEW application again the tlb needs to be relinked. Is there a way to register the tlb?
Using regasm.exe gives the following error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>regasm.exe “C:\Program Files\Weisang\FlexPro 12\flexpro.tlb”
Microsoft .NET Framework Assembly Registration Utility version 4.8.3752.0
for Microsoft .NET Framework version 4.8.3752.0
Copyright (C) Microsoft Corporation. All rights reserved.
RegAsm : error RA0000 : Failed to load ‘C:\Program Files\Weisang\FlexPro 12\flexpro.tlb’ because it is not a valid .NET assembly
The cmd prompt was run in admin mode.
Suggestions are appreciated.
October 14, 2020 at 12:56 pm #28425Bernhard KantzParticipantRegasm.exe (Assembly Registration Tool) is used to register the contents of a .NET assembly, not to register an arbitrary type library.
When you use the Automation API e.g. in a C# program, you add the link to the FlexPro.tlb as a reference. How LabVIEW handles the necessary metadata to access COM objects does not fall into the scope of FlexPro.
-
AuthorPosts
- You must be logged in to reply to this topic.