Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8435333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:53:09+00:00 2026-06-10T06:53:09+00:00

I have a somehow strange problem. I have a VS2010 C++ solution for two

  • 0

I have a somehow strange problem.
I have a VS2010 C++ solution for two DLLs and a different solution for the application, which uses the two DLLs. Up to now on changes to the DLLs you had to copy them by hand to the appropriate directory of the application.

I introduced now a post build event to copy the changed DLLs automatically on each build.

copy $(TargetDir)$(TargetName).lib ..\..\lib\AppDir\$(TargetName).lib
copy $(TargetPath) ..\..\AppBinDir\$(TargetFileName)
copy $(TargetDir)$(TargetName).pdb ..\..\AppBinDir\$(TargetFileName)

When I try to launch the application after a build of the DLLs I get an “Invalid Image” error and the explanation that something might not be suited for Windows. If I open the DLL with DependencyWalker I get the error “No DOS or PE signature found”.

If I copy the DLLs manually, everything works fine. So I assume there’s a problem with the copy operation in the post build.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:53:11+00:00Added an answer on June 10, 2026 at 6:53 am
    copy $(TargetDir)$(TargetName).pdb ..\..\AppBinDir\$(TargetFileName)
    

    This line overrides Dll with pdb file. Possibly you want something like this:

    copy $(TargetDir)$(TargetName).pdb ..\..\AppBinDir\$(TargetName).pdb
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very strange problem with Android animations, I tried many different approaches
I have a very very strange problem here. I have a desktop application written
I got very strange problem. I have one php website which is running in
I recently debugged a strange C++ problem, in which a newly declared vector somehow
The problem that I have is somehow very specific. I have to implement a
http://www.kidzoneapp.com/uses.html In this app, they somehow have an ability to protect users home button
I have a strange problem. On Windows, with Visual Studio 2010 and also with
I'm noticing strange behavior. I have merchant and order tables and doing two selects
I have a strange problem using a MapView in Android. It works fine until
I have one of our projects very strange problem here on http://konyak.georates.net/page-2/ we have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.