Configure the wtl Development Environment (update) in vcexpress)

Source: Internet
Author: User
Tags microsoft downloads

Original visualfc

 

This article describes how to configure and use wtl in vcexpress. This is a supplement and improvement to "Configure wtl development environment under vs2008express", and mainly introduces how to configure the wtl visual development plug-in "visualfc" under vcexpress ".

1. download and install the following items:
1. vs2008express
Microsoft downloads windows sdk6.0 for free, but does not include ATL. You can obtain it from psdk2003 provided by Microsoft.
For: http://www.microsoft.com/eXPress/download/

2. psdk2003sp1
It mainly provides atl3.0 support for wtl80,
Is: http://www.microsoft.com/downloads/details.aspx? Familyid = A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5 & displaylang = en

3. wtl80
Library for GUI development based on atl3.0.
: Http://sourceforge.net/projects/wtl

4. resedit
A free resource editor that allows you to download the ANSI version of resedit for compatibility purposes.
: Http://www.resedit.net/

5. wtl Application Wizard
A separate wtl80 Application Wizard is provided.
Project address: http://code.google.com/p/visualfc/

Version 2.01 download: http://visualfc.googlecode.com/files/WTLAppWizard2.01_rc1.zip

6. wtl Program Development plug-in visualfc

The latest visualfc0.8rc1 provides independent vfctool support for wtl program development in the vcexpress Environment

Project address: http://code.google.com/p/visualfc/

Version 0.8rc1: Zip compression download: http://visualfc.googlecode.com/files/VisualFC0.8RC1.zip

Msi Installation Method download: http://visualfc.googlecode.com/files/VFCAddin0.8RC1.msi


2. Configure the wtl development environment in vs2008express:

1. Add ATL and wtl to the search path
Vs2008express-> options-> VC ++ directories-> include files
Add the ATL directory of psdk2003 and the include directory of wtl80.

2. Configure resedit
Run resedit and add the following to Options> preferences> include paths:
Include of Vc in vs2008express, include of Windows SDK 6.0, include of atl30, and include of wtl80.
Use vs2008express to create a Win32 project. Right-click the. RC file in the project file and choose openwith to add resedit and set it to default.

3. Configure wtlappwizard
Vs2008express-> Tools-> external tools-> Add
Add wtlappwizardchs and name it wtlappwizard.

4. Configure the visual FC Development Environment

Choose vcexpress> Tools> external tools> Add
Title: vfctools
Command: C:/program files/visualfc/bin/vfctools.exe
Parameter: $ (projectdir) $ (projectfilename)


Iii. Test and compile the wtl Project

1. Use the Wizard to generate a wtl project:

Run wtlappwizard in the external tool to create a new project such as wtl001, select to generate the vs2008 platform project file and add vsexpress for atl30 support,
You can select SDI/Mid/dialog and dialogframe among other application types.

Use vc2008express to open wtl001.vs2008. vcproj under the project file and edit it.

2. Edit Resources

In the Project Management of vcexpress, double-click the wtl001.rc file to call resedit to edit the resource. After saving the disk, reload or compile it in vcexpress.

3. Use visualfc for development.


After you open the wtl project, run vfctools in the external tool. You can perform the following operations on wtl project message, updateui,
Dialogresize, DDX/DDV, and dialogfont are visually designed and processed. This works with visual FC in vs60, evc4, vs2005, and
The functions in vs2008 and other development environments are completely consistent. After confirmation, the system prompts that the file has been modified externally in vcexpress. If you want to re-read the file, confirm the re-read.
Modify and update the project using fctools.

4. Modify the wtl wizard.
Wtlappwizard is written in Lua and can be changed as needed.

For example, if you are not used to the wtl001.vs2008. vcproj naming method, you can find it in the templates directory of wtlappwizard.
Root. vs2008.vcproj file, rename it root. vcproj, and then make the same changes in the templates. inf file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.