Hi, fwh802 works fine in xp, but in some workstations with windows nt 4 work+sp6 got this error :
getguiresources in user32.dll
fwh801 dont ocour.
thanks
Hi, fwh802 works fine in xp, but in some workstations with windows nt 4 work+sp6 got this error :
getguiresources in user32.dll
fwh801 dont ocour.
thanks
i using:
fwh802, xharbour 12/02/2008, bcc 551, ads server, workstations with windows xp , windows 2000 and windows nt 4 work, all with last sp.
Norberto,
We need to change our code to load getguiresources dynamically.
how? you cant test this new functions in several os, using vmware?? thanks
i.e. declaring it as DLL FUNCTION ... in your main PRG
have a sample? thanks
Add this to your main PRG:
DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIBRARY "user32.dll"
Antonio, i make this:
DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIBRARY "user32.dll"
and receive:
Error E0030 Syntax error: "syntax error at 'FUNCTION'"
whats wrong??
Norberto,
My mistake, this is the right syntax:
DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIB "user32.dll"
Antonio, solved, not LIBRARY, but LIB, in syntax.
thanks
DLL FUNCTION GetGuiResources( hProcess AS LONG, uiFlags AS LONG ) AS LONG PASCAL LIB "user32.dll"
Antonio, dont solve the problem in windows nt workstation... have an way to disable this function???
maybe api of windows nt is not the same of xp, vista... this function broke the compatibility of fwh.
i have two options: back to fwh701, update the workstations to win2000 (works??).
i guess before you include this new features, you have test in several versions of windows.
Norberto,
I'm not sure how vital GetGuiResources() is but if I were you, rather than going back to an older version of FWH I'd just put in a stub of GetGuiResources() for the time being.