Following is a list of functions that need their parameters naming, I've suggested the obvious for each
int dbGetRegistry( LPSTR, LPSTR );
void dbPositionMouse( int, int );
void dbChangeMouse( int );
to
int dbGetRegistry( LPSTR pfolder, LPSTR valuekey );
void dbPositionMouse( int nX, int nY );
void dbChangeMouse( int nIcon );
Also, with the following function, should that last type be a LPSTR?
void dbWriteStringToRegistry( LPSTR pfolder, LPSTR valuekey, DWORD pString );
What's the story with these functions now? They accept a pointer and return a value?
unsigned char dbReadByte ( int f, unsigned char* pByte );
WORD dbReadWord ( int f, WORD* pWord );
int dbReadFile ( int f, int* pInteger );
float dbReadFloat ( int f, float* pFloat );
char* dbReadString ( int f, char* pString );
int dbReadLong ( int f, int* pInteger );
*** I'll edit this post as I find more ***
Paul.
Home of the Cartography Shop - DarkBASIC Professional map importer