Forum: Object-Pascal / Delphi-Language
Delphi
by Gehstock,
24. Mai 2010
ok das passt erstmal aber hier ist noch ein Problem int __cdecl init_callback(callback fct); was ist fct
und ist das
typedef int (*callback) (char channel, int deb, int size);
extern "C" mit type
callback = Integer;
channel = Char;
deb = Integer;
Size = Integer;
richtig Übersetzt
Forum: Object-Pascal / Delphi-Language
Delphi
by Gehstock,
24. Mai 2010
typedef int (*callback) (char channel, int deb, int size);
extern "C"
{
__declspec(dllexport)
int __cdecl upload_bin_image
(
char channel,
int deb,
int size,
const char *szFichier,