Results 1 to 3 of 3

Thread: copy api-functions to yor own dll?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    copy api-functions to yor own dll?

    hi,
    Is it possible to 'copy' functions from, let's say, kernel32.dll to a custom DLL?

    and is it usefull?

    When i have a small app that uses one function from a large DLL very often. is it better for the speed of the app. to extract the function and put it in a new DLL? so it won't need to load the large user32.dll??

    If this is a stupid question, please tell me gently

    Thanx,

    Remvs

  2. #2
    jim mcnamara
    Guest
    You can't do that.

    Plus, most dll's (even if they are huge and you are only using one function from the one hundred thay offer) are already on the PC before you ever wrote your program.

    Where you have the need to bring big files along with your program is when you are accessing COM objects (like a listbox).
    Then you lug along 5MB of .OCX file for one little control.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112
    Originally posted by jim mcnamara

    Where you have the need to bring big files along with your program is when you are accessing COM objects (like a listbox).
    Then you lug along 5MB of .OCX file for one little control.

    Thats true, as i have found out. I suppose thats the downside of VB? Not much i can do about it, except not using a RichTxtBox?

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