Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using the Outlook type library in Qt
Forum Updated to NodeBB v4.3 + New Features

Using the Outlook type library in Qt

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    astodolski
    wrote on last edited by
    #1

    I'm trying to build the example qutlook which is an ActiveX example using the Outlook control. The project loads with the output: Project MESSAGE: Microsoft Outlook type library not found! I have access to the file MSOUTL.OLB which I got from my office machine and copied to the development machine to the project folder. I guess this may need to be registered on the dev. machine to be available as an ActiveX control but don't see how to do that.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @astodolski said:

      Hi
      have you tried
      REGSVR32.EXE c:\thepath\MSOUTL.OLB

      and see what it thinks ?

      A 1 Reply Last reply
      0
      • mrjjM mrjj

        @astodolski said:

        Hi
        have you tried
        REGSVR32.EXE c:\thepath\MSOUTL.OLB

        and see what it thinks ?

        A Offline
        A Offline
        astodolski
        wrote on last edited by astodolski
        #3

        @mrjj
        Hi,

        I did try that first.

        "The module 'msoutl.olb' was loaded but the entry-point DllRegisterServer was not found"
        "Make sure that 'msoutl.olb' is a valid DLL or OCX file and try again"

        It may not work unless Outlook is a registered control on the machine. It doesn't appear on the list of registered types

        mrjjM 1 Reply Last reply
        0
        • A astodolski

          @mrjj
          Hi,

          I did try that first.

          "The module 'msoutl.olb' was loaded but the entry-point DllRegisterServer was not found"
          "Make sure that 'msoutl.olb' is a valid DLL or OCX file and try again"

          It may not work unless Outlook is a registered control on the machine. It doesn't appear on the list of registered types

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @astodolski
          Can it even work when outlook is not installed ?
          Its outlook type lib.
          With VBA - outlook must be installed (on my project)
          but not sure what the Qt ActiveX sample really does.

          tried with
          dumpbin /exports "C:\Program Files (x86)\Microsoft Office\OFFICE11\MSOUTL.OLB"

          and it dont have DllRegisterServer so I thinks that what it says.
          so not sure it can even be registered that way.

          A 1 Reply Last reply
          0
          • mrjjM mrjj

            @astodolski
            Can it even work when outlook is not installed ?
            Its outlook type lib.
            With VBA - outlook must be installed (on my project)
            but not sure what the Qt ActiveX sample really does.

            tried with
            dumpbin /exports "C:\Program Files (x86)\Microsoft Office\OFFICE11\MSOUTL.OLB"

            and it dont have DllRegisterServer so I thinks that what it says.
            so not sure it can even be registered that way.

            A Offline
            A Offline
            astodolski
            wrote on last edited by
            #5

            @mrjj
            I don't if Outlook has to be installed or not. The control needs to be registered to be available

            mrjjM 1 Reply Last reply
            0
            • A astodolski

              @mrjj
              I don't if Outlook has to be installed or not. The control needs to be registered to be available

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @mrjj said:
              What what I can gather from VBA docs,
              outlook must also be installed for MSOUTL.OLB to work.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved