FMG Editor - Current HMG_PATH
Posted: Thu Apr 24, 2014 8:39 pm
Current HMG_PATH
As I explained, now in these routines with hb_compileFromBuf I will need to know where the includes HMG files are located and this must be done at runtime app execution. I understand that each user installs the folder name in preference to them, it's time for the HMG installation.
Shall will see the possibility to implement in HMG the PATH of the current HMG library ?
There is another case which is needing to know the current HMG version, thru HMGVersion() the function returns from the constant _HMG_VERSION_NUMBER_ in MiniGUI.ch file.
Here is part of code involved in this question:
pPP := __PP_INIT("C:\HMG.3.2\INCLUDE","i_window.ch") // Here we can regulize with function extracting HMG path
The problem is this file must be open and seems we need to put the path as first parameter. So in other words: every body (including common user) they must have this file in current or any where.
Dear Claudio, I need your help to solve this problem:
If we further use of this resources as part of HMG library, we will have to think how to make available these files:
As I explained, now in these routines with hb_compileFromBuf I will need to know where the includes HMG files are located and this must be done at runtime app execution. I understand that each user installs the folder name in preference to them, it's time for the HMG installation.
Shall will see the possibility to implement in HMG the PATH of the current HMG library ?
There is another case which is needing to know the current HMG version, thru HMGVersion() the function returns from the constant _HMG_VERSION_NUMBER_ in MiniGUI.ch file.
Here is part of code involved in this question:
pPP := __PP_INIT("C:\HMG.3.2\INCLUDE","i_window.ch") // Here we can regulize with function extracting HMG path
The problem is this file must be open and seems we need to put the path as first parameter. So in other words: every body (including common user) they must have this file in current or any where.
Dear Claudio, I need your help to solve this problem:
If we further use of this resources as part of HMG library, we will have to think how to make available these files:
- i_window.ch
i_altsyntax.ch