Page 1 of 1

GdPicture & software 64bits

Posted: Fri Apr 13, 2012 2:05 pm
by jiffreui
Bonjour,

Nous avons développé une application Windev qui utilise GdPicture.

Nous appelons Gdpicture de la manière suivante :
gdAD est un objet Automation dynamique
gdAD = allouer un objet Automation "GdPicture.GdPictureImaging"

Tout fonctionne très bien tant que notre application est compilé en 32 bits. Mais si on la compile en 64 Bits, "GdPicture.GdPictureImaging" est considéré comme non installé.
Y'a t'il une installation à faire en particulier?

Re: GdPicture & software 64bits

Posted: Fri Apr 13, 2012 2:58 pm
by Loïc
Bonjour,

Quelle version de GdPicture utilisez vous ?

Loïc

Re: GdPicture & software 64bits

Posted: Fri Apr 13, 2012 3:02 pm
by jiffreui
Gd Picture.Net 8

Re: GdPicture & software 64bits

Posted: Fri Apr 13, 2012 4:24 pm
by Loïc
Ok je vois.
Il faut utiliser le regasm du répertoire %SystemRoot%\Microsoft.NET\Framework64.

%SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\regasm.exe GdPicture.NET.dll /codebase /tlb

Je viens de tester, ca fonctionne. Le prochain package fera ça de manière automatique.

Loïc

Re: GdPicture & software 64bits

Posted: Fri Apr 13, 2012 5:09 pm
by jiffreui
Merci pour votre aide! ça fonctionne.

Re: GdPicture & software 64bits

Posted: Fri Apr 13, 2012 5:11 pm
by Loïc
Super!
Merci pour le retour.

Une astuce pour garder le support 32-bit sur la même machine de dév.:

%SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\regasm.exe GdPicture.NET.dll /codebase /tlb:GdPicture.NET.64.dll
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe GdPicture.NET.dll /codebase /tlb:GdPicture.NET.dll