You mean AVIOpen - there is no return value since the execution creates the error before there is a return value. Also in the new version. AviOpenLib seems to work, at least no error with this call.
I tried some other commands of the DLL as well
FileExists like DirExists doesn't create an error, although it returns always zero, even when I use it with a full path of an existing file or folder.
DiskSpaceFree seems to return 2028 Meagbytes (in MB) tho there is more, but I guess it's a hardware limit.
TestBit seems to work too.
Since FIleExists doesn't find files, it probably has something to do with the way you are accessing files?
I tried some other commands of the DLL as well
FileExists like DirExists doesn't create an error, although it returns always zero, even when I use it with a full path of an existing file or folder.
DiskSpaceFree seems to return 2028 Meagbytes (in MB) tho there is more, but I guess it's a hardware limit.
TestBit seems to work too.
Since FIleExists doesn't find files, it probably has something to do with the way you are accessing files?