Results 1 to 16 of 16

Thread: [RESOLVED] DLLs: What functions they have, which ones are called by what program

Threaded View

  1. #11
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: DLLs: What functions they have, which ones are called by what program

    Quote Originally Posted by SLH
    Thanks for thelink, i'll check it out asap.

    Is the VB code VB6 or .net? I don't have VB6 installed, so i wouldn't be able to compile it.
    If you have a working application that can do something like that, it'd be great!

    EDIT: I get the following error

    error C3501: there is no typelib registered for ProgID 'BackWeb.ClientExt.1'

    I cut & pasted that in. I don't need to copy the DLL to my application or anything do i?

    Also, what will this do, it seems i still need to know the function names/parameters to use the DLLs i import, unless i'm mistaken???

    EDIT2: Ah, didn't see that i need to look for a typelib key in the registary, they don't have any (tried a few DLLs), that means i'm stuck i guess??
    The code is VB6 but I have a compiled .ocx which when registered is scriptable from Windows Script Host. I've attached the ocx. If you do the following then the script should work too:
    1. Copy the .ocx file to the windows directory.
    2. Type the following into Start Menu -> Run
      Code:
      regsvr32 C:\winnt\typelib.ocx"
    3. Then run the VBScript and type the entire path of the DLL into the input box.
    4. It will create a directory called C:\documentation\ with a sub folder for each dll you type. This directory will contain a bunch of HTML files which pertain to each object in the DLL.

      If any of your DLL's have type libraries, this script will find them
    5. If you want to unregister the ocx after you are done you can type the following:
      Code:
      regsvr32 /u C:\winnt\typelib.ocx"
    Attached Files Attached Files
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width