CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Location
    GA
    Posts
    2

    Hard coding dll location

    I'm writing a simple image viewer program that I want to distribute across multiple platforms. It has three depentant dll files that are referenced some where in the compiling process. Can I hard code a module that loads these dll files or references them from a preset directory or do they have to be registered in the system registery? If I can, how would I code It?


  2. #2
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793

    Re: Hard coding dll location

    You cannot do that if you insert the lib file of the dll's

    you can only do that when using LoadLibrary, there you can force loading the dll from any directory you which.

    Kishk

    [email protected]
    ICQ: 13610258

  3. #3
    Join Date
    Aug 2001
    Location
    GA
    Posts
    2

    Re: Hard coding dll location

    Thanks for the information. But, considering I'm not that advanced, would you mind sharing some code suggestions for using LoadLibrary?


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

Featured