Kevin,
> Third - you called your test function from within Form_Load. This will
> only
> (normally) run once for any particular form. So, I added a button to
> your
> form, and moved "i = doit(100)" into the new Button1_Click function.
>
> Works perfectly for me...
I had placed it in Form_Load f
FWIW - when following exactly the recipe you provided, mine worked OK.
Three
small changes though:
You had this in your VB form:
Private Declare Function doit Lib "bar.dll" (ByVal ...
However, since the function's name in MyTest.c is testit (not doit), I
added
Alias "testit", like:
Private D
Tim wrote:
> Ok, I've gotten a little further in my endeavors and am stumped again.
> Actually this is pretty much where I was stumped in the beginning, but I
> have made some moderate headway.
>
> I have successfully created a dl that can be called (successfully mind you)
> from Visual Basic,
Hallo,
from my understanding during the development of DLLs for VB there are
the following important things:
1. Compile with stdcall: VB uses the stdcall (Pascal) calling
convebtion. Either hardcode it (_I_ wouldn't do that) or use the -mrtd
with gcc.
2. When passing structs mind the sick pa
Ok, I've gotten a little further in my endeavors and am stumped again.
Actually this is pretty much where I was stumped in the beginning, but I
have made some moderate headway.
I have successfully created a dl that can be called (successfully mind you)
from Visual Basic, but unfortunately only on
Greets!
Could someone provide me an example(s) of creating a DLL under Cygwin that
can be used by Visual Basic (an example of this would be nice to).
For the second time now (could'nt let it get the best of me) I'm trying to
create a DLL and then use it in a VB app.
I've successfully created th
6 matches
Mail list logo