flat assembler
Message board for the users of flat assembler.

Index > IDE Development > fasmw .hlp files handling under w7+

Author
Thread Post new topic Reply to topic
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 04 Mar 2021, 11:30
Hi the board!
I donot know the trends, except money and opium, windows goes.
We use Windows Help (.hlp) Viewer and it works on double click, enter, context menu in file explorers.
Could fasm ide behave same if w7+ detected?
I'm not sure how to open *word at context menu* topic then.
Yes, i use old winapi2000 :P
Post 04 Mar 2021, 11:30
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 04 Mar 2021, 11:46
You can associate extensions with executables within Windows Explorer.

Below is from memory, so some things might have slightly different names, but it might give you the general idea:

In Windows Explorer:
Right click any .asm file and select "Run with ..."
Find fasmw.exe and select it.
Also tick the "Always run with this application" box
Press "Open"
Post 04 Mar 2021, 11:46
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 04 Mar 2021, 12:02
revo, nice to meet you.

Tomasz, a slight fix needed

%windir%/WinHelp/winhlp32.exe -k $WORD_AT_CURSOR $FASMW.INI_HELP_PATH
Post 04 Mar 2021, 12:02
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20451
Location: In your JS exploiting you and your system
revolution 04 Mar 2021, 13:09
Sorry if I misunderstood.

Do you want fasmw to open help files? Or you want Explorer to open fasmw?
Post 04 Mar 2021, 13:09
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 04 Mar 2021, 13:33
After i pick a help file in fasmw and press F1 for context help by a phrase at the cursor, windows10 redirects me to web topics reading.
I have that hlp app by ms installed and it works in standard explorer and totalcmd i use.
Fasmw, still, calles help api which is on drugs.
In such a case CreateProcess with the snipped proposed seems to be the very solution.
Post 04 Mar 2021, 13:33
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.