Hi all,
First of all I am not sure whether this is a right place to post this question or not.
I am working on one application (under VC++6.0) in which I need to use the following statement:
MyFun( (LPCTSTR)t1, (LPCTSTR)t2, OLE2T(V_BSTR(&t3)));
but VC++6.0 throws an error
>error C2065: 'OLE2T' : undeclared identifier
I have already defined _UNICODE in my preprocessor settings.The same thing is working fine in VC++7.0 environment.
I also tried by using " USES_CONVERSION;" macro but then I also get the following error
>error C2065: 'USES_CONVERSION' : undeclared identifier
>error C2065: 'OLE2T' : undeclared identifier
Can anyone help me on this?
Thanks in advance !