|
From: Nguyen X. S. <ngu...@no...> - 2004-07-31 17:13:22
|
Hi all,
As you know, from 0.3.7 QuantLib uses Boost. The library defines
#define Handle boost::shared_ptr
But because I intende to use WINAPI , this definition results in a conflict
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\WinUser.h(3282): error C2751:
'boost::shared_ptr' : the name of a function parameter cannot be qualified
because Handle appears in definitions in WINAPI
RPCNSAPI
RPC_STATUS
RPC_ENTRY
I_RpcNsSendReceive(
IN PRPC_MESSAGE Message,
OUT RPC_BINDING_HANDLE __RPC_FAR * Handle
);
What should I do.
JK
PS: it comes from my effort to CLEAR SCREEN in console mode, but it might
happen one day I incorporate the program in a user friendly interface, which
obviously will use Microsoft foundation.
|