YOU CAN CODE!

 

With The Case Of UCanCode.net  Release The Power OF  Visual C++ !   HomeProducts | PurchaseSupport | Downloads  
Download Evaluation
Pricing & Purchase?
E-XD++Visual C++/ MFC Products
Overview
Features Tour 
Electronic Form Solution
Visualization & HMI Solution
Power system HMI Solution
CAD Drawing and Printing Solution

Bar code labeling Solution
Workflow Solution

Coal industry HMI Solution
Instrumentation Gauge Solution

Report Printing Solution
Graphical modeling Solution
GIS mapping solution

Visio graphics solution
Industrial control SCADA &HMI Solution
BPM business process Solution

Industrial monitoring Solution
Flowchart and diagramming Solution
Organization Diagram Solution

Graphic editor Source Code
UML drawing editor Source Code
Map Diagramming Solution

Architectural Graphic Drawing Solution
Request Evaluation
Purchase
ActiveX COM Products
Overview
Download
Purchase
Technical Support
  General Q & A
Discussion Board
Contact Us

Links

Get Ready to Unleash the Power of UCanCode .NET


UCanCode Software focuses on general application software development. We provide complete solution for developers. No matter you want to develop a simple database workflow application, or an large flow/diagram based system, our product will provide a complete solution for you. Our product had been used by hundreds of top companies around the world!

"100% source code provided! Free you from not daring to use components because of unable to master the key technology of components!"


VC++ development Sample: Build and Setting Multiple workspaces and project

 
 By Roman Keskenti  

Introduction

Sometimes development projects grow huge. You might have multiple workspaces with project dependencies and pragma-linking requiring a specific build order.

This little AddIn lets you define an arbitrary build order for your projects.

Background

The code is based on the sample AddIn called AutoBld that comes with VC6. The main enhancement is that you now can change the build order for each project whereas the AutoBld AddIn only allows to set up a build order for Workspaces.

Installation

Simply put the binary into your %MSDevDir%\AddIns folder and enable it in the Tools | Customize | AddIns & Macros dialog.

Usage

The AddIn installs a toolbar with two icons.

The first button "Configure" opens the configuration dialog:

Configuration Dialog

The configuration dialog lets you specify mail settings to execute when a project or configuration has finished building. You can also chose to close DevStudio, Log off or shut the computer down after all comfigurations have finished building.

Through the "Projects To Build" you can specify the projects that will be built for each configuration. That is also where you can set up the order in which the projects will be built.

Projects Dialog

The second button "Run" lets you choose the build settings:

Build Dialog

Chose the build type and enable the configurations you wish to build, then hit OK to start the build process. 

Implementation

There is one subtlety to the implementation: After the Build command is issued to DevStudio via its IApplication interface you can watch the output window and see that the project has long finished building. Nevertheless, DevStudio won't send the Build Finished event - no matter how long you wait. The current implementation tries to force the dispatching of the BuildFinish event by re-issuing the Build command for the "hung" project. If anyone could point me to a better strategy I would surely appreciate it.

 

 

 

Copyright ?1998-2022 UCanCode.Net Software , all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.

Please direct your questions or comments to webmaster@ucancode.net