Click here to Skip to main content
15,917,174 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: want to post .gif file on my dialog. Pin
Shog924-May-02 12:20
sitebuilderShog924-May-02 12:20 
GeneralRe: want to post .gif file on my dialog. Pin
25-May-02 0:14
suss25-May-02 0:14 
GeneralRe: want to post .gif file on my dialog. Pin
pnpfriend25-May-02 4:40
pnpfriend25-May-02 4:40 
GeneralRe: want to post .gif file on my dialog. Pin
devvvy28-Oct-02 11:23
devvvy28-Oct-02 11:23 
GeneralWin2000 Vs. XP Pin
pnpfriend24-May-02 10:45
pnpfriend24-May-02 10:45 
GeneralWSAGetLastError oddity in VC7 Pin
Clinton James24-May-02 10:47
Clinton James24-May-02 10:47 
GeneralRe: WSAGetLastError oddity in VC7 Pin
Mike Nordell24-May-02 16:16
Mike Nordell24-May-02 16:16 
GeneralRe: WSAGetLastError oddity in VC7 Pin
Clinton James28-May-02 4:34
Clinton James28-May-02 4:34 
Please read my post before attempting to respond.

If you look in the documentation, gethostbyname() returns "a specific error number can be retrieved by calling WSAGetLastError" it continues on to list several error codes. One of which is WSANOTINITALISED, the correct error code in this case.

WSAGetLastError() does not return the specific error code (consistant with previous versions of VC) but a more generic system error of 5. The question is not what does the returned error message mean but why WSAGetLastError() returns "access denied" and not WSANOTINITALISED?

Does anyone with some experience know?
Generalfinding string length of Unicode string Pin
24-May-02 10:38
suss24-May-02 10:38 
GeneralRe: finding string length of Unicode string Pin
Matt Gullett24-May-02 10:39
Matt Gullett24-May-02 10:39 
Generalconst question Pin
24-May-02 9:38
suss24-May-02 9:38 
GeneralRe: const question Pin
Dana Holt24-May-02 10:19
Dana Holt24-May-02 10:19 
QuestionCan you solve this? Pin
24-May-02 9:16
suss24-May-02 9:16 
AnswerRe: Can you solve this? Pin
Chris Losinger24-May-02 9:28
professionalChris Losinger24-May-02 9:28 
GeneralRe: Can you solve this? Pin
24-May-02 9:39
suss24-May-02 9:39 
GeneralRe: Can you solve this? Pin
Chris Losinger24-May-02 9:53
professionalChris Losinger24-May-02 9:53 
GeneralRe: Can you solve this? Pin
25-May-02 15:45
suss25-May-02 15:45 
Generalkeystroke tracker Pin
Jimmy9514824-May-02 8:47
Jimmy9514824-May-02 8:47 
GeneralRe: keystroke tracker Pin
Dana Holt24-May-02 10:27
Dana Holt24-May-02 10:27 
GeneralEditable CListCtrl Problems Pin
Anton A. Loukine24-May-02 8:38
Anton A. Loukine24-May-02 8:38 
GeneralRe: Editable CListCtrl Problems Pin
laphijia24-May-02 22:33
laphijia24-May-02 22:33 
GeneralChange BG colour of a button Pin
Nnamdi Onyeyiri24-May-02 8:01
Nnamdi Onyeyiri24-May-02 8:01 
GeneralRe: Change BG colour of a button Pin
Ravi Bhavnani24-May-02 8:25
professionalRavi Bhavnani24-May-02 8:25 
GeneralRe: Change BG colour of a button Pin
Mazdak24-May-02 8:47
Mazdak24-May-02 8:47 
GeneralRe: Change BG colour of a button Pin
Alexandru Savescu25-May-02 2:44
Alexandru Savescu25-May-02 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.