sorry my mistake
i am using windows XP professional with visual studio 2010 professional
i am using vc++ for developing application.
this is IDL file i use
[
// A unique identifier that distinguishes this interface from other interfaces.
uuid(00000001-EAF3-4A7A-A0F2-BCE4C30DA77E),
// This is version 1.0 of this interface.
version(1.0)
]
interface Example1
{
void Output(
[in, string] const char* szOutput);
void Output2([out,retval] char *ptrx);
}
i can not obtain return value in ptrx , any suggestion ?