Re: Newbie question about WTL

"japydooge" <japydooge-/[email protected]> Mon, 15 Nov 2010 12:10:46 -0000
Newsgroups gmane.comp.windows.wtl
Message-ID <[email protected]>
I'm sorry for the kick, but im facing the same problem.
Does anyone have an idea where i could get atlstr.h? I got the Windows Server 2008 R2 SDK, there is an atlfolder in there but it doesnt contain atlstr and atlmisc.

--- In [email protected], "Bernard Warycha" <bwarycha@...> wrote:
>
> 
> I have both VS2005 & VS2008 Express installed.
> 
> I attempted to build an example vc++ app and encountered the atlstr.h
> not found error.
> 
> When searching for help I came across this group and found these
> instructions:
> 
> My questions concerns Step 2 Download, Install PSDK, and Update
> VCExpress Setting.
> http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx
> 
> That link no longer goes to the psdk download it is now re-directed to
> the download page for Visual Studio 2008 Express.
> 
> In searching MS I found a link to download the Windows® Server 2003
> R2 Platform SDK ISO Download that is supposed to be Win XP Pro SP2
> compatible.
> 
> Before downloading, I would like to know if this PSDK will work with WTL
> and if there are any other differences in the following instructions and
> will WTL work with VS2008 Express as well.
> 
> 
> 
> 
> 
> 
> 
> 1 Download and Install VCExpress 2005 from MSDN.
> http://msdn.microsoft.com/vstudio/express/visualc/
> <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
> <http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.asp\
> x>
> 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
> <http://wtl.sf.net/>
> 4, Download AppWizard for VCExpress from
> http://groups.yahoo.com/group/wtl/files/setup80express.zip
> <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
> 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/