Why not change the world??
M4DNUT'S BLOG
Why not change the world??
 
전체
daily life
interesting things
project
favorite
english study
     
«   2009/07   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 
   
Casino 1241778238
Casino 1241778238
Casino 1241775033
Casino 1241775033
jxuxrpou
jxuxrpou
rwftyrhr
rwftyrhr
kwadfvds
kwadfvds
 
2009/01 - 2
2008/12 - 3
2008/11 - 1
2008/10 - 2
2008/09 - 9
  

Total 21765, yesterday 29, today 10
powered by Tatter tools, designed by kokoro studio.
  1. 2008/11/10 dbghelp.h include시 발생하는 문제 포스팅~!!
> I am using some source code written by someone else, which in turn includes
> dbghelp.h

> On scanning my PC , I did not find it, so I downloaded and installed the
> latest version of Windows Debugging Tools (version 6.8) . Then I copied the
> dbghelp.dll, dbhhelp.h and dbghelp.lib to my project folder. But on buliding
> the project I am getting the following error:

> c:\amoy\stacktrace\dbghelp.h(1747) : error C2061: syntax error : identifier
> '__out_bcount_opt'

The latest version of dbghelp.h requires specstrings.h and the
code added to cope with its absence is broken.

The fix is simple:- add this to dbghelp.h -- or -- to your own code
before you include it:

#ifndef __out_ecount_opt
 #define __out_ecount_opt(x)
#endif
#ifndef __in_bcount_opt
 #define __in_bcount_opt(x)
#endif
#ifndef __out_bcount_opt
 #define __out_bcount_opt(x)
#endif
#ifndef __deref_out_opt
#define __deref_out_opt
#endif

You may also get errors with VC6 about PULONG_PTR and ULONG_PTR, which
are
typedefs in the newer versions of Windows.h.

For VC6 you need:

typedef unsigned long ULONG_PTR;
typedef unsigned long *PULONG_PTR;

Alternatively get a more recent copy of the platform SDK and put it in
your include path.

Regards,
Roger.

이올린에 북마크하기
2008/11/10 19:39 2008/11/10 19:39
   http://mynism.cafe24.com/trackback/55
[로그인][오픈아이디란?]
*1