Call a method in own Dll from e.g.VB6 doesn't work
Call a method in own Dll from e.g.VB6 doesn't work
I have created a own DLL which use the GdPicture.NET.DLL to call only the method "CreateGdPictureImageFromFile".
If I call this own DLL from an other .Net application I get the handle as returncode.
But if I call this DLL from a VB6 application the returncode of the method "CreateGdPictureImageFromFile" is ZERO!
The GdPicture object is created at this time and other methods are running right.
If you will see what I have done, I can send you the VisualStudio2008.NET- DLL- project, the .NET-Test-project and the VB6-Test-project (total 6MB) in a zip.
I've try to upload this ZIP as attachment, but it doesn't work. (I think it's to big)
Is it possible to send you the ZIP-file?
Call my DLL from other VBA-projects doesn't work too.
Call this GdPicture method is essential for me and my application.
Using GdPicture.Net directly in VB/VBA isn't possible, I think.
If I call this own DLL from an other .Net application I get the handle as returncode.
But if I call this DLL from a VB6 application the returncode of the method "CreateGdPictureImageFromFile" is ZERO!
The GdPicture object is created at this time and other methods are running right.
If you will see what I have done, I can send you the VisualStudio2008.NET- DLL- project, the .NET-Test-project and the VB6-Test-project (total 6MB) in a zip.
I've try to upload this ZIP as attachment, but it doesn't work. (I think it's to big)
Is it possible to send you the ZIP-file?
Call my DLL from other VBA-projects doesn't work too.
Call this GdPicture method is essential for me and my application.
Using GdPicture.Net directly in VB/VBA isn't possible, I think.
Re: Call a method in own Dll from e.g.VB6 doesn't work
HI,
First,
I deleted your attachments - > They included your project source with a commercial GdPicture.NET license key ! Please try to not diffuse/share your unlocking key.
I will have a look on your project later...
Best regards,
Loïc
First,
I deleted your attachments - > They included your project source with a commercial GdPicture.NET license key ! Please try to not diffuse/share your unlocking key.
I will have a look on your project later...
Best regards,
Loïc
Re: Call a method in own Dll from e.g.VB6 doesn't work
Ok I found a problem related to COM interop.
I will publish a new package within few hours with this bug fixed and a vb6 sample using GdPicture.NET.
Cheers,
Loïc
I will publish a new package within few hours with this bug fixed and a vb6 sample using GdPicture.NET.
Cheers,
Loïc
Re: Call a method in own Dll from e.g.VB6 doesn't work
Where I can see and get the published new package?Loïc wrote:Ok I found a problem related to COM interop.
I will publish a new package within few hours with this bug fixed ...
We need it to go on.
regards
iirusger
Re: Call a method in own Dll from e.g.VB6 doesn't work
Hi,
The update are available from here: https://www.gdpicture.com/download/downl ... urenet.php
Best regards,
Loïc
The update are available from here: https://www.gdpicture.com/download/downl ... urenet.php
Best regards,
Loïc
Re: Call a method in own Dll from e.g.VB6 doesn't work
Really, it works.Loïc wrote:Hi, The update are available from here: https://www.gdpicture.com/download/downl ... urenet.php
I can call now my .NET-DLL from VB/VBA and get the right result.
Thank you.
regards
iirusger
Who is online
Users browsing this forum: No registered users and 1 guest