Rui --
Older versions of Console Tools required you to pass hCurInstance to the InitConsoleTools function, so if you are using an old version and were passing zero it was probably failing.
Send an email to the address below and we'll send you a free update.
-- Eric Pearson, Perfect Sync, Inc.
Announcement
Collapse
No announcement yet.
Contools Error Message
Collapse
X
-
I found out the problem, but I don't know why this happened
Instead of
FUNCTION WINMAIN(BYVAL hCurInstance AS LONG, BYVAL hPrevInstance AS LONG, BYVAL lpszCmdLine AS ASCIIZ PTR, BYVAL nCmdShow AS LONG) EXPORT AS LONG
I had
FUNCTION PBMAIN
Does this make any sense?
Leave a comment:
-
Rui --
Sorry for the delay, I have been unexpectedly and unavoidably away from my computer and email for a couple of days. Keith is exactly right; I have also responded ny email.
-- Eric
Leave a comment:
-
Console Tools Error Code.
Need to see what you specified for lMenuBuffers& in the InitConsoleTools. See error code information in Appendix E of Console Tools manual.
Leave a comment:
-
Contools Error Message
Hi,
I have defined this Menu, and I'm getting error 999000010
What am I doing wrong?
Code:MenuDefinition 1, "&Clientes > 2 | &Fornecedores > 3 | &Cod. Produto > 5 | &Documentos > 4 | S&istema > 6 " MenuDefinition 2, "&Inserir =201 | &Consultar=202 | &Listar =203 | &Imprimir =204" MenuDefinition 3, "&Inserir =301 | &Consultar=302 | &Listar =303 | &Imprimir =304" MenuDefinition 4, "&Factura =401 |&Nota de Credito =402 | N&ota de Debito =403 | &Guia de Transporte =404 | &Recibos de Factura=405 |-| &Facturas a pagamento =406” MenuDefinition 6, "&Ajuda=801 | &Copias de Segurança=802 | - |&Numeração de Documentos=803 | &Tabela IVA=804 | - | &Utilizadores >7 |-|Sair =805 |-|Acerca do Step3 =806" MenuDefinition 7, "&Criar/Alterar =901 | &Listar =902 | &Alterar Password =903 "'| &Niveis de Acesso=904 " MenuDefinition 5, "&Inserir =2301 | &Consultar=2302 | &Listar =2303 | I&mprimir =2304" lResult = MenuSystemCreate(1,7)
Tags: None
Leave a comment: