Error C8018
InstallShield 2024 » InstallScript Language Reference
Message
'text' : typedef object illegal in this context
Description
The structure type specified by text was encountered at a location where it is not allowed.
Troubleshooting Information
This error occurs in a function prototype that declares a structure type as one of its parameters. This is not allowed. Instead, declare the parameter as a pointer to a structure by following the name of the structure type with the keyword POINTER, as shown below:
typedef RECT
begin
SHORT sX;
SHORT sY;
end;
RECT Rectangle;
RECT POINTER pRect;
prototype SizeRectangle(RECT POINTER);
See Also