GflaX with VB.NET project ?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

ImageViewer
Posts: 4
Joined: Mon Jan 17, 2005 8:54 am

GflaX with VB.NET project ?

Post by ImageViewer »

I tried to use Gflax in a VB.Net project (with Visual Studio .NET 2003). I imported it as COM component in the references. It's OK, I can access to all functions, but I've got an exception when the program is executed :

The COM object is not valid or not registered
(french translation of "L'objet COM avec le CLSID {A8F57566-79B7-48F3-B439-979373CFFF94} n'est pas valide ou n'est pas inscrit.")

Code: Select all

Private Sub ProcessFile(ByVal p_completepath As String, ...)
        Dim Ctrl As GflAx.GflAx
        Ctrl = New GflAx.GflAx

        With Ctrl
            .LoadBitmap(p_completepath) 
                     ...
Did I miss something in the installation of the library, is it possible to use gflax with VB.Net ?

I'm a beginner in "Windows" programmation (2 weeks) and rather experienced in Linux. But I tried to initiate myself at Microsoft World development. So if someone can help me ?!
ImageViewer
Posts: 4
Joined: Mon Jan 17, 2005 8:54 am

Sorry

Post by ImageViewer »

Oups ...

the dll wasn't registered ! I thinked It was as Gflax was listed in the COM components (when importing a reference)

It seems to work now ! I can test your library which sounds very good !