I have a DLL in CVF 6.6B in which a file.dat is created. This DLL is called by a VB application. In the VB side I check the system error code produced by the call to DLL by Err.LastDllError:
If Err.LastDllError Then
MsgBox ?.. Err.LastDllError
This returns 183, which according to MSDN means ERROR_ALREADY_EXISTS (Cannot create a file when that file already exists.) This happens only when there is a file.dat, no matter if I open it in the DLL with STATUS=?Unknown? or STATUS=?Replace?. The file is updated and overwritten despite the error. There is no error 183 when I delete the file.dat and run the application.
This has not happened to me before. I wonder if it is a known Win XP ?feature? or a 6.6B ?feature?.