Interface GDPicture.Net to Dll written in Vc++ 6.0

Example requests & Code samples for GdPicture Toolkits.
Post Reply
Ezio
Posts: 16
Joined: Thu Apr 09, 2009 5:17 pm

Interface GDPicture.Net to Dll written in Vc++ 6.0

Post by Ezio » Thu May 21, 2009 3:50 pm

Now I write this post in forum, because I do not receive any answer to my previous e-mails.
I send it 18/05 and after 20/05

I must convert old application for Barcode recognition and Optical mark recognition in ".Net" enviroment.
I bought gdPicture to do it.
My recognition engine was developpede in c++ , using Visual studio 6.0, and require a DIB input to do recognition on it.
can you send me an example of GetDibFromGDPictureImage method?
have you try to work DIB prouiced from GetDibFromGDPictureImage method using unmanaged code?

Please answer also if you have received may previous e-mail.
I sent 2 message on 27 April, 1 message 18/05 , and 2 messages 20/05.
I did not receive any answer.
Last e-mail was send by different mail server and different e-mail address.
Is more important know if you receive may support request by e-mail.

Thank you for your attention.

Best regards.

Ezio Arnetoli

my e-mail address is ezio.arnetoli@technosoftsrl.it

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

Re: Interface GDPicture.Net to Dll written in Vc++ 6.0

Post by Loïc » Thu May 21, 2009 8:52 pm

Hi,

We do not provide free support per mail. Here you are in the good place !
can you send me an example of GetDibFromGDPictureImage method?

Code: Select all

Dim ImageID As Integer = oGdPictureImaging.CreateGdPictureImageFromFile("")
Dim Dib As IntPtr = oGdPictureImaging.GetDibFromGdPictureImage(ImageID)
Dim imageID2 As Integer = oGdPictureImaging.CreateGdPictureImageFromDIB(Dib)
oGdPictureImaging.ReleaseGdPictureImage(ImageID)
oGdPictureImaging.SaveAsBMP(imageID2, "imagefromdib.bmp")
oGdPictureImaging.ReleaseGdPictureImage(ImageID2)
have you try to work DIB prouiced from GetDibFromGDPictureImage method using unmanaged code?
Yes. No problem found.

See vb6 exemple:

Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Long
Dim ImageID2 As Long
Dim Dib As Long

Code: Select all

  oGdPictureImaging.SetLicenseNumber ("XXXX") 'Please replace XXXX by a valid demo or commercial license KEY
  ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("")
  Dib = oGdPictureImaging.GetDibFromGdPictureImage(ImageID)
  oGdPictureImaging.ReleaseGdPictureImage (ImageID)
  ImageID2 = oGdPictureImaging.CreateGdPictureImageFromDIB(Dib)
  Call oGdPictureImaging.SaveAsBMP(ImageID2, "c:\imagefromdib.bmp")
 
  oGdPictureImaging.ReleaseGdPictureImage (ImageID2)
Kind regards,

Loïc

Ezio
Posts: 16
Joined: Thu Apr 09, 2009 5:17 pm

Re: Interface GDPicture.Net to Dll written in Vc++ 6.0

Post by Ezio » Fri May 22, 2009 1:57 pm

Thank you for your answer,
I tried similar code in c# before ask you, and it work correctly, I had problem when I try to pass DIB to an external DLL.

Now I fix my trouble, The problem was in DIB you create, BITMAPINFOHEADER Height parameter was negative value, I convert it to positive and it works correctly.

About support you are right if you refer my question posted before 4/5/2009, but in this date I bought your product using Plimus and I receive a message where is specified esupport address to ask for technical question, with a response time of 2 days.

Please can you tell me your policy to support your customer?
What I must do if i Have a trouble to request a fix?

Please Can you tell me if you receive my previous e-mails or not, I want know if this channel of communication works or not?

Kind regards.

Ezio Arnetoli

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest