Regular Expressions and TypeLibrary
-
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:
-
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:
-
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:
#import is VC-specific feature. Tomasz Sowinski -- http://www.shooltz.com.pl
-
#import is VC-specific feature. Tomasz Sowinski -- http://www.shooltz.com.pl
-
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