Header file for QlmLicenseLib?

Comments

5 comments

  • Avatar
    Soraco Technologies

    Hi William

    I am not familiar with Metrowerks but in Visual studio you would do something like this:

    // Update the path accordingly
    #import "..........\redistrib\QlmLicenseLib.tlb"
    using namespace QlmLicenseLib;

    Note that you should also register the QlmLicenseLib.dll as follows:
    regasm /codebase <full path to qlmlicenselib.dll>

    and to create a new version of the QlmLicenseLib.tlb (in case you do not find it)
    regasm /tlb <full path to qlmlicenselib.dll>

    regasm is a Microsoft tool for registering .NET assemblies as COM objects. It can be found in a few places and you need to use the right one depending on your OS/.NET version:

    C:\Windows\Microsoft.NET\Framework\v2.0.50727
    C:\Windows\Microsoft.NET\Framework64\v2.0.50727

    C:\Windows\Microsoft.NET\Framework\v4.0.30319
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319

    Regards
    John

    0
    Comment actions Permalink
  • Avatar
    William Finzer

    John,

    I cannot make use of the .tlb in my situation. Can you provide the header file for QlmLicenseLib?

    Bill

    0
    Comment actions Permalink
  • Avatar
    Soraco Technologies

    Hi Bill

    The QLMLicenseLib.dll is not a C++ DLL. It's a .NET DLL and does not have a header as such.

    I'm not familiar with how Metrowerks integrates with .NET assemblies or COM object. Can you confirm that Metrowerks is able to interface with COM objects?

    Regards
    John

    0
    Comment actions Permalink
  • Avatar
    William Finzer

    John,

    Metrowerks CodeWarrior does not support .NET assemblies or COM objects.

    Are you able to provide a static library that we can link to?

    Bill

    0
    Comment actions Permalink
  • Avatar
    Soraco Technologies

    We are not able to provide a static library because the QlmLicenseLib.dll is a .NET assembly, not a C++ module.

    Regards
    John

    0
    Comment actions Permalink

Please sign in to leave a comment.