mansid

Hi,

I am trying to use a function CopyFileEx(from,to).

But it gives me - error C2065: 'CopyFileEx' : undeclared identifier

anything i need to declare

# define _WIN32_WINNT 0x500 is done. it is still giving an error.

Please help.

Thanks

manasi



Re: Visual C++ General CopyFileEx() not working

Sarath.

After defining #define _WIN32_WINNT 0x0501 in stdafx.h (or before including windows.h) it's working fine in my machine.





Re: Visual C++ General CopyFileEx() not working

Damien Watkins - MSFT

Hello

Re: CopyFileEx() not working

The right place for your question is probably one of the Win32 newsgroups: http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/015/topic.xml

OTP

Thanks

Damien






Re: Visual C++ General CopyFileEx() not working

mansid

thanks..it worked :) i had not put it before all #include<>..



Re: Visual C++ General CopyFileEx() not working

mansid

dint know abt this newsgrp..thx..will take care next time..