Debugging in a dll on another computer, in another folder.

Hi,
I have a dll which was produced with VisualStudio2008, as console app. I have on that PC (let's say DevPC ):
C:\DevLoc\IntAd.cpp (dll source file)
C:\DevLoc\IntAd.dll
C:\DevLoc\IntAd.pdb (symbol file)
This dll is used also on another computer (let's say AppPC), in another folder (let's say AppLoc). In order to be able to debug in the dll on AppPC using VisualStudio I had to put there also the pdb file (but in original folder) and the source file in
the AppLoc so I have there:
C:\AppLoc\IntAd.dll
C:\AppLoc\IntAd.cpp
C:\DevLoc\IntAd.pdb
This works but then if put on AppPC the source file also in the original location (so I have it in both) like:
C:\DevLoc\IntAd.cpp
the debugger will prefer this one, will enter this one at run time. Strangely, VisualStudio debugger is "smart" (with or without quotes) enough that if I open C:\AppLoc\IntAd.cpp and try to put at run time a breakpoint inside, will automatically
open C:\DevLoc\IntAd.cpp and put the breakpoint there. The problem is that the two source file(s) might be different versions.
Now come the questions and they might seem like XY questions but I'm interested what options I have and how each one can be achieved:
1) What can I do so in the IntAd.dll is embedded not absolute but relative path to the IntAd.pdb so I can put the symbol file in the same folder as the dll file?
2) How can I modify IntAd.dll (I mean really to edit the dll file) to change the pdb path embedded in it? This way I could put the pdb in whatever folder I want on the AppPC. A dirty solution I thought was to edit the file and to change the pdb path and
to pad with trailing spaces that pdb fully qualified name to match the original name length. This, of course, assuming that new name is shorter than original name (to ensure that, on DevPC I should chose a ridiculous long directory name). Would this work?
3) Why is C:\DevLoc\IntAd.cpp prefered by debugger instead C:\AppLoc\IntAd.cpp if both exists? What can I do against?
Thanks

@  MaybeCompletelyW: If I set the symbol path, this means that also on DevPC that path will be used, is still a fixed path. The thing is that I need a portable package, so I can deploy the three files (cpp, dll, pdb) in the same folder, whichever
it is. The problem is that the dll is deployed on several AppPC's, on each one in another folder, on each one could be another version and I need to be able to debug in the dll on each AppPC without rebuilding the dll there. I thought about setting symbol
path like $(PathFromSysVar)\IntAd.pdb but it seems to me that in dll file the path is still explicit and full.

