Previous Topic: bool GetCaseSensLogin()

Next Topic: HINT32 ChangePassword(LPCTSTR szPassword)


LPCTSTR GetLastMessage( )

Returns the last message from the server for Login or ChangePassword requests.

Owning Class

CaHarvest

Arguments

None

Return Value

LPCTSTR-string message describing reason for login or change password failures or a success message

Example

CaHarvest Harvest;
if(Harvest.Login “CMUser”, “MyPassword")) cout << Harvest.GetLastMessage() << endl;

More information: