MiniGUI HB_Func() with HMG

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

MiniGUI HB_Func() with HMG

Post by AUGE_OHR »

hi,

i try to use a HB_FUNC of c:\MiniGUI\SAMPLES\Advanced\FileMan\FileMan.prg

Code: Select all

HB_FUNC ( SHOWFILEPROPERTIES )
{
   SHELLEXECUTEINFO ShExecInfo;

   ShExecInfo.cbSize       = sizeof(SHELLEXECUTEINFO);
   ShExecInfo.fMask        = SEE_MASK_INVOKEIDLIST;
   ShExecInfo.hwnd         = GetActiveWindow();
   ShExecInfo.lpVerb       = "properties";
   ShExecInfo.lpFile       = hb_parc(1);
   ShExecInfo.lpParameters = "";
   ShExecInfo.lpDirectory  = NULL;
   ShExecInfo.nShow        = SW_SHOW;
   ShExecInfo.hInstApp     = NULL;

   ShellExecuteEx(&ShExecInfo);
}
Result fail with HMG.CH while it work with "MiniGUI.CH" :o
there seems me nothing special ... so what can make the Difference :idea:
PROPERTY.ZIP
(815 Bytes) Downloaded 144 times
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: MiniGUI HB_Func() with HMG

Post by AUGE_OHR »

here you got a workaround to get "properties" viewtopic.php?f=5&t=6330
have fun
Jimmy
Post Reply