CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2005
    Posts
    3

    Problem while debugging

    While trying to debug the code, we have a number of DLL that are included in the project and we get the messge as "Loaded symbols for C:\WINNT\System32\......" . I found it very strange but one of the DLL was being picked from E:\WINNT\System32, since this path was not present the debugging was giving me an error that the DLL is not found. I created this path and copied the DLL in the folder , this resolved the issue and now .. the code that comes now is..........

    Loaded symbols for 'C:\WINNT\system32\OLEPRO32.DLL'
    Loaded symbols for 'C:\WINNT\system32\MSMAPI32.ocx'
    Loaded symbols for 'C:\WINNT\system32\RNR20.DLL'
    Loaded symbols for 'C:\WINNT\system32\MSAFD.DLL'
    Loaded symbols for 'C:\WINNT\system32\WSHTCPIP.DLL'
    Loaded symbols for 'E:\WINNT\system32\RPCLTC1.DLL'
    Loaded symbols for 'C:\WINNT\system32\DBNMPNTW.DLL'

    You can see that the DLL RPCLTC1.DLL is being picked up from E drive.
    Why is this happening ? How can we change the path ?
    Any help is appreciated.

    Thanks
    Parth

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Problem while debugging

    Take a look at Tools, Options, Directories, Executable Files. Perhaps E:\WINNT\system32\ is added there.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Sep 2005
    Posts
    3

    Re: Problem while debugging

    I checked this option, but no E:\ was included in this option. I only have C:\ for all the inclueds in this option

  4. #4
    Join Date
    May 1999
    Location
    West Sussex, England
    Posts
    1,939

    Re: Problem while debugging

    You may have a registry entry which is telling another loaded object where to try and load the DLL from.
    Please use meaningful question titles - "Help me" does not let me know whether I can help with your question, and I am unlikely to bother reading it.
    Please remember to rate useful answers. It lets us know when a question has been answered.

  5. #5
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    Re: Problem while debugging

    Verify also if somehow:
    • 'E:\WINNT\system32\RPCLTC1.DLL' is added at Project Settings\Link\Object/library modules, or
    • #pragma comment(lib,"E:\\WINNT\\system32\\RPCLTC1.DLL") is written somewhere in source code.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  6. #6
    Join Date
    Sep 2005
    Posts
    3

    Re: Problem while debugging

    The only thing in the link tab of the setting is mnbname.lib ntwdbLib.Lib and paths are specified.

    Also i checked the code for any #pragma the only thing i could fine is #pragma once written in many pages and #pragma code_page(1252) written in the resource file. Since the code has not be written by been so i don't have much idea on what the second pragma statement does.

    I searched in the code and no where is E:\WINNT\ written .......

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