Similar Messages

  • I recently bought a macbook and im trying yo sync all my 2600 photos to it but my phone is synced to another computer in another country which i cant access!! Will i loose all my photos or is there any other way of keeping them and uploading to my new mac

    I recently bought a macbook and im trying yo sync all my 2600 photos to it but my phone is synced to another computer in another country which i cant access!! Will i loose all my photos or is there any other way of keeping them and uploading to my new mac?????

    Hi jonnywilson78!
    Here is an article that will instruct you on importing your photos from your iOS device to your new computer:
    iOS: Importing personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/ht4083
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Can you transfer everything on itunes on another computer to another

    i have my old itunes with a lot of stuff on my home computer but i want to get all of it on my labtop can I do that?

    Choose Consolidate Library from the Advanced menu or the Library section of the File menu in iTunes, find the iTunes library location from the iTunes preferences, and move the folder to the new computer using any method necessary, such as an external drive, optical disks, or a network connection.
    (37823)

  • Transferring itunes to another computer with another account already on it

    Hi all,
    So I know this has probably been asked hundreds of times but I thought that I wanted to get a personal response to my situation.
    Basically, the current setup for my wife and I is that we both have separate windows laptops, with itunes and separate itunes accounts on. However, we are getting rid of my wifes laptop and she is getting an iPad for what little 'work' she uses the laptop for, and then we have always got the one laptop anyway. However, we waqnt to keep separate Itunes accounts as her taste in music is not like mine, and I don't want namby pamby pop music on my account at the risk of accidently loading it on my iPod!
    Therefore, what I want to know is:
    1) How can I remove all of the music from the wifes laptop and transfer it on to my laptop, but wanting to keep it in a separate iTunes Music folder,
    and
    2) Is it possible to have one iTunes on the computer but have different accounts on it?
    I am hoping that it is possible for this so that if I open up itunes and access my account it ony shows my music, and visa versa.
    Many thanks in advance for any responses and help that you can give,
    Regards,
    Richard

    Hello Richard,
    Welcome to Apple Support Communities.
    The following article will tell you how to set up multiple accounts on one computer.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/ht1495
    And this Support Communities discussion will provide some additional tips:
    How to manage multiple...: Apple Support Communities
    https://discussions.apple.com/thread/5534797
    Regards,
    Jeff D.

  • Windows 7 fails when authenticating to another computer on the network

    In Windows 7 (home premium, 64 bit), I am attached to a VPN (Using OpenVPN). Then, whenever I try to either:
    - Use explorer to look at the file system of another computer 
    - Use the remote desktop connection on another computer
    - Map a folder on another computer as a network drive
    ... in all of these cases, I get the authentication dialog and once I send my username and password, it crashes. For example, when I use explorer, it hangs, and then comes back with the message: "Explorer has stopped working"
    I have elsewhere seen a proposed solution for similar symptoms, of deleting this key: 
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQMClient\Windows\DisabledSessions\MachineThrottling 
    However, this is not applicable in my case, as the key is not present.
    I don't think that this can be a problem with the network, because:
    a) this works fine from a different computer, running XP,
    b) I have in fact seen this working on this computer, but just once, straight after a system restore, and I can't replicate the success by doing another system restore.
    c) If it were a problem with the network, you would expect Windows to fail gracefully.
    Additionally:
    - Disabling the firewall doesn't help.
    - Disabling the antivirus software (AVG) doesn't help.
    - Doing a clean boot doesn't help.
    I'd be grateful for any suggestions.

    try changing windows authentication levels
    http://social.technet.microsoft.com/Forums/windows/en-US/aca3e2d0-6d43-431f-bbba-3c01aea6d5a6/changing-authentication-level?forum=w7itpronetworking
    http://technet.microsoft.com/en-us/library/jj852207.aspx

  • Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901

    Hi Everyone,
    I have a program that sends information(analog output) to lab windows cvi in the form of a text file or user input.
    The program runs on the computers that I have the field point explorer and lab windows cvi installed on. In order to run the program without always installing labwindows/cvi and field point; I wanted to create an executable file that could be load on another computer.
    I used the create distribution kit part of labwindows/cvi to do this.After creating the distribution kit, I then installed it
    to another computer.
    My user interface appears on the screen, when the user clicks on the exe. file, but no data is sent to the field point module. I know that the data is being read from the user and textfile because in it appears in the uir.
    The following are some details about the problem:
    1. On another computer without labwindows/cvi and field point explorer not installed - no data is sent to field point module
    I know this because a current is being read on the current meter connected to field point module.
    My questions are the following:
    1. What are the possible reasons for the data not being sent to the field point module?
    2. Do I still need to create an iak. (Installing Field point Explorer) file stored on any new computer that I install my created distribution kit file too?
    Thankyou very much for any help that you can provide. I greatly appreciate it.
    Faen9901

    Re: Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901Faen9901,
    1) If you do not install FieldPoint Explorer, the FieldPoint Server is not installed so there is nothing on the target computer that knows how to talk to the FieldPoint system.
    2) Yes, you need an IAK file on the target computer. Assuming the settings (i.e. com port#) are identical you can simply include the iak file as part of the distribution.
    3) You also need to include as part of your installer the file "fplwmgr.dll". If this file is not installed, your program will not be able to access the FieldPoint Server. Alternatively, this file is installed automatically if FieldPoint Explorer detects LabWindows/CVI or Measurement Studio Development versions on the target computer or if you choose to do a custom FieldPoint Explorer installation and
    choose to provide LabWindows/CVI support.
    Regards,
    Aaron

  • How can I transfer work from one computer to another?

    How can I transfer work from one computer to another?

    Welcome to the forum.
    I can think of three basic ways to accomplish what you wish to do:
    Use the Project Archiver to archive your Project (and check the box to gather the media files), to an external HDD. Probably the easiest way to do it.
    Copy the Project and ALL media files to an external HDD, but be prepared to relink the media files to the Project, as the drive letter (part of the Absolute Path) will have changed.
    Edit loosely, and Share to an AV file, which will be Imported into a New Project on that second computer. Or, edit VERY tightly, and do the same. I like the first, as removing, replacing Transitions, etc., can be much more difficult, unless that "tight edit" is 100% done.
    Good luck,
    Hunt
    Message was edited by: Bill Hunt to correct formatting

  • How can i transfer apps from one computer to another?

    My i-pod touch was on one computer and i would like to change my apps from that computer to another.

    The simplest solution is to copy the iTunes folder from the other computer to the new one. This will transfer everything including music, apps, etc. The folder is /Home/Music/iTunes/.

  • How can i copy apps from one computer to another?

    how can i copy apps from one computer to another?

    You don't mention which operating system you have so it's difficult to provide an answer since the mac and Windows stores the files differently.
    The other thing you can do is just re-download the apps from the iTunes Store. Just login to the iTunes Store on the other computer using the same Apple ID. On the right-hand side of the iTunes Store page you will see a 'Purchased' link. Clicking on that will take you to a page that will list your past purchases which you can re-download to the new computer.

  • How do I move ITunes from one computer to another

    I am trying to move my ITunes from one computer to another. I downloaded ITunes on my new computer and loged in with my account information. Then I pluged my IPod into the comuter and imported all my songs. I thought that everything would come over but none of my apps did. I want to synce my IPod up with my new computer how do I do it?

    Backup everything to an external hard drive with this User Tip.
    Use the same process to clone the library into a new empty iTunes folder on the new computer.
    Deauthorise the old box if you don't need to access protected content on it any more.
    Use SyncToy from time to time, and in particular before every iTunes update, to keep the backup up-to-date.
    tt2

  • I want to transfer my entire itunes account to another computer. how can i get all of the music i put on my computer on a new computer?

    So my family had a computer that kept all of the songs and videos on it for itunes. how can i transfer all of that data to another computer and put that new computer as our home computer for the home itunes computer? please help me. i have been trying to figure this out for 2 months now.

    open itunes on the new computer and go to the itunes store
    make sure you are signed in with the apple id of whoever purchased all of music from the itunes store
    on the right hand side of the itunes store home page, under quick links click 'purchased'
    you will be able to download anything you have previously purchased for free
    let me know if that works for you.

  • The USB drive on my computer is no longer working. How can I transfer my iPod libarary to another computer

    The USB drive on my computer is no longer working. How can I transfer my iPod library to another computer.

    Try:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • I lost my bookmarks after transporting hard drive to another computer, but I didn't save them in a specific folder, so how do I get them back?

    Our computer crashed almost two weeks ago so my dad took it to Best Buy to get it fixed, and they said that we were very close to the hard drive going out and losing everything. Luckily, they said that they could easily transfer all of our data into another computer, but that they would have to keep it over night.
    So they did, and when I got it back I immediately went to Microsoft Word (after we installed it again, of course) to see if all of my documents were there. (I am a writer, so it's very important to me.) Only half were there, so my father took it back and they said only half transferred, but they could transfer it all, no problem, it just has to stay over night again. (They also installed iTunes, etc. for us so we wouldn't have to. It was very nice of them.)
    When they gave it to my father, they said my bookmarks should be on there. Well, when we came home and hooked the computer up, the only book marks there were some from years ago, but not mine. I DIDN'T ever save my book marks to a specific file; I would just click the Bookmarks tab, hit Bookmark This Page, and then click Done, and it would appear at the bottom.
    Well, my book marks are not there and I cannot find them any where; no site has helped and they are VERY important. My dad refuses to talk to the tech guys again, so I would REALLY appreciate help.
    Thank you!!! :)
    P.S. I've made my own folder now. ( It seemed like a good idea. :] )

    My DeDuper script is designed to help clean up. See this thread for background.
    tt2

  • I have downloaded Top Gun for the ast 2 years, everytime I have opened up itunes.  it doesn't let me play it anyhow, because it was purchased on another computer.  I keep removing it, but it alway pops up after 10 minutes or so.  I am so tired of this.

    How do I remove a download that keeps trying to download.  Even when I click play it says it was downloaded from another computer and I am not authorized to play it, although it was actually purchased with the same apple id on my other computer.  It has downloaded for the last two years every time i have opened up itunes.  I remove it and then in ten minutes it starts downloading again, and interferes with my current purchases.  please help

    It may be a corrupt / damaged download.
    If you live in a Region that allows re-downloading Music...
    Delete the Song(s) and re-download...
    See Here  >  Download Past Purchases  >  http://support.apple.com/kb/HT2519
    If not... Contact iTunes Customer Service  >  Apple  Support  iTunes Store  Contact Us

  • I just got an imac that doesn't have the option of a cd drive, I have my adobe suite on another computer, how do I get it on the new computer?

    I purchased the adobe suite cs6 a few years ago on a cd, installed it on another computer, and now I got the imac that doesn't have a cd drive, how do I install the adobe suite onto my new computer without having to use the cd?

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

