<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, I'm new to stk and am interested in using it in 
an MFC application. I've followed all the setup directions, but when I compile I 
still get errors. I'm guessing its from the precompiled header thing. So, I got 
55 errors or so I'm guessing from a problem with direct sound, so I included 
dsound.h directly in the stdafx.h file and it knocked it down to 20. Here are 
the errors:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>c:\dxsdk\include\dsound.h(228) : error C2143: 
syntax error : missing ';' before '*'<BR>c:\dxsdk\include\dsound.h(228) : error 
C2501: 'LPCWAVEFORMATEX' : missing storage-class or type 
specifiers<BR>c:\dxsdk\include\dsound.h(347) : error C2146: syntax error : 
missing ';' before identifier 'lpwfxFormat'<BR>c:\dxsdk\include\dsound.h(347) : 
error C2501: 'LPWAVEFORMATEX' : missing storage-class or type 
specifiers<BR>c:\dxsdk\include\dsound.h(347) : error C2501: 'lpwfxFormat' : 
missing storage-class or type specifiers<BR>c:\dxsdk\include\dsound.h(363) : 
error C2146: syntax error : missing ';' before identifier 
'lpwfxFormat'<BR>c:\dxsdk\include\dsound.h(363) : error C2501: 'LPWAVEFORMATEX' 
: missing storage-class or type specifiers<BR>c:\dxsdk\include\dsound.h(363) : 
error C2501: 'lpwfxFormat' : missing storage-class or type 
specifiers<BR>c:\dxsdk\include\dsound.h(414) : error C2146: syntax error : 
missing ';' before identifier 'lpwfxFormat'<BR>c:\dxsdk\include\dsound.h(414) : 
error C2501: 'LPWAVEFORMATEX' : missing storage-class or type 
specifiers<BR>c:\dxsdk\include\dsound.h(414) : error C2501: 'lpwfxFormat' : 
missing storage-class or type specifiers<BR>c:\dxsdk\include\dsound.h(423) : 
error C2146: syntax error : missing ';' before identifier 
'lpwfxFormat'<BR>c:\dxsdk\include\dsound.h(423) : error C2501: 'LPWAVEFORMATEX' 
: missing storage-class or type specifiers<BR>c:\dxsdk\include\dsound.h(423) : 
error C2501: 'lpwfxFormat' : missing storage-class or type 
specifiers<BR>c:\dxsdk\include\dsound.h(684) : error C2061: syntax error : 
identifier 'LPWAVEFORMATEX'<BR>c:\dxsdk\include\dsound.h(694) : error C2061: 
syntax error : identifier 'LPCWAVEFORMATEX'<BR>c:\dxsdk\include\dsound.h(768) : 
error C2061: syntax error : identifier 
'LPWAVEFORMATEX'<BR>c:\dxsdk\include\dsound.h(778) : error C2061: syntax error : 
identifier 'LPCWAVEFORMATEX'<BR>c:\dxsdk\include\dsound.h(1039) : error C2061: 
syntax error : identifier 'LPWAVEFORMATEX'<BR>c:\dxsdk\include\dsound.h(1097) : 
error C2061: syntax error : identifier 'LPWAVEFORMATEX'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if anyone knows what's causing this, I'd really 
appreciate the help. I have the latest directx runtimes and everything. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks a lot,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Daniel Riley</FONT></DIV></BODY></HTML>