Results 1 to 6 of 6

Thread: List sub's in a .DLL

  1. #1
    Junior Member
    Join Date
    Dec 2020
    Location
    France
    Posts
    11
    Rep Power
    2

    List sub's in a .DLL

    Hi World,

    I hope somebody could help me finding the sub's in a .DLL file.

    Is there an utility, not necessarily in ThinBasic, allowing to list the subroutines in a DLL?

    Thanks for the help.

    Regards

    François

  2. #2
    Hi chameau
    I use this free utility https://ntcore.com/?page_id=388
    launch the explorer suite and then drag&drop the dll onto it's window, then to see the exported functions click on exports on the left pane, also good to see the dependencies by clicking on imports
    btw, you can also drop an executable to check for dependencies

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,089
    Blog Entries
    5
    Rep Power
    725
    Hello,

    consider having a look to the help file at EXE_PE_GetExportList function.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #4
    Junior Member
    Join Date
    Dec 2020
    Location
    France
    Posts
    11
    Rep Power
    2

    thanks

    @jack
    @petr

    Thanks for your answers .

    Hopefully they gave me the same list for my .dll

    In fact a friend gave me a vellemann board intended to control relays and manage analog I/O. (vellemann part N° K8055)
    With this hardware is provided some examples written in C++, pascal, visual basic, all with the same .dll .
    But, I prefer using TB to try using this board.

    Now I'll analyse the provided source examples to figure what the listed functions expect as parameters and returns as responses.

    The next thing to learn, with your help presumably, will be how to use these functions from a thinbasic script.

    Full of hope


    Best regards

    François

  5. #5
    @chameau
    you can download the source-code examples from https://www.velleman.eu/products/view/?id=351346, on the right click on Downloads (9) and then click on "Source code files for Borland C++ builder, VB6 and Delphi 6.x"

    the function declarations for VB6 in the file Form1.frm should be pretty close to what you need

  6. #6
    Junior Member
    Join Date
    Dec 2020
    Location
    France
    Posts
    11
    Rep Power
    2

    Arrow thanks

    Quote Originally Posted by jack View Post
    @chameau
    you can download the source-code examples from https://www.velleman.eu/products/view/?id=351346, on the right click on Downloads (9) and then click on "Source code files for Borland C++ builder, VB6 and Delphi 6.x"

    the function declarations for VB6 in the file Form1.frm should be pretty close to what you need
    @jack

    I already does this download, this is why I said that I have to analyse these source codes.

    And as I said in my previous post, I'll need to know how to use these functions from a TB script.
    This a question of time.

    And, you know, retired people have never enough time to do what they want to do.


    Best regards

    François

Similar Threads

  1. How to get a drive-list?
    By ReneMiner in forum thinBasic General
    Replies: 10
    Last Post: 16-10-2015, 20:35
  2. Typed List
    By ReneMiner in forum Suggest new module
    Replies: 4
    Last Post: 21-11-2012, 23:00
  3. List Parameters
    By danbaron in forum Science
    Replies: 0
    Last Post: 28-05-2011, 06:51
  4. Numbered List
    By catventure in forum thinBasic General
    Replies: 7
    Last Post: 01-12-2005, 22:47

Posting Permissions

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