I am trying to check out a library that provides a VC ++ example; however, I use gcc / g ++ for all of my projects.
Well, as an example, VC ++ accesses the library, it uses the #import directive , passing the location of the DLL, and then uses the LIBRARYNAME namespace , and then it can create some type undefined (I would assume that it is defined in the DLL) and create new instance of it using __uuidof. From now on, to call one of the library functions, the example simply executes createdObj-> foo () and what it is.
Well ... g ++ #import is different than importing VC ++ (see here ), so this example will not work for me.
Can this be converted to compilation under g ++, or am I SOL until the library developer gives me a static library that I can try?
source
share