Error after install

General discussions about GdPicture.NET.
Post Reply
jboland
Posts: 1
Joined: Thu May 07, 2009 4:28 am

Error after install

Post by jboland » Thu May 07, 2009 4:31 am

Running Visual Studio 2008, Vista x64, Windows Application. VB.net.

Getting an error when I run some simple code:

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Code: Select all

 Dim oImage As New GdPicture.GdPictureImaging
        oImage.SetLicenseNumber("xxx")

        Dim intID As Integer

        intID = oImage.CreateGdPictureImageFromFile("D:\Images\ToProcess\4648_01.jpg")

        oImage.ResizeWidthRatio(intID, 480, InterpolationMode.InterpolationModeHighQualityBilinear)

        oImage.SaveAsJP2(intID, "D:\Images\Web\test.jpg")

        oImage.ReleaseGdPictureImage(intID)

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Error after install

Post by Loïc » Thu May 07, 2009 8:37 am

Hi,

Could you identify the line raising this error ?
Did you dried with another images ?

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest