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 25 Aug 2015, 14:47 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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 25 Aug 2015, 15:52 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 25 Aug 2015, 15:57
      0
      • M mrjj
        25 Aug 2015, 15:52

        @astodolski said:

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

        and see what it thinks ?

        A Offline
        A Offline
        astodolski
        wrote on 25 Aug 2015, 15:57 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

        M 1 Reply Last reply 25 Aug 2015, 16:10
        0
        • A astodolski
          25 Aug 2015, 15:57

          @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

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 25 Aug 2015, 16:10 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 25 Aug 2015, 16:13
          0
          • M mrjj
            25 Aug 2015, 16:10

            @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 25 Aug 2015, 16:13 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

            M 1 Reply Last reply 25 Aug 2015, 16:24
            0
            • A astodolski
              25 Aug 2015, 16:13

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

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 25 Aug 2015, 16:24 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

              1/6

              25 Aug 2015, 14:47

              • Login

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