Re: VS2005 compiler with /clr gets confused with GetJob
- From: Tamas Demjen <tdemjen@xxxxxxxxx>
- Date: Wed, 28 Jun 2006 18:09:48 -0700
draskin wrote:
#ifdef UNICODE
#define GetJob GetJobW
#else
#define GetJob GetJobA
#endif // !UNICODE
Just for kicks I deleted this block and all of a sudden the linker worked!
I don't recommend modifying vendor supplied include files. There may be other project out there that require that #define.
The workaround for your problem would be using #undef:
#include <windows.h>
#undef GetJob
Tom
.
- Follow-Ups:
- Re: VS2005 compiler with /clr gets confused with GetJob
- From: draskin
- Re: VS2005 compiler with /clr gets confused with GetJob
- References:
- VS2005 compiler with /clr gets confused with GetJob
- From: draskin
- VS2005 compiler with /clr gets confused with GetJob
- Prev by Date: Re: fopen_s
- Next by Date: Re: fopen_s
- Previous by thread: VS2005 compiler with /clr gets confused with GetJob
- Next by thread: Re: VS2005 compiler with /clr gets confused with GetJob
- Index(es):
Relevant Pages
|
Loading