How to call functions in a DLL?
From: Martin (martinvalley_at_comcast.net)
Date: 09/15/04
- Next message: Rick Rothstein: "Re: Round to Power of Two"
- Previous message: Pásztor, Zoltán: "Re: Round to Power of Two"
- Next in thread: Jim Mack: "Re: How to call functions in a DLL?"
- Reply: Jim Mack: "Re: How to call functions in a DLL?"
- Reply: alpine: "Re: How to call functions in a DLL?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 15 Sep 2004 06:38:25 -0700
How can I "call" functions in a 3rd-party DLL from my VB6 program?
In a separate project, I'm using some functionality provided as part
of PHP (server-side scripting) to create graphics files (.png and
.jpg). For those of you that might be familiar with it, it's called
"gd". This is open source software. The author of gd also makes this
functionality available as a Windows DLL. It's written in C and he
provides all of the source code. He says that the "...dll now uses the
__stdcall calling convention. This means the DLL is now compatible
with Visual BASIC and other languages that cannot handle the __cdecl
calling convention...".
I downloaded all of this stuff but I can't figure out how to use it. I
e-mailed the author asking for examples of its use in VB6 but he said
nothing was available and that I would have to write my own
"Declares". All of this is completely over my head - all I want to do
is use some of the functions.
Can someone tell me what I need to do here? I know WHICH functions I
need and I know HOW to use them (from working with them in PHP). But
I'm lost as to how to go about it in VB.
Help?
- Next message: Rick Rothstein: "Re: Round to Power of Two"
- Previous message: Pásztor, Zoltán: "Re: Round to Power of Two"
- Next in thread: Jim Mack: "Re: How to call functions in a DLL?"
- Reply: Jim Mack: "Re: How to call functions in a DLL?"
- Reply: alpine: "Re: How to call functions in a DLL?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|