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:

Name:  SB_CallDLL.jpg
Views: 83
Size:  45.5 KB

Any ideas what could be wrong? I've also tried to define the kernel32.dll as %SYSDIR32%\kernel32.dll but same result.

PS: I've also tried to implement this windows API in Clarion (for those familiar with that! :-)) such as this, which works just fine:

Name:  Clarion_winAPI.jpg
Views: 79
Size:  118.2 KB

Any input appreciated!

--
Best regards,
Christian