Hallo,
danke für die Antwort und danke für die Begrüßung. Mein Problem ist gelößt.
1) Richtig wenn ich es
Delphi-Quelltext
1: 2: 3: 4:
| type lua_CFunction = function(L: Pointer): Integer; cdecl;
TfrmLUA = class(TForm) |
deklariere, dann compiliert Delphi und 2)
ich muß dann auch
Delphi-Quelltext
1: 2: 3: 4: 5: 6:
| procedure lua_register(L:Pointer; n: PChar; f: lua_CFunction); begin lua_pushstring(L, n); lua_pushcfunction(L, f); lua_settable(L, LUA_GLOBALSINDEX); end; |
deklarieren, da sonst hier der Fehler angezeigt wird, bzw auch in der TForm Deklaration! (Weil ich das vergessen hatte sind mir an einigen Stellen in Quellcode Fehler angezeigt worden).
Danke
Franky