Re: VS questions


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on August 26, 2005 at 14:37:32:

In Reply to: VS questions posted by Grant Foraker on August 26, 2005 at 13:37:21:

Grant:

The generated .inc and .dll can be copied automatically in the "post-build" steps. Here's an example of the post-build macros used in the DlgTemp project:

Inc2Use "$(ProjectDir)DlgTemp.h" "$(ProjectDir)DlgTemp.Inc"
Copy "$(TargetPath)" "$(ProjectDir).."
Copy "$(ProjectDir)DlgTemp.Inc" "$(ProjectDir).."

The first line causes Inc2Use to be run to generate the .inc. The second line copied the .dll from the target dir (Release) to one dir up from the Project dir. The third line does the same for the .inc.

So, in this case the dir structure is like this:
Comet IB dir (STD)
--- Windows project dir (STW)

You can get to the post-build info by clicking on "Project", then "Properties". Then select "Build Events" then "PostBuild Event".

I hope I got this right! :-)
bb


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]