0121: Expected function's static address
Compiler expected a static address of a foreign function but found something else.
If the function address is known ahead of time, it can be included in the function definition so the compiler can use this address, when you call the function. It is an error to have a stray comma without an address:
Possible solutions:
check documentation on foreign function syntax and provide the address inside angle brackets:
If the address is not known at compile time and can only be found in game, the address can be omitted:
This function can only be called using a function pointer variable:
Previous0120: Expected calling convention typeNext0122: A non-static function can't be called by name
Last updated