Maybe you are looking for

  • What's the best way to share JE environments between servlets?

    Hi, I'm happily serving requests for the same webapp (so single servlet) which uses multiple JE environments. In my case I have an environment for each db, one of these environments is a login details only db. Things work great, three questions thoug

  • Can't copy text without HTML

    Is it possible to select text from a website and copy it without getting all the HTML link coding too? For instance, I look up an address on google maps and want to copy the text of the address into a word doc or email and get all this HTML code that

  • Does Nokia Asha 303 supports Viber?

    nokia,please i do not like i am been seening that Asha303 does not support viber.. When i try to download it from nokia store it say's is unavialable..please i want you teach me the way i can get it please. Moderator's note: We amended the title of t

  • 2008 Macbook Partitioned HDD Upgrade

    I want to upgrade my Pre-unibody 2008 Macbook HDD with a larger drive. I have partitioned my drive to run Win7 and I would like to copy both OSs to the new hard drive. If I buy the case to first use the new hard drive externally to partition it is th

  • SQL Developer and 3rd Party Drivers: JavaDB

    Go the latest 3rd party drivers for MySQL and <ugh>MS Access</ugh> but what I am looking for is a third party driver for Apache_derby JAVADB. Anyone? Manually adding the derby.jar in the thirdparty drivers under Preferences appears to do nothing in t