Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Regular Expressions and TypeLibrary

Regular Expressions and TypeLibrary

Scheduled Pinned Locked Moved IT & Infrastructure
c++visual-studioregexquestion
5 Posts 3 Posters 3 Views 1 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I'm using the Mingw compiler with the Dev C++ IDE. I want to use a typelibrary which I have extracted from vbscript.dll (regexp501.tbl) in my c++ application. I read the article on this site about using regular expression in c++ programs. There I was told to use "#import (the name of the typelibrary)". But the mingw compiler didn't like that. Any ideas? :confused:

    L T 2 Replies Last reply
    0
    • L Lost User

      I'm using the Mingw compiler with the Dev C++ IDE. I want to use a typelibrary which I have extracted from vbscript.dll (regexp501.tbl) in my c++ application. I read the article on this site about using regular expression in c++ programs. There I was told to use "#import (the name of the typelibrary)". But the mingw compiler didn't like that. Any ideas? :confused:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Ops... Not regexp501.tbl. regexp501.tlb is better :-)

      1 Reply Last reply
      0
      • L Lost User

        I'm using the Mingw compiler with the Dev C++ IDE. I want to use a typelibrary which I have extracted from vbscript.dll (regexp501.tbl) in my c++ application. I read the article on this site about using regular expression in c++ programs. There I was told to use "#import (the name of the typelibrary)". But the mingw compiler didn't like that. Any ideas? :confused:

        T Offline
        T Offline
        Tomasz Sowinski
        wrote on last edited by
        #3

        #import is VC-specific feature. Tomasz Sowinski -- http://www.shooltz.com.pl

        L 1 Reply Last reply
        0
        • T Tomasz Sowinski

          #import is VC-specific feature. Tomasz Sowinski -- http://www.shooltz.com.pl

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          But, is there no way to use typelibrarys with mingw or another c/c++ compiler?

          M 1 Reply Last reply
          0
          • L Lost User

            But, is there no way to use typelibrarys with mingw or another c/c++ compiler?

            M Offline
            M Offline
            Michael P Butler
            wrote on last edited by
            #5

            I'm not sure what COM support your mingw compiler has but it sounds like you might have to use COM the hard way and use CoCreateInstance. #import is VC specific and the only other way I know to import a typelibary is through VC class wizard. Michael

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups