Re: How do I launch a .hlp file from a Euphoria windows program?
- Posted by Wolfgang Fritz <wolfritz at king.igs.net> Apr 02, 2007
- 767 views
--simplest, gethelp.exw-- include dll.e include machine.e constant HELP_CONTENTS=3 ,USER32=open_dll("user32") ,WinHelpA=define_c_func(USER32,"WinHelpA", {C_UINT,C_UINT,C_UINT,C_UINT},C_UINT) --handle,string-ptr,type,additional atom helpfile, ret helpfile=allocate_string("iexplore.hlp") --your filename ret=c_func(WinHelpA,{0,helpfile,HELP_CONTENTS,0}) free(helpfile) --end--