New version of PdfView for HMG 3.4.4.
It doesn't work with earlier HMG versions.

Very good to make mention in the posted message.

SumatraPDF as library 32-bit:
SumatraPDF_lib_32bit.zip

Nice !

Excellent work, Krzysztof !

I liked that you left in "Settings" the option "Open PDF at once" (GRID event ON CHANGE) and other options as well. Availability in a correct and objective manner in my POV.

I would like to add how directives could be done for those who use the IDE and/or want to still use the batch file for compilation and still maintain the settings that you include in the HBP (project file).

I have noted that you use directives in the hbp file very often. But this when is being used the IDE for compiling, is completely lost. You can check the Build.log file and see in it (not recognize these directives.
I clarify this because there are some colleagues who use the compilation (as well as me) and could find some difficulty.

Harbour and more precisely the IDE allows you to do the compiler directives through the HBC file.

I read about each one of them and I even tested and removed each one of them but I think maybe they are not necessary because (I believe) Harbour defaults these directives:

Please note that PdfView.hbc was added. So it's going to work by IDE and by batch file in building process.

And renamed a typo in name of SumatraPDFLibBuild32.cmd.
It also good to say that HMGPATH is needing for change folder name according with our HMG installation.

I only wished to add my comments, in order to let this project and example workable for both: batch file and IDE.
I am in doubt if these directives are so necessary but be that any case, these changes that I indicate may be useful for the future.

However I want to clarify that your batch files files work very well.
Given the other way of compilation in Harbour and consequently in HMG.

Thank you very much Krzysztof for this brillant work.

Dzięki!

HMGing a better world"Matter tells space how to curve, space tells matter how to move."Albert Einstein

I do not use HMG IDE.
For compiling I use .cmd (.bat) and .hbp files.
In .hbp you can place all options for compiler and linker, so .hbc file is unnecessary.
And you can place libSumatraPDF.a library in HMGdirectory\lib.

In .hbp you can place all options for compiler and linker, so .hbc file is unnecessary.

Yes but to work properly with the IDE must be present hbc. It's what I already said.
Otherwise all directives that you put in hbp file will be lost and in hbc file is not the say way as you do in hbp.

What I tried to say is this project have been done ready to be compiled by batch file and not for IDE. But even losing those directives in IDE, will compile anyway because those directives are not so necessary be setted (I guess).

You do not use IDE to compile, but there are many who use it a lot. And to meet those users I've clarified how to make it workable without losing the settings options for IDE building. So I asked to you for an explanation of these directives.

HMGing a better world"Matter tells space how to curve, space tells matter how to move."Albert Einstein

If you make a test opening this project at IDE and after you builded, will run ok but check again the hbp file you will see all those setting will be lost.
This is the main reason of .hbc files. At least important for whom use IDE on compiling process.

HMGing a better world"Matter tells space how to curve, space tells matter how to move."Albert Einstein

However I do not understand why IDE changes .hbp file content.
It also changes .rc content.

Unfortunately, IDE always changes these files.
I think the IDE should only write when they are changed through the IDE.

But what I think is still very bad is when the DBF files are not lberados even leaving the table manager, HMG Report Builder and also occurs with the project folder, which even closing the project does not release. This was pointed out in: viewtopic.php?p=47543#p47543

And how to create library (eg. libSumatraPDF.a) via IDE?

In POV I do not think so necessary. Because it's make it at once.

I have no difficulty in compiling other projects unless at least some of the files are missing.

Sorry to bother you, I just wanted you to know why I've noticed that in your previous projects you used to do that (not that this could be wrong in Harbour) but and some colleagues could find the same problem at missing directives.

Thank Krzysztof.

HMGing a better world"Matter tells space how to curve, space tells matter how to move."Albert Einstein