Consultor Eletrônico



Kbase 19877: Passing Ordinal Values to dll Procedure from 4GL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/2/2003
Status: Unverified

SYMPTOM(s):

Unable to understand after -- "<string>". (247)

Could not find the entrypoint <function>. (3260)

CAUSE:

When you declare a DLL routine from the Progress 4GL and reference the ordinal value, you cannot reference the hexadecimal address for the ordinal.

FIX:

You must convert the hex value to decimal. For example to access the BroadcastSystemMessageW procedure in user32.dll, the ordinal should be 0013 rather than 00d.