杂记 05/07/2011-3 正式学习WTL

5 篇文章 0 订阅

1. 官网

http://wtl.sourceforge.net/

 

2. 一些资源

http://wtl.sourceforge.net/links.htm

http://www.yesky.com/zhuanti/302/1927802.shtml

An article about developing Ping using WTL

 

3. readme.html from WTL80

 

WTL classes are mostly templated and use minimal instance data and inline functions. They were not designed as a framework, so they do not force a particular application model, and can accommodate any. The classes do not use hooks or thread local storage, so they have no restrictions that those techniques impose. They also have no inter-dependencies and can be freely mixed with straight SDK code.

 

Q: VC++6可以使用WTL Wizard吗?

A: wtl70里有wizard60,可使用

 

4. Playing sample code from within VC++6

Q: How to do it ?

 

有若干编译错:

 

MainFrm.Cpp
e:/software-repository/vc/wtl80_7161_final/include/atlframe.h(405) : error C2146: syntax error : missing ';' before identifier 'lpnm'
        e:/software-repository/vc/wtl80_7161_final/include/atlframe.h(1155) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
e:/software-repository/vc/wtl80_7161_final/include/atlframe.h(405) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
        e:/software-repository/vc/wtl80_7161_final/include/atlframe.h(1155) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
e:/software-repository/vc/wtl80_7161_final/include/atlframe.h(405) : error C2501: 'lpnm' : missing storage-class or type specifiers
        e:/software-repository/v

 

 

5. 使用wtl70的wizard,成功!

 

* 11:44,目前状态:

使用wtl70的wizard做出的程序可以执行,但其它所有版本的samples直接打开*.dsw都无法编译,现象如下:

 

Compiling...
Alpha.cpp
d:/study/wtl/wtl70/include/atlframe.h(274) : error C2146: syntax error : missing ';' before identifier 'lpnm'
        d:/study/wtl/wtl70/include/atlframe.h(905) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
d:/study/wtl/wtl70/include/atlframe.h(274) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
        d:/study/wtl/wtl70/include/atlframe.h(905) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
d:/study/wtl/wtl70/include/atlframe.h(274) : error C2501: 'lpnm' : missing storage-class or type specifiers

 

 

Q:在资源编辑器中修改DIALOG的ID,对程序没有影响吗?

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值