Information générale
Catégorie:
Fonctions Windows API
>>Sorry about the previous message. I was tired yesterday. George Tasker was right: you can concatenate for this structure:
>>
>>lnsa_family = AF_INET
>>lcsa_family = loPointers.NumberToWordString(lnsa_family)
>>lcSockAddr = lcsa_family + lcsa_data
>>
>>Sorry once again for pointing you in the wrong direction! :(
>>
>>Vlad
>>
>
>Vlad,
>
>I really wish that the documentation conventions were consistent in Win32. I know that in the Win32.hlp file, most structures are similar to:
>
>typedef struct _PRINTER_DEFAULTS { // pd
>
> LPTSTR pDatatype;
> LPDEVMODE pDevMode;
> ACCESS_MASK DesiredAccess;
>} PRINTER_DEFAULTS;
>
>Where the "LP" prefix in indicates that something's a pointer. However, with the Winsock.h declarations, you have to rely on finding the pointer symbol. Makes it real easy to make a mistake like this (especially if one's tired).
>
>Just one question: Are you trying for the "Worst Puns" awards at the next DevCon? :-).
>
>George
"Worst puns"? What did I do this time? :) You know... my English...
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement