I am tired of the slow VB and I am tired of Designing in
Assembler(even though I use the best Compiler there is Pass32).
I can do Win32 DLL files in Pass32 4 Win32
I know that u always Push the Parameters to the stack when calling DLL's, And u get the Answer in eax
But I do not know how VB codes the "Declare" function
Example
Declare Function Proc Lib "C:\Asm\Pass32\WIN32\testdll.dll" (ByVal N As String) As string 'The VB Line
How does VB code "ByVal N as String", I guess that the offset to the string is pushed into the stack
And the most important Question
How do I get VB to Accept that the DLL returns a string




Reply With Quote