December 18th, 2003, 01:14 PM
how to print Long pointers in dbgprint
could you tell me how to print the following in a dbgprint statment
I have the following but it doesn't seems to work properly
dbgprint("WSPAddressToStrying: lpsaAddress(IP)=[%s] lpsaAddress(port)=[%d] lpszAddressString=[%S] lpdwAddressStringLength=[%u]\n",
ntohs(pSockAddrIn->sin_port), *lpszAddressString, lpdwAddressStringLength);
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.