CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Managed C++ and C++/CLI
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Managed C++ and C++/CLI Discuss Managed C++ and .NET-specific questions related to C++.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old July 7th, 2005, 07:09 AM
    alptek alptek is offline
    Junior Member
     
    Join Date: Jul 2005
    Posts: 9
    alptek is an unknown quantity at this point (<10)
    dll not found error

    i compile and build my application but when executing it gives xx.dll not found error. what can be the problem?
    Reply With Quote
      #2    
    Old July 7th, 2005, 08:47 AM
    wildfrog's Avatar
    wildfrog wildfrog is offline
    Elite Member
     
    Join Date: Apr 2005
    Location: Norway
    Posts: 3,934
    wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)wildfrog has a reputation beyond repute (3000+)
    Re: dll not found error

    It probably means that your program needs the specified dll, but it cannot find it.

    When looking for a DLL these directories will be searched:
    - The directory from which the application loaded.
    - The current directory.
    - The system directory. Use the GetSystemDirectory function to get the path of this directory.
    - The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched. Windows Me/98/95: This directory does not exist.
    - The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
    - The directories that are listed in the PATH environment variable.

    If the DLL isn't in one of these directories then you could either copy/move it there, or you can specify the directory in the PATH environment variable.

    If you're dealing with Run-time dynamic linking you can also use the SetDllDirectory(...) to modify your search path.

    - petter
    Reply With Quote
      #3    
    Old July 7th, 2005, 10:23 AM
    alptek alptek is offline
    Junior Member
     
    Join Date: Jul 2005
    Posts: 9
    alptek is an unknown quantity at this point (<10)
    Re: dll not found error

    thanks. i solved the problem. i added a path to the enviromental variables
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Managed C++ and C++/CLI


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 05:21 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009