Results 1 to 4 of 4

Thread: How to read the value of a function API Win32 ???

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jun 2022
    Posts
    3
    Rep Power
    0

    How to read the value of a function API Win32 ???

    Hello, I am new to the forum
    I'm starting to use ThinBasic, I also use FreeBasic.

    I have this code but it gives me an error.
    I need to do it like this to later call some non-windows DLLs.

    '-----------------------------------------------
    Uses "Console"

    Declare Function timeGetTime Lib "winmm.dll" () As Long

    PrintL (timeGetTime) '<--------- error here

    WaitKey
    '-----------------------------------------------

    Thank you very much in advance.
    Cheers
    Last edited by Tolo68; 06-06-2022 at 12:49.

Similar Threads

  1. Members who have read this thread
    By ErosOlmi in forum Web and Forum
    Replies: 0
    Last Post: 17-03-2013, 12:50
  2. EventShaper - experimental module to wrap ugly Win32 messages into user defined form
    By Petr Schreiber in forum Experimental modules or library interface
    Replies: 5
    Last Post: 09-05-2012, 19:35
  3. Interesting WIN32 progamming site
    By ErosOlmi in forum Development
    Replies: 1
    Last Post: 23-08-2009, 14:02
  4. Replies: 4
    Last Post: 13-04-2009, 22:55
  5. Some Win32 API usage statistics
    By ErosOlmi in forum Development
    Replies: 0
    Last Post: 15-03-2009, 23:16

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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