Marcos Dont link gtwin on the app.
Also , personaly i suggest an real native windows c compiler like msvc or intel compiler . Regards Luiz -----Original Message----- From: Marcos Antonio Gambeta Sent: Monday, July 23, 2012 5:25 AM To: xharbour-developers@lists.sourceforge.net Subject: Re: [xHarbour-developers] Error with gtwvt and current xHarbour Em 22/07/2012 23:01, Andi Jahja escreveu: > Hi Marcos, > > Sorry. I read your message too quickly so that I was thinking it is not > working with BCC, MSVC and MinGW. So, please forget the part of my > message about BCC and MSVC. Sorry again. :-) > > Andi No problem. :-) I'm using this batch to compile: --- buildw.bat --- set HBPATH=E:\xharbour-rev9590-mingw set XHBLIBS=-ldebug -lvm -lrtl -lrdd -lmacro -lpp -llang -lcodepage -lcommon -ldbfntx -ldbfcdx -ldbffpt -lhbsix -lhsx -lgtwin -lgtgui -lgtwvt -lgtwvw -lpcrepos set WINLIBS=-luser32 -lwinspool -lole32 -loleaut32 -luuid -lgdi32 -lcomctl32 -lcomdlg32 -lodbc32 -lmapi32 -lws2_32 :: prg -> c harbour.exe -n -w -I%HBPATH%\include %1.prg :: c -> exe gcc %1.c -o %1.exe -mwindows -I%HBPATH%\include -L%HBPATH%\lib -Wl,--start-group %XHBLIBS% %WINLIBS% -Wl,--end-group :: clear del *.c set HBPATH= set HBLIBS= set WINLIBS= --- --- After I restart my computer, the error message disappeared. But now I have this behaviour: with -mwindows: I can see the program in the task list, but cannot see the window without -mwindows: I can see a console window, but not a GUI window My environment is Windows 7 Ultimate 64-bit (first time I develop using a 64-bit machine) and the GCC version is 4.6.2. Maybe something is wrong here. I will revise my environment as soon as possible. Thanks! Regards, Marcos Gambeta ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers