Problem when showing two forms with gdviewer on.

Discussions about document viewing.
Post Reply
wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Problem when showing two forms with gdviewer on.

Post by wallas » Wed Jun 27, 2007 2:13 pm

I need help,

Ive got an application in delphi 7, two forms, the FormA is the preview form, and FormB is to display the picture full screen. But once i close FormB, i get a access violation. even when i free the form!

Am i doing something wrong here?

Any help would be greatly appreciated!

Thanks!
Johann

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

Post by Loïc » Wed Jun 27, 2007 2:25 pm

Hi,

Are you using the last edition ?

Regards,

Loïc

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Post by wallas » Wed Jun 27, 2007 2:30 pm

i think so, i bought and downloaded it yesterday afternoon.

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Post by wallas » Wed Jun 27, 2007 2:31 pm

im using version 1.24

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

Post by Loïc » Wed Jun 27, 2007 2:40 pm

Ok.

What is the returned value of the GetVersion() method ?

Loïc

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Post by wallas » Wed Jun 27, 2007 2:44 pm

3.7

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

Post by Loïc » Wed Jun 27, 2007 2:49 pm

I think you are using an old version.

This methods must returns 3.78.

You can update from http://www.gdpicture.com/download.php

Loïc

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Thanks,

Post by wallas » Wed Jun 27, 2007 2:51 pm

Ill download and try it!

Thanks!

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Post by wallas » Wed Jun 27, 2007 3:01 pm

I downloaded the new version, and im running on 3.78 now, but i still get the same problem. Is there any other way to completely close the picture before closing the form?

Ive tried the following:

imvPreview.ClosePicture;
imvPreview.Close2Picture;
imvPreview.DisplayFromFile('');

Still, when the form closes, i get the access violation.

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

Post by Loïc » Wed Jun 27, 2007 3:04 pm

Ok,

Could you send me the source project (one another when the error appears) at esupport (at) gdpicture (dot) com ?

Regards,

Loïc

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Post by wallas » Wed Jun 27, 2007 3:06 pm

jip, ill send it to you within the next 5 mins!

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

Post by Loïc » Wed Jun 27, 2007 3:09 pm

Ok,

I will solve this problem ASAP

Loïc

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

Post by Loïc » Wed Jun 27, 2007 3:52 pm

Fixed!

You can download the last version from here:

Full package

http://www.gdpicture.com/download.php


Only OCX

http://www.gdpicture.com/ressources/ocx/


The GetVersion method must now returns 3.79

Best regards,

Loïc Carrère

wallas
Posts: 10
Joined: Thu Jun 21, 2007 11:55 am

Thanks Loïc!

Post by wallas » Wed Jun 27, 2007 4:14 pm

You're a legend!

I really appreciate the help you gave me! And best of all, how quick you responded and sorted it all out!

Once again, thanks a lot!

Regards,

Johann

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

Post by Loïc » Wed Jun 27, 2007 4:22 pm

Thanks,

You are welcome.

Regards,

Loïc

Post Reply

Who is online

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