Error C8101

InstallShield 2024 » InstallScript Language Reference

Message

'name' : must specify DLL for this function

Description

The function specified by name was prototyped twice from two different DLLs.

Troubleshooting Information

When calling functions with identical names from two or more DLLs, you must qualify the function name by prefixing it with the DLL name followed by a period, as in the example below:

    prototype MYDLL.UsefulFunction(INT, POINTER);

    prototype YOURDLL.UsefulFunction(INT, POINTER);

 

    export prototype MyFunc(HWND);

 

function MyFunc(hMSI)

    NUMBER nValue;

    POINTER psvString;

begin

    MYDLL.UsefulFunction(nValue, psvString);

end;