>> Error OLE/3012  Argument error: OPEN (DOS Error -2147352567)
>> Called from WIN_OLEAUTO:OPEN(0)
>> Called from ADO_OPEN(312)
>> Called from DBUSEAREA(0)
>> Called from MAIN(12)
> 
> It would be nice to have some idea about how error subcode sould be used. 
> 3012 does not say much about the exact place of error. I've used to change 
> error subcodes to 3012, 3013, 3014, and so on , when I was debugging OLE 
> code. But I does not commit different error subcodes, since the whole idea 
> about error subcodes is not clear for me.

Since the "OLE" error class is unique in Harbour, 
you are free to use any subcode under it.

It usually starts with 1001 and the next free number 
is used for each different error case.

BTW, maybe "WINOLE" would be a better error class 
name, although OLE is probably unique enough, maybe 
it's a little bit cleaner this way.

Brgds.
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to