I want to know how to define a symbol library created in C to be used in an application created in QT.
Sorry I wrote the wrong example, the correct is:
typedef int (WINAPI *OpenDllECF) (BYTE *Ident, int porta, int veloc, LPSTR String);
typedef int (WINAPI *OpenDllECF) (BYTE *Ident, int porta, int veloc, LPSTR String);
To copy to clipboard, switch view to plain text mode
I transcribed this for QT thus:
typedef int (*OpenDllECF) (int *ident, int porta, int veloc, char *str);
typedef int (*OpenDllECF) (int *ident, int porta, int veloc, char *str);
To copy to clipboard, switch view to plain text mode
one of my questions is:
Should I include "# include <windows.h>", and...
typedef int (WINAPI *OpenDllECF) (int *ident, int porta, int veloc, char *str);
typedef int (WINAPI *OpenDllECF) (int *ident, int porta, int veloc, char *str);
To copy to clipboard, switch view to plain text mode
this is correct?
Bookmarks