Search the web
Sign In
New User? Sign Up
wtl · WTL support list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Use WTL under VCExpress   Message List  
Reply | Forward Message #12850 of 16191 |
Hi,

VCExpress was released in 11/7
We can use it for our wtl programming free.

1,Download and Install VCExpress 2005 from MSDN.
http://msdn.microsoft.com/vstudio/express/visualc/
2,Download, Install PSDK, and Update VCExpress Setting. Detail:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx
3,Update the Visual C++ directories in the Projects and Solutions
section in the Options dialog box.Add atl path.
Include files: C:\Program Files\Microsoft Platform SDK\include\atl

4, Change atlwin.h and atlbase.h in PSDK\ATL folder

Change SetChainEntry function at L1725 of atlwin.h,define "int i" at first。
---------------------------------------------------------------
BOOL SetChainEntry(DWORD dwChainID, CMessageMap* pObject, DWORD
dwMsgMapID = 0)
{
int i;
// first search for an existing entry

for(i = 0; i < m_aChainEntry.GetSize(); i++)
---------------------------------------------------------------

Change AllocStdCallThunk and FreeStdCallThunk at L287 of atlbase.h,to new
macro
---------------------------------------------------------------
/* Comment it
PVOID __stdcall __AllocStdCallThunk(VOID);
VOID __stdcall __FreeStdCallThunk(PVOID);

#define AllocStdCallThunk() __AllocStdCallThunk()
#define FreeStdCallThunk(p) __FreeStdCallThunk(p)

#pragma comment(lib, "atlthunk.lib")
*/
#define AllocStdCallThunk() HeapAlloc(GetProcessHeap(),0,sizeof(_stdcallthunk))
#define FreeStdCallThunk(p) HeapFree(GetProcessHeap(), 0, p)
---------------------------------------------------------------

3,Download and Install the WTL from http://wtl.sf.net
4, Download AppWizard for VCExpress from
http://groups.yahoo.com/group/wtl/files/setup80express.zip
Unzip and Copy JS file into WTL\AppWiz folder, double click it to
install WTL Wizard into VCExpress

Enjoy VCExpress&WTL


--
Baryon Lee
http://www.bbshare.com/
Share our software to make your life & work more easier.


Wed Nov 9, 2005 1:21 am

baryonlee
Offline Offline
Send Email Send Email

Forward
Message #12850 of 16191 |
Expand Messages Author Sort by Date

Hi, VCExpress was released in 11/7 We can use it for our wtl programming free. 1,Download and Install VCExpress 2005 from MSDN. ...
Baryon Lee
baryonlee
Offline Send Email
Nov 9, 2005
1:21 am

This would make an excellent CodeProject article!...
robert_caldecott
robert_calde...
Offline Send Email
Nov 9, 2005
8:07 am

Can I ask a question? Now, the AllocStdCallThunk/FreeStdCallThunk IS quite clear to comprehend... MS "forgot" to include the new ATL thunking library used to...
massimilianoalberti
massimiliano...
Offline Send Email
Nov 9, 2005
4:26 pm

Oooh, ooh, I know. I was just reading about this in the What's new in VC++ 2005 notes: The VC++ 2005 compiler was changed to be compliant regarding declaring ...
Bill Arnette
cessna048
Online Now Send Email
Nov 9, 2005
5:05 pm

I've dl the new PSDK and I've discovered... They include in the PSDK a patched version of ATL3.0 and NOT ATL7.0/ATL7.1/ATL8.0. They patched it to include the...
massimilianoalberti
massimiliano...
Offline Send Email
Nov 9, 2005
9:11 pm

So no free ATL7/8 then? That takes the shine of this a little as I use ATL7 classes extensively... :(...
robert_caldecott
robert_calde...
Offline Send Email
Nov 10, 2005
9:24 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help