Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BOOKMARK redefinition

3 views
Skip to first unread message

Varghese Paul

unread,
Apr 9, 2009, 4:22:01 AM4/9/09
to
#include "stdafx.h"
#include "mapidefs.h"
#include "sqlext.h"

int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}

The above code compiles fine in 32 bit mode ( /MACHINE:X86 )
But the same gives me compilation error in 64 bit mode ( /MACHINE:X64 )
I am using VS2008. The error message is given below.

c:\program files\microsoft sdks\windows\v6.0a\include\sqltypes.h(283) :
error C2371: 'BOOKMARK' : redefinition; different basic types
C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\mapidefs.h(1142) : see declaration of 'BOOKMARK'

What is wrong here?

0 new messages