Serj HAMMER
Junior Racer
Help me please: how to declare <I>LookupPrivilegeValue</I> - external API function in Progress 4GL?
Example:
PROCEDURE LookupPrivilegeValue EXTERNAL "advapi32.dll":
DEFINE INPUT PARAMETER lpSystemName AS CHAR NO-UNDO.
DEFINE INPUT PARAMETER lpName AS CHAR NO-UNDO.
DEFINE OUTPUT PARAMETER lpLuid AS MEMPTR NO-UNDO.
END PROCEDURE.
This not work. I can't found something on www.global-shared.com in everything.zip file.
I found on peg this URL. http://www.peg.com/lists/api/history/200210/msg00037.html
Good example. But this don't work too.
Example:
PROCEDURE LookupPrivilegeValue EXTERNAL "advapi32.dll":
DEFINE INPUT PARAMETER lpSystemName AS CHAR NO-UNDO.
DEFINE INPUT PARAMETER lpName AS CHAR NO-UNDO.
DEFINE OUTPUT PARAMETER lpLuid AS MEMPTR NO-UNDO.
END PROCEDURE.
This not work. I can't found something on www.global-shared.com in everything.zip file.
I found on peg this URL. http://www.peg.com/lists/api/history/200210/msg00037.html
Good example. But this don't work too.