Page 1 of 1

Posted: Mon Mar 31, 2003 8:24 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.

I want to make a dll that makes some things and return the result to a process on the calling exe.
My dll is supposued to run with a VB executable.

I have used some dlls that return results in a procedure of the calling application if the calling app gives a pointer to the procedure.
Okay, i want to do exactly that.
That my VB code send a pointer to its procedure (function in VB) but, how do i return teh result to this procedure from my PB dll?

Hope i make my self clear :)

Best Regards

Ricardo

Dont cry for me Argentina...

Posted: Mon Mar 31, 2003 8:46 pm
by BackupUser
Restored from previous forum. Originally posted by freak.

So you have a pointer to a procedure and whant to call it with it's arguments, do I understand right?
Well, that would be just:

CallFunctionFast(Pointer.l, Argument1, Argument2, [...] )

Timo

Posted: Tue Apr 01, 2003 2:35 am
by BackupUser
Restored from previous forum. Originally posted by ricardo.

Thanks Freak

If you think it this is an easier way to pass strings betwen applications or even structures.
In my case i need to pass a percent of the work done and another info, so i will use this way to pass as many info as i need.

Thanks again!!

Best Regards

Ricardo

Dont cry for me Argentina...