Consultor Eletrônico



Kbase P61572: When the output parameter for a DLL call is loaded with more
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/7/2004
Status: Unverified

SYMPTOM(s):

When the output parameter for a DLL call is loaded with more data than the parameter can hold a GPF happens

CAUSE:

When you have an output parameter that is a character variable, you must use the FILL function to allocate buffer space for the DLL to return its data into. If you fail to do this it is highly likely that whatever data is returned will overwrite other data belonging to Progress and you will GPF.

FIX:

Use the FILL function to allocate enough space to hold the maximum amount of data being returned from the DLL call.