Copyright © 2013-2017 MultiMedia Soft

LastError property (RO)

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property LastError As enumWanErrorCodes


 

[C#]

public enumWanErrorCodes LastError {get;}


 

[C++]

public: __property enumWanErrorCodes get_LastError();


 

This property is Read-only

 

 

Remarks

Each call to one of the component's methods could generate an error: in case the called method should return an unexpected value, this property could give more details about the nature of the error. In case the called method should success, this property would assume the value ERR_WAN_NOERROR (0).

 

Here follows a list of the available error codes that could be returned by the component's methods calls:

 

Mnemonic value

Numeric value

Meaning

ERR_WAN_NOERROR

0

No error was generated by the latest method call

ERR_WAN_INVALID_ANALYZER

-1

Invalid waveform analyzer

ERR_WAN_SOUND_WAVEFORM_NOT_ANALYSED

-2

Sound waveform not analyzed

ERR_WAN_VALUE_OUT_OF_RANGE

-3

Value out of range

ERR_WAN_NO_SELECTION_AVAIL

-4

No selection available

ERR_WAN_ALREADY_EXISTS

-5

The element already exists

ERR_WAN_SOUND_NOT_LOADED

-6

Sound not loaded

ERR_WAN_NOT_FOUND

-7

Element not found

ERR_WAN_INVALID_POSITION

-8

Invalid position

ERR_WAN_INVALID_FILE

-9

Invalid file

ERR_WAN_NOT_ENOUGH_MEMORY

-10

Not enough memory

ERR_WAN_CANNOT_CREATE_FILE

-11

Cannot create file

ERR_WAN_NOT_INITIALIZED

-12

Control not initialized

ERR_WAN_BUSY

-13

Busy

ERR_WAN_INVALID_WINDOW

-14

Invalid window

ERR_WAN_CANNOT_INIT_GDIPLUS

-15

Cannot initialize GDI+

ERR_WAN_INVALID_FORMAT

-16

Invalid format

ERR_WAN_CANNOT_CREATE_WINDOW

-17

Cannot create window

ERR_WAN_ALREADY_INITIALIZED

-18

Already initialized

ERR_WAN_GENERIC

-100

Generic or unknown error