Here's my code:
CopyFile('c:\\boh.txt', 'c:\\bah.gif');
function CopyFile(src, dest) {
Interop.Call('user32', 'CopyFileW', src, dest, false);
}
Debugger shows this error:
CallDll has failed collocation of the function "CopyFileW"
(in row containing "Interop.Call..ecc")
What's the problem?
// EDIT: I see that works using "kernel32" instead of "user32"...