Hi
I'm trying to use this small PRG gtwvg:

PROCEDURE Main()
Wvt_SetGui( .t. )
@ 10,10 SAY "Hola Mundo"
RETURN

Generates EXE, and run and get a GPF in the console as follows:

Unrecoverable error 6005: Exception error:
Exception Code:C0000005
Exception Address:0040D99A
EAX:00000000 EBX:00000000 ECX:003F4F14 EDX:00000000
ESI:00000000 EDI:00000007 EBP:0013FDE8
CS:EIP:001B:0040D99A SS:ESP:0023:0013FDE0
DS:0023 ES:0023 FS:003B GS:0000
Flags:00010246
CS:EIP: 8B B3 54 0D 00 00 68 80 00 00 00 6A 01 E8 94 D3
SS:ESP: 00000000 0049C1BC 0013FE08 0042AF9F 004AEF14 00000001 00000000 00000000 00000000 00000000 0013FF24 00424100 00000001 00000000 00000000 0049C1AC
C stack:
EIP: EBP: Frame: OldEBP, RetAddr, Params...
0040D99A 0013FDE8 0013FE08 0042AF9F 004AEF14 00000001 00000000 00000000 00000000 00000000 0042AF9F 0013FE08 0013FF24 00424100 00000001 00000000 00000000 0049C1AC 004AF568 003F6960 0042081D 00000000 00424100 0013FF24 0013FF50 00401180 0049C1F0 0049C1AC 0042AF9F 00000001 00000000 00000000 00000000 00000000
00401180 0013FF50 0013FF68 00423458 00000000 00152387 00000000 00152387
00423458 0013FF68 0013FF88 00440FA4 00000001 00000000 0049C13C 00152387 00150000 00154EB0 00440FA4 0013FF88 0013FFB8 0049933F 00400000 00000000 00152387 0000000A 00000016 00000000 7FFDE000 7FFDE000 0049933F 0013FFB8 0013FFF0 00000000 0049C13C 7C817067 00000016 00000000 7FFDE000 8054B6ED 0013FFC8 84C53020
Modules:
0x00400000 0x000C3000 D:\harbourB32\contrib\gtwvg\tests\demogvs.$☻0x7C910000 0x0
00B5000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x00103000 C:\WINDOWS\system32\kernel32.dll
0x58C30000 0x0009A000 C:\WINDOWS\system32\COMCTL32.DLL
0x77DA0000 0x000AC000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E50000 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FC0000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x77EF0000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E390000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x76360000 0x0004A000 C:\WINDOWS\system32\COMDLG32.DLL
0x7E6A0000 0x00821000 C:\WINDOWS\system32\SHELL32.dll
0x77BE0000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x77F40000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x774B0000 0x0013D000 C:\WINDOWS\system32\OLE32.DLL
0x5F1F0000 0x00017000 C:\WINDOWS\system32\OLEPRO32.DLL
0x770F0000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.dll
0x76340000 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x773A0000 0x00103000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Co$☻
Called from WVT_SETGUI(0)
Called from MAIN(10) in demogvs.prg

How do I use GTWVG?
I've seen DEMOWVG.PRG but it seems a little confusing because there are many things there. I understand that I can compile my GTWVG PRG in console mode so they can look with windows MS Windows, is that correct? What are the commands / functions of minimal gtwvg that I use to work properly the little Hello World?
Is there a DOC for this contrib?

TIA

**********************************
In Spanish:
Estoy probando éste pequeño PRG para utilizar gtwvg:

Genero el EXE, ejecuto y obtengo un GPF y en la consola lo siguiente:

. . .

¿Cómo se usa GTWVG?

He visto DEMOWVG.PRG pero me parece algo confuso por que hay muchas cosas alli. Tengo entendido que con GTWVG puedo compilar mis PRG en modo consola para que puedan lucir con ventanas tipo MS Windows, ¿Es correcto? ¿Cuáles son los comandos/funciones minimas de gtwvg que debo utilizar para que funcione correctamente el pequeño Hola Mundo?
¿Existe alguna DOC de esta contrib?

Best Regards
GVS


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to