I wish to post and participate in HMG Forum

New members who wish to post and participate in HMG Forum, please introduce yourselves in this forum by starting a new thread.

Moderator: Rathinagiri

User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: I wish to post and participate in HMG Forum

Post by danielmaximiliano »

santyramirez wrote:Thanks for the warm welcome Daniel! HMG is so cool :D It even have a debug mode :o Now it is easier to fix problems... :roll: If only I can make break work... I keep on pressing F9 but nothing is happening and when I press F5 it doesn't stop there. But still, I love this debug mode. Great help in tracing problem.
It's a bit difficult to use the Debug Harbour, but slowly find small tips to streamline the operation, is a bit hard to explain but it works wonders.
my application contains folders that contain the various resources of the application and for that reason Debug does not work.
Examinador de Proyecto [Rocar2013.png
Examinador de Proyecto [Rocar2013.png (8.74 KiB) Viewed 5671 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
santyramirez
Posts: 9
Joined: Mon Apr 29, 2013 10:41 am

Re: I wish to post and participate in HMG Forum

Post by santyramirez »

Debug works for me at least for F8 and F10 (Step and Trace) and I have 80 PRG all in the same folder. Go to Cursor and BreakPoint doesn't seem to work. If I want to check multiple variables I use debug since Watch Point window is there to see the variables value. Else I just put a display and inkey before the line error to check what's causing the problem. Still Debug function is highly useful, something I wasn't able to use in Clipper.
santyramirez
Posts: 9
Joined: Mon Apr 29, 2013 10:41 am

Re: I wish to post and participate in HMG Forum

Post by santyramirez »

Btw, I found a dozen of errors which I have fixed that was working fine in Clipper mostly on Asize function. Ran a comparison test on reading tables between compiled in Clipper and HMG. HMG is very slightly faster and flow is smooth unlike in Clipper my counter jumps unless it is in full screen. I'll test in a live network environment after some more testing.
santyramirez
Posts: 9
Joined: Mon Apr 29, 2013 10:41 am

Re: I wish to post and participate in HMG Forum

Post by santyramirez »

Hopefully my freezing problem in Clipper will be fixed in HMG. When my program reads about million of records and process a report, let say 4 hours. After processing the report, the Clipper program hangs (not sure if it got DC from server connection but mapping is still alive). Luckily it has generated a temporary file which I instruct users to pickup and print (since the application hangs).
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: I wish to post and participate in HMG Forum

Post by mol »

jayadevu wrote:Hi,

Welcome. Your message made me remember my own journey.

Regarding your scroll problem, you may 1st try to adjust the properties of the command box where your exe is launched. Right click->go to properties -> change layout to Width 80 and Height 25, that should solve your scroll problem.

You could also go into the font tab and increase the window size to 10 x 20 which will give you enough screen space.

Hope that helps,

Warm regards,

Jayadev

For 80x25 mode, we can use:

Code: Select all


	SetMode(25,80)

User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: I wish to post and participate in HMG Forum

Post by andyglezl »

Hola, santyramirez

Quizá te pueda ayudar con el debug, lo siguiente:

viewtopic.php?f=5&t=514&p=26068&hilit=debug#p26068

------------------------------------------------------------------------------------------

Hello, santyramirez

Maybe you can help with the debug, the following:

viewtopic.php?f=5&t=514&p=26068&hilit=debug#p26068
Andrés González López
Desde Guadalajara, Jalisco. México.
santyramirez
Posts: 9
Joined: Mon Apr 29, 2013 10:41 am

Re: I wish to post and participate in HMG Forum

Post by santyramirez »

Hi Mol, SetMode(25,80) did a great job. Thank you. Hi andyglezl, thanks for the thread, learned a lot on debugging.

One problem left. When I tried to do a test from DOS based Clipper compiled exe versus HMG generated exe on the live environment, I was surprised to see that the DOS based Clipper compiled exe was reading records on the database faster. It was reading records faster... *** Sigh ***... I run the test for 20 minutes on both the server and a network PC. On the Server, the DOS based Clipper compiled exe was reading records 1 Million more records faster and on the network PC, thousand more records faster. Tried the test several times and same result. When I tried the test on my programming laptop, the speed are almost the same.

My database is a DBF database with .NTX index. I created a subfunction on the program which reads the biggest DBF and shows how many records read per second, per minute and average per minute. the DOS based Clipper compiled exe read records faster on the live environment.
User avatar
dhaine_adp
Posts: 457
Joined: Wed Aug 06, 2008 12:22 pm
Location: Manila, Philippines

Re: I wish to post and participate in HMG Forum

Post by dhaine_adp »

Hi Santy,

Welcome to HMG. I'm glad you found this forum. Out of HMG there is also HMG Extended (MiniGUI) and ooHG.

Cheers,

Danny
Regards,

Danny
Manila, Philippines
Post Reply