Results 1 to 6 of 6

Thread: DLL LOADING at Run Time

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    india
    Posts
    108

    DLL LOADING at Run Time

    can we load DLL at run time of our Application...

    i dont want to add DLL the desgintime thru add referances
    .......i want to add DLL when i need it to use.

    a
    regards

    anand
    Anand Thakur

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    If these DLLs are references used in your app , then you can't (I mean data.dll or winform.dll ) . If they are doing extra job , like plug-ins , then you yes you can . Search this forum for Plugins example posted by Cander .

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    india
    Posts
    108
    okey,,

    i have made a DLL to call some info from another process.. . named test.dll

    i dont want to use test.dll in referance, can i use its functions at the run time...with adding it in referance list

    anand
    Anand Thakur

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    That's what interfaces exactly do ! Have you read about it first !

  5. #5
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    The referenced DLL is not loaded when your applications starts. It is only loaded when you make a call to it. Just-In-Time Execution!

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    study this thread which is about dynamically loading dll's

    http://www.vbforums.com/showthread.p...hlight=plugins
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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