Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: See this .. Pin
T210226-Nov-09 19:33
T210226-Nov-09 19:33 
GeneralRe: See this .. Pin
Garth J Lancaster26-Nov-09 19:47
professionalGarth J Lancaster26-Nov-09 19:47 
GeneralRe: See this .. Pin
Bram van Kampen28-Nov-09 13:03
Bram van Kampen28-Nov-09 13:03 
GeneralRe: See this .. Pin
Bram van Kampen28-Nov-09 13:06
Bram van Kampen28-Nov-09 13:06 
GeneralRe: See this .. Pin
Garth J Lancaster28-Nov-09 13:22
professionalGarth J Lancaster28-Nov-09 13:22 
GeneralRe: See this .. Pin
Bram van Kampen29-Nov-09 14:15
Bram van Kampen29-Nov-09 14:15 
AnswerRe: Mapped Drives Pin
Randor 27-Nov-09 15:23
professional Randor 27-Nov-09 15:23 
GeneralRe: Mapped Drives Pin
Bram van Kampen28-Nov-09 12:54
Bram van Kampen28-Nov-09 12:54 
Bingo!

Just the Ticket. Thanks.

As a Side Line, The MS Windows API is growing that wide that even googeling, or MSDN becomes difficult, if you don't remember the name of an API in the first place. Many of the 10,000 or so Microsoft engineers seem to be having the same problem. They have another weapon though, access to the windows code, and it occurs to me that if they cannot find quikly what they need, that they just introduce another API to add to the pile.

In the mean time I wrote:
<br />
     SGAPI BOOL GetUNC(LPCSTR DriveSpec, LPSTR pstrResult,LPDWORD pcbSize)<br />


based on the previous replies. That was not difficult, but WNetGetUniversalName() is more universal, and less likely to break in future versions.

Thanks, Smile | :)

Bram van Kampen

GeneralRe: Mapped Drives Pin
Garth J Lancaster28-Nov-09 13:23
professionalGarth J Lancaster28-Nov-09 13:23 
GeneralRe: Mapped Drives Pin
Bram van Kampen28-Nov-09 14:27
Bram van Kampen28-Nov-09 14:27 
GeneralRe: Mapped Drives Pin
Garth J Lancaster28-Nov-09 14:35
professionalGarth J Lancaster28-Nov-09 14:35 
QuestionOverlap Message on WM_TIMER Pin
Max++26-Nov-09 15:01
Max++26-Nov-09 15:01 
AnswerRe: Overlap Message on WM_TIMER Pin
«_Superman_»26-Nov-09 16:07
professional«_Superman_»26-Nov-09 16:07 
GeneralRe: Overlap Message on WM_TIMER Pin
Max++26-Nov-09 16:20
Max++26-Nov-09 16:20 
GeneralRe: Overlap Message on WM_TIMER Pin
JohnCz26-Nov-09 19:57
JohnCz26-Nov-09 19:57 
GeneralRe: Overlap Message on WM_TIMER Pin
Max++27-Nov-09 1:50
Max++27-Nov-09 1:50 
AnswerRe: Overlap Message on WM_TIMER Pin
KarstenK26-Nov-09 23:28
mveKarstenK26-Nov-09 23:28 
AnswerRe: Overlap Message on WM_TIMER Pin
JohnCz27-Nov-09 6:14
JohnCz27-Nov-09 6:14 
GeneralRe: Overlap Message on WM_TIMER Pin
Max++27-Nov-09 14:41
Max++27-Nov-09 14:41 
AnswerRe: Overlap Message on WM_TIMER Pin
JohnCz27-Nov-09 20:14
JohnCz27-Nov-09 20:14 
GeneralRe: Overlap Message on WM_TIMER Pin
KarstenK29-Nov-09 20:36
mveKarstenK29-Nov-09 20:36 
Questionprolog help Pin
golisarmi26-Nov-09 10:18
golisarmi26-Nov-09 10:18 
AnswerRe: prolog help Pin
CPallini26-Nov-09 20:41
mveCPallini26-Nov-09 20:41 
GeneralRe: prolog help Pin
Michael Schubert27-Nov-09 0:11
Michael Schubert27-Nov-09 0:11 
GeneralRe: prolog help Pin
Richard MacCutchan27-Nov-09 1:01
mveRichard MacCutchan27-Nov-09 1:01 

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.