Solved

copy a file after it is build

Posted on 2004-08-26
3
215 Views
Last Modified: 2010-04-01
I am using visual c++ 6.0.  How can I make it so my .dll file is copied to another directory right after it is built?  Let's say visual c++ compiles and builds the file mydll.dll and I want it copied to c:\windows\system32 right after it's built.
0
Comment
Question by:lwinkenb
3 Comments
 
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 125 total points
ID: 11910204
Just go to

Project -> Settings... -> Link tab

and in "Output filename" textbox type:

c:\windows\system32\mydll.dll

0
 
LVL 6

Accepted Solution

by:
Svetlin_Panayotov earned 125 total points
ID: 11910233
Yet another - in Project -> Settings -> Post-build you can add
copy $(TargetName) c:\windows\system32\
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 11910729
Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now