Reply to Thread

Post a reply to the thread: Calling windows API via Call DLL in SB

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-27-2020, 06:44 AM
    linder

    Re: Calling windows API via Call DLL in SB

    Perfect! Thank you for the good news

    Friedrich
  • 03-27-2020, 05:56 AM
    ChristianB

    Re: Calling windows API via Call DLL in SB

    Quote Originally Posted by linder View Post
    Christian,

    try:

    long, *string, *string

    Does this work?

    Friedrich
    Wow, amazing! Works like a dream! Thank you so much!

    --
    Best regards,
    Christian
  • 03-27-2020, 04:36 AM
    linder

    Re: Calling windows API via Call DLL in SB

    Christian,

    try:

    long, *string, *string

    Does this work?

    Friedrich
  • 03-27-2020, 02:45 AM
    ChristianB

    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.

    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

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •