This wiki is out of date, use the continuation of this wiki instead

LCD Errorcodes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:49, 26 December 2007 (edit)
Sandman (Talk | contribs)
(New page: Category:errorcodes Category:lcddll Category:dll '''Up to LCD.DLL''' ---- Here is a list of all the errorcodes regarding LCD.DLL. Catching errorcodes...)
← Previous diff
Current revision (02:21, 27 January 2008) (edit) (undo)
Sandman (Talk | contribs)

 
(One intermediate revision not shown.)
Line 52: Line 52:
| LCD_ERROR_FILENOTFOUND || - -23 || - File not found. | LCD_ERROR_FILENOTFOUND || - -23 || - File not found.
|- |-
-| LCD_ERROR_ALREADYEXISTS || - -24 || - File already exists.+| LCD_ERROR_ALREADYEXISTS || - -24 || - File or connection already exists.
|- |-
| LCD_ERROR_NOMOREITEMS || - -25 || - No more devices to enumerate. | LCD_ERROR_NOMOREITEMS || - -25 || - No more devices to enumerate.
|- |-
-| LCD_ERROR_UNKNOWN || - -26 || - Unkown error.+| LCD_ERROR_INVALIDBUTTON || - -26 || - Invalid button.
 +|-
 +| LCD_ERROR_UNKNOWN || - -27 || - Unknown error.
|} |}
{{Lcddocbox}} {{Lcddocbox}}

Current revision

Up to LCD.DLL



Here is a list of all the errorcodes regarding LCD.DLL.

Catching errorcodes is very easy: just check if the return value is negative, then it is an error.

result = LCD_Xxx();
if(result<0)
    say("LCD Errorcode: " + result);
else
    // success
end
Constant - Value - Description
LCD_ERROR_NONE - 0 - No error.
LCD_ERROR_RPCSSERVERUNAVAILABLE - -10 - The RPC Server is unavailable.
LCD_ERROR_RPCXWRONGPIPEVERSION - -11 - RPC X: wrong pipe version
LCD_ERROR_OLDWINVERSION - -12 - Old Windows Version (must be 2000 or higher)
LCD_ERROR_NOSYSTEMRESOURCES - -13 - No system resources available.
LCD_ERROR_SERVICEINACTIVE - -14 - The service is inactive.
LCD_ERROR_NOTINITIALIZED - -15 - LCD.DLL is not initialized.
LCD_ERROR_ALREADYINITIALIZED - -16 - LCD.DLL was already initialized.
LCD_ERROR_INVALIDCONNECTION - -17 - Invalid connection.
LCD_ERROR_TOOMANYCONNECTIONS - -18 - Too many connections.
LCD_ERROR_NOACTIVECONNECTIONS - -19 - There are no active connections.
LCD_ERROR_INVALIDDEVICE - -20 - Invalid device.
LCD_ERROR_DEVICENOTCONNECTED - -21 - Device not connected.
LCD_ERROR_INVALIDPARAMETER - -22 - Invalid parameter.
LCD_ERROR_FILENOTFOUND - -23 - File not found.
LCD_ERROR_ALREADYEXISTS - -24 - File or connection already exists.
LCD_ERROR_NOMOREITEMS - -25 - No more devices to enumerate.
LCD_ERROR_INVALIDBUTTON - -26 - Invalid button.
LCD_ERROR_UNKNOWN - -27 - Unknown error.


LCD.DLL Documentation
MainFunctionsGlobalsDefinesErrorcodesChangelog
Personal tools