Samant.Trupti@gmail.com wrote:
>
> I am calling this function in my win32 consol app
>
> Why DLL is unable to retutn value? If I use this function in main it
> is working fine. DLL not working.
> Can anyone please explain?
I have this problem with MS VC8 and up. That compiler refuses to allow
char * to be returned from a DLL ( although it will return other pointer
values ). This problem does not occur in any other compiler I have, nor
in versions of MSVC below V8.