Sample <console> abort
Moderator: Rathinagiri
Sample <console> abort
Hi,
Entering the second time the option "Open QT GUI window" the program is aborted without any message.
Would it be possible to verify this ?
Best Regards,
Rossine.
Entering the second time the option "Open QT GUI window" the program is aborted without any message.
Would it be possible to verify this ?
Best Regards,
Rossine.
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Sample <console> abort
Hola a Todos:
en mi caso da un error al intentar ejecutar la primera vez cualquier ejemplo de HMG4
al copiar mingwm10.dll en la carpeta asociada al ejemplo ocurre un segundo error.
dejo una imagen de ello
Hello to All:
in my case it gives an error when trying to run the first time any example of HMG4
mingwm10.dll copying the folder associated with a second error occurs eg.
I leave a picture of it
en mi caso da un error al intentar ejecutar la primera vez cualquier ejemplo de HMG4
al copiar mingwm10.dll en la carpeta asociada al ejemplo ocurre un segundo error.
dejo una imagen de ello
Hello to All:
in my case it gives an error when trying to run the first time any example of HMG4
mingwm10.dll copying the folder associated with a second error occurs eg.
I leave a picture of it
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Sample <console> abort
perdon, la primera vez se ejecuta , la segunda vez dice que falta el archivo que se ve en la imagen.
eso si se encuenta mingwm10.dll en la carpeta, dejo un video de ello.
forgiveness, the first time it runs, the second says that the file you see in the picture.
It is found that if mingwm10.dll in the folder, leave a video of it.
eso si se encuenta mingwm10.dll en la carpeta, dejo un video de ello.
forgiveness, the first time it runs, the second says that the file you see in the picture.
It is found that if mingwm10.dll in the folder, leave a video of it.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Sample <console> abort
Instead of copying the files, perhaps it is better that you seth a PATH to it...
danielmaximiliano wrote:perdon, la primera vez se ejecuta , la segunda vez dice que falta el archivo que se ve en la imagen.
eso si se encuenta mingwm10.dll en la carpeta, dejo un video de ello.
forgiveness, the first time it runs, the second says that the file you see in the picture.
It is found that if mingwm10.dll in the folder, leave a video of it.
Re: Sample <console> abort
Hello,
The second time I call the "Open QT GUI window" system is aborted. I got the window that appears through the printscreen before the program aborts. See below:
Best Regards,
Rossine.
The second time I call the "Open QT GUI window" system is aborted. I got the window that appears through the printscreen before the program aborts. See below:
Best Regards,
Rossine.
- Attachments
-
- console.png (68.12 KiB) Viewed 4800 times
Re: Sample <console> abort
Works perfect here. Do you have the latest version and use the actual SVN?Rossine wrote: Would it be possible to verify this ?
- Attachments
-
- 2011-11-28 13h08_13.jpg (71.22 KiB) Viewed 4798 times
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Sample <console> abort
Ricci wrote:Works perfect here. Do you have the latest version and use the actual SVN?Rossine wrote: Would it be possible to verify this ?
en mi caso , si.
instalado los binarios HMG.4 del 23/11/2011
aplicado SVN update a la fecha de hoy.
contruido las librerias (buildlib.bat)
debo desintalar las anteriores versiones de HMG4?
todo esto en Windows 7 Home premium 64, sobre Hp4530s i3
in my case, yes.
HMG.4 installed binaries of 23/11/2011
SVN update applied to today's date.
constructed the libraries (buildlib.bat)
I uninstall previous versions of HMG4?
all this in Windows 7 Home Premium 64 on Hp4530s i3 si fuera necesario, cuales archivos se copiarian y a que carpeta copiar
if necessary, be copied and which files to copy to folder
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Sample <console> abort
Hello Luigi,
Could it be that you look for when calling for the second time option "Open QT GUI window" the application is terminated without notice error ?
This error occurs there with you too ? If so, you could fix it ?
Best Regards,
Rossine.
Could it be that you look for when calling for the second time option "Open QT GUI window" the application is terminated without notice error ?
This error occurs there with you too ? If so, you could fix it ?
Best Regards,
Rossine.
Re: Sample <console> abort
Hi friends.
Please, remember that some dll can't be installed on your system. this one "mingwm10.dll" is one of them.
You have many possibilities:
copy these file within your executable folder (in any folder you run a program)
or
within C:\Windows\System32 folder (I'm using WinXp)
At the same time, there are Qtcore4.dll, QtGui4.dll or QtNetwork4.dll; follow previous example.
About qgif4.dll, qjpeg4.dll and many other there are different solutions:
copy "pulgins\imageformats" within your executable folder (in any folder you runa a program)
or
create a valid qt.conf
I write about this in other post.
@Rossine
I will check
Cheers
Please, remember that some dll can't be installed on your system. this one "mingwm10.dll" is one of them.
You have many possibilities:
copy these file within your executable folder (in any folder you run a program)
or
within C:\Windows\System32 folder (I'm using WinXp)
At the same time, there are Qtcore4.dll, QtGui4.dll or QtNetwork4.dll; follow previous example.
About qgif4.dll, qjpeg4.dll and many other there are different solutions:
copy "pulgins\imageformats" within your executable folder (in any folder you runa a program)
or
create a valid qt.conf
I write about this in other post.
@Rossine
I will check
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
Re: Sample <console> abort
Hello Luigi,
This sample work´s fine:
In demo_1.prg the problem must be occurring as mainwindow is closed.
Best Regards,
Rossine.
OK.l3whmg wrote:Hi friends.
Please, remember that some dll can't be installed on your system. this one "mingwm10.dll" is one of them.
You have many possibilities:
copy these file within your executable folder (in any folder you run a program)
or
within C:\Windows\System32 folder (I'm using WinXp)
At the same time, there are Qtcore4.dll, QtGui4.dll or QtNetwork4.dll; follow previous example.
About qgif4.dll, qjpeg4.dll and many other there are different solutions:
copy "pulgins\imageformats" within your executable folder (in any folder you runa a program)
or
create a valid qt.conf
I write about this in other post.
@Rossine
I will check
Cheers
This sample work´s fine:
Code: Select all
/*
* $Id: demo_1.PRG 760 2011-10-21 12:01:51Z l3wonsf $
*/
/*
* HMG 4 demo
* (c) 2010 Roberto Lopez <mail.box.hmg@gmail.com>
*/
/*
This demo shows how to mix console and GUI in the same EXE.
In fact, the console part, WVG, is not a real console, is a "pseudo-console" emulated in a graphics environment.
But this work just as a pure console does.
*/
#include "hmg.ch"
#include "hbqtgui.ch"
Function Main
LOCAL oWindow
HbQt_ErrorSys()
// Request WVG to be linked.
REQUEST HB_GT_WVG
REQUEST HB_GT_WVG_DEFAULT
DEFINE MAINWINDOW oWindow
Width 400
Height 400
Title 'Calling a QT window from pseudo-console WVG'
OnInit oWindow:Center()
ON KEY ESCAPE OF oWindow ACTION oWindow.release
@ 40,40 Button oButton1 ;
Caption 'Click to Win_Dos' ;
On Click Win_Dos()
END WINDOW
oWindow:Activate()
Return Nil
function Win_Dos
LOCAL nPrompt
local pGTDOS, pGTWIN
pGTDOS := hb_gtCreate( "WVG" )
pGTWIN := hb_gtSelect( pGTDOS )
// Console code
SETMODE( 25, 80 )
SET MESSAGE TO 24
DO WHILE .T.
CLEAR SCREEN
@ 3, 20 SAY "Select an option " COLOR "W+/R"
@ 04, 19 TO 07,38 DOUBLE
@ 05, 20 PROMPT "Text MemoEdit() " MESSAGE "Displays a text file"
@ 06, 20 PROMPT "Return To window " MESSAGE "Ends demo"
MENU TO nPrompt
if nPrompt = 1
@ 00, 00 TO MAXROW(), MAXCOL()
MemoEdit( "This is text mode MemoEdit", 01, 01, MAXROW()-1, MAXCOL()-1 )
elseif nPrompt = 2 .or. nPrompt = 0
EXIT
END
ENDDO
hb_gtSelect( pGTWIN )
Return Nil
Best Regards,
Rossine.