Author | Topic: Error Code renamefile() undefined | |
---|---|---|
Reinthaler Rudolf | Error Code renamefile() undefined on Thu, 15 May 2008 09:29:13 +0200 Hello, I use the function renamefile() from the tools. Now I get the errorcode -183 back, but this error is not defined in XBTSYS.CH. Wehre can I find this code ? I can see no error in the programm, all seems to be ok. regards Rudolf | |
Thomas Braun | Re: Error Code renamefile() undefined on Thu, 15 May 2008 10:35:45 +0200 Reinthaler Rudolf wrote: > Hello, > I use the function renamefile() from the tools. Now I get the errorcode -183 > back, but this error is not defined in XBTSYS.CH. Wehre can I find this code > ? I can see no error in the programm, all seems to be ok. Most likely, this is a "dos" error code... use DosErrorMessage() to get the description. By the way, there is also a non-tool funtion frename() regards Thomas | |
Andreas Gehrs-Pahl | Re: Error Code renamefile() undefined on Thu, 15 May 2008 05:07:44 -0400 Rudolf, >I use the function renamefile() from the tools. Now I get the errorcode -183 >back, but this error is not defined in XBTSYS.CH. Wehre can I find this code >? I can see no error in the programm, all seems to be ok. For some details on this, see my (second) response to Carlos Beling in this NG in the Thread titled: "DirMake() return error", posted on February 14 of this year. As Thomas already mentioned, "FRename()" is probably a better option for this, because it returns "lSuccess" instead of an error code and creates standard error codes (which are accessible via "FError()"), and you might not need to include the XbTools DLLs at all. -- Andreas --- --- Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net 415 Gute Street or: Andreas@DDPSoftware.com Owosso, MI 48867-4410 or: Andreas@Aerospace-History.net Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net --- --- | |
Reinthaler Rudolf | Re: Error Code renamefile() undefined on Thu, 15 May 2008 19:56:18 +0200 Hello, thanks, I will try another function to check the problem regards Rudolf "Andreas Gehrs-Pahl" <Andreas@DDPSoftware.com> schrieb im Newsbeitrag news:1plpw54vz78a8$.1jmbu9wt6vlp1.dlg@40tude.net... > Rudolf, > >>I use the function renamefile() from the tools. Now I get the >>errorcode -183 >>back, but this error is not defined in XBTSYS.CH. Wehre can I find this >>code >>? I can see no error in the programm, all seems to be ok. > > For some details on this, see my (second) response to Carlos Beling in > this > NG in the Thread titled: "DirMake() return error", posted on February 14 > of > this year. > > As Thomas already mentioned, "FRename()" is probably a better option for > this, because it returns "lSuccess" instead of an error code and creates > standard error codes (which are accessible via "FError()"), and you might > not need to include the XbTools DLLs at all. > > -- Andreas > > --- --- > Andreas Gehrs-Pahl E-Mail: GPahl@CharterMI.net > 415 Gute Street or: Andreas@DDPSoftware.com > Owosso, MI 48867-4410 or: Andreas@Aerospace-History.net > Tel: (989) 723-9927 Web Site: http://www.Aerospace-History.net > --- --- |