2 Attachment(s)
Calling windows API via Call DLL in SB
Hi all,
I'm trying to implement a Windows API using the call dll function in SB. Consider the following lines of code, which either terminates SB directly or reports a GPF depending on running as test or debug:
Attachment 4979
Any ideas what could be wrong? I've also tried to define the kernel32.dll as %SYSDIR32%\kernel32.dll but same result. :eek:
PS: I've also tried to implement this windows API in Clarion (for those familiar with that! :-)) such as this, which works just fine:
Attachment 4980
Any input appreciated! :)
--
Best regards,
Christian
Re: Calling windows API via Call DLL in SB
Christian,
try:
long, *string, *string
Does this work?
Friedrich
Re: Calling windows API via Call DLL in SB
Quote:
Originally Posted by
linder
Christian,
try:
long, *string, *string
Does this work?
Friedrich
Wow, amazing! Works like a dream! Thank you so much! :)
--
Best regards,
Christian
Re: Calling windows API via Call DLL in SB
Perfect! Thank you for the good news :)
Friedrich