Configuring source code editor (text editor) in IDE
Posted: Thu Jan 12, 2017 8:36 pm
Hi Claudio,
When the IDE is run for the first time after the new release of HMG, it incorrectly shows the path as shown by the captured screen:

This problem has been reported in this topic and I have not gotten a response from you.
I found this HMG_GetFileAssociatedWithExtension C function in HMG core and I believe it was also used the same function in the IDE.
By the way, I liked much your function for this propose, many thanks.
So I've implemented this function in my new project and I have saw that returns "C:\Windows\system32\shell32.dll" when it does not have any application associated with a particular file extension.
I humbly urge you to change the function so that could it returns "" instead of "C:\Windows\system32\shell32.dll" or maybe could be handled this return from within the IDE. Doing something like this:
FYG: this bad return comes from Windows7 but in XP it returns "" (empty string).
Rgds
When the IDE is run for the first time after the new release of HMG, it incorrectly shows the path as shown by the captured screen:
This problem has been reported in this topic and I have not gotten a response from you.
I found this HMG_GetFileAssociatedWithExtension C function in HMG core and I believe it was also used the same function in the IDE.
By the way, I liked much your function for this propose, many thanks.

So I've implemented this function in my new project and I have saw that returns "C:\Windows\system32\shell32.dll" when it does not have any application associated with a particular file extension.
I humbly urge you to change the function so that could it returns "" instead of "C:\Windows\system32\shell32.dll" or maybe could be handled this return from within the IDE. Doing something like this:
Code: Select all
If "SHELL32.DLL" $ HMG_Upper(cRet)
cRet: = ""
Endif
FYG: this bad return comes from Windows7 but in XP it returns "" (empty string).
Rgds