hi,
I have some problems with winsock library so I am calling loading it dynmically then calling the functions so far so good,but the problem is for example I see in the winsock2 header files that -
GetHostByName and some other functions are which I use there prototypes is kinda weird for example GetHostByName prototype is
DECLARE_STDCALL_P(struct hostent *) gethostbyname(const char*);
I know gethostbyname returns a struct hostent * but I don't see its calling convetion neither __stdcall or pascal or fastcall so I can convert it into typedef pointer then use it to dynmically call the function.
thanks.
MrNoob.