FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Assistance FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Assistance FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

flexpro.tlb not loaded

Page d'accueil ' Communauté ' Automation et VBA ' flexpro.tlb not loaded

Étiqueté : 

Voir les messages de 2 - 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #35250
    Peter Emmenegger
    Participant

    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:WindowsMicrosoft.NETFrameworkv4.0.30319>regasm.exe “C:Program FilesWeisangFlexPro 12flexpro.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 FilesWeisangFlexPro 12flexpro.tlb’ because it is not a valid .NET assembly

     

    The cmd prompt was run in admin mode.

     

    Suggestions are appreciated.

    #35251
    Bernhard Kantz
    Participant

    Regasm.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.

Voir les messages de 2 - 1 à 2 (sur un total de 2)
  • Vous devez être connecté pour répondre à ce sujet.