Search found 280 matches

by edk
Sat Apr 21, 2018 6:05 pm
Forum: HMG General Help
Topic: Debugger (I think)
Replies: 23
Views: 614

Re: Debugger (I think)

How do you recognize if the debugger is included in the program or is not. Are you able to call the debugger window from the program at the moment when you think the program is with the debugger :?:
I mean, if you correctly assume that the debugger is responsible for the issue :idea:
by edk
Thu Apr 19, 2018 4:21 pm
Forum: HMG General Help
Topic: Debugger (I think)
Replies: 23
Views: 614

Re: Debugger (I think)

dragancesu wrote:
Thu Apr 19, 2018 11:22 am
It's not a good combination to mix the console and graphic mode, and probably it can
I have several APIs done with mixed mode and so far I have not noticed any problems. :mrgreen:
by edk
Thu Apr 19, 2018 4:00 pm
Forum: HMG General Help
Topic: Debugger (I think)
Replies: 23
Views: 614

Re: Debugger (I think)

I could do that, but there are about 60 different component programs running to probably 50,000 lines of code! Templar In that case, would you be able to prepare a working short fragment of the program that reproduces the indicated problem? Are you sure that the problem is caused by the debugger? W...
by edk
Tue Apr 17, 2018 1:09 pm
Forum: Issues and Discussions related to Harbour
Topic: Mysterious counting of the INT() function
Replies: 5
Views: 316

Re: Mysterious counting of the INT() function

As Angel points out floating point issues ! this is a problem with the binary format of floating point numbers: https://harbour.github.io/the-oasis/clipper-5.html Using integers in the calculations performed, solves the problem. msgdebug( INT( ( 129.6 - 129 ) * 10 ) ) vs. msgdebug( INT( 129.6*10 - 1...
by edk
Thu Apr 12, 2018 9:29 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 563

Re: Please explain a resource file

Typical media types that can be used in controls was listed by Andrés: WAVE * .WAV JPG * .JPG BITMAP * .BMP JPG * .JPG GIF * .GIF TIF * .TIF PNG * .PNG WMF * .WMF ICO * .ICO CUR * .CUR It is also possible to use other types, e.g. TXT, RCDATA. Here is the reference: http://hmgforum.com/hmgdoc/data/HM...
by edk
Wed Apr 11, 2018 9:28 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 563

Re: Please explain a resource file

In my prg file there would be images referred to with the names like exitdoor.jpg and baywindow.jpg (...) I would then build the exe. How does the compiler know about and find the rc file? I don't know how. The compiler, when it finds a .rc file with the same name as .prg in the same folder, includ...
by edk
Wed Apr 11, 2018 6:22 pm
Forum: HMG General Help
Topic: Please explain a resource file
Replies: 12
Views: 563

Re: Please explain a resource file

Do you refer to the jpg file name in the sources or to its resource name?
ex. PICTURE "door" or PICTURE "exitdoor.jpg" ?

Share piece of code with us.
by edk
Wed Apr 11, 2018 2:22 pm
Forum: HMG Samples
Topic: Getfolder()
Replies: 19
Views: 1591

Re: Getfolder()

It seems to me that, the padlock is not the reason for this behavior of the GetFolder function here. The C:\USER\Gebruiker folder is in this case a profile folder. In order for GetFolder to work with this folder, it should be possible to display the profile folder in the window. Try this code, it wo...
by edk
Tue Apr 10, 2018 2:34 pm
Forum: General Discussions
Topic: Happy Birthday to MigSoft !
Replies: 11
Views: 224

Re: Happy Birthday to MigSoft !

+1
by edk
Tue Apr 10, 2018 1:14 pm
Forum: Issues and Discussions related to Harbour
Topic: Mysterious counting of the INT() function
Replies: 5
Views: 316

Mysterious counting of the INT() function

To all.
Do you also get the number 5 instead of the expected 6 as a result of

Code: Select all

msgdebug( INT( ( 129.6 - 129 ) * 10 ) )
:?: :!: :shock:

Edward.