Click here to Skip to main content
15,908,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: protocol using vc++ Pin
CPallini8-Jan-09 9:24
mveCPallini8-Jan-09 9:24 
QuestionDebug assertion failed encountered when executing my SDI application Pin
Divya Lalwani7-Jan-09 19:37
Divya Lalwani7-Jan-09 19:37 
AnswerRe: Debug assertion failed encountered when executing my SDI application Pin
Naveen7-Jan-09 19:56
Naveen7-Jan-09 19:56 
GeneralRe: Debug assertion failed encountered when executing my SDI application Pin
Divya Lalwani7-Jan-09 20:35
Divya Lalwani7-Jan-09 20:35 
Newsvc++ debuugging [modified] Pin
kir_MFC7-Jan-09 19:30
kir_MFC7-Jan-09 19:30 
GeneralRe: vc++ debuugging Pin
Naveen7-Jan-09 19:54
Naveen7-Jan-09 19:54 
QuestionRegConnectRegistryA fails to work Pin
raesa7-Jan-09 19:10
raesa7-Jan-09 19:10 
AnswerRe: RegConnectRegistryA fails to work Pin
Iain Clarke, Warrior Programmer8-Jan-09 0:04
Iain Clarke, Warrior Programmer8-Jan-09 0:04 
I can think of a few reasons why this wouldn't work.

There are no "try with this user/password" combination, so it will be using the current user. Do you have sufficient rights on the other machine?
You can use LogonUser/ImpersonateLoggedOnUser to change the user you're using - but it's not for the faint hearted.

Also from the documentation:
Windows XP Pro: If the computer is joined to a workgroup and the "Force network logons using local accounts to authenticate as Guest" policy is enabled, the function fails. Note that this policy is enabled by default for a computer running Windows XP Professional that is joined to a workgroup.

Lastly, is the machine name valid? You may also be able to use an IP address rather than a name (ie, "\\192,168.0.99"), in which case, can you ping it? Did you remember the \\ in front of the name?

Good luck,

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

Questionhelp me ! Pin
mrcusutn7-Jan-09 16:30
mrcusutn7-Jan-09 16:30 
AnswerRe: help me ! Pin
EliottA7-Jan-09 17:15
EliottA7-Jan-09 17:15 
AnswerRe: help me ! Pin
ThatsAlok7-Jan-09 19:39
ThatsAlok7-Jan-09 19:39 
AnswerRe: help me ! Pin
CPallini7-Jan-09 21:22
mveCPallini7-Jan-09 21:22 
GeneralRe: help me ! Pin
Iain Clarke, Warrior Programmer7-Jan-09 21:55
Iain Clarke, Warrior Programmer7-Jan-09 21:55 
GeneralRe: help me ! Pin
Code-o-mat7-Jan-09 23:28
Code-o-mat7-Jan-09 23:28 
GeneralOff-Hijacking : Welcome in the THHB, Code-o-mat! Pin
CPallini8-Jan-09 0:29
mveCPallini8-Jan-09 0:29 
GeneralRe: Off-Hijacking : Welcome in the THHB, Code-o-mat! Pin
Hamid_RT8-Jan-09 1:57
Hamid_RT8-Jan-09 1:57 
JokeRe: Off-Hijacking : Welcome in the THHB, Code-o-mat! Pin
Iain Clarke, Warrior Programmer8-Jan-09 5:31
Iain Clarke, Warrior Programmer8-Jan-09 5:31 
GeneralRe: Off-Hijacking : Welcome in the THHB, Code-o-mat! Pin
Hamid_RT8-Jan-09 7:23
Hamid_RT8-Jan-09 7:23 
JokeRe: Off-Hijacking : Welcome in the THHB, Code-o-mat! Pin
CPallini8-Jan-09 7:43
mveCPallini8-Jan-09 7:43 
GeneralRe: help me ! Pin
Hamid_RT7-Jan-09 23:26
Hamid_RT7-Jan-09 23:26 
GeneralRe: help me ! Pin
CPallini7-Jan-09 23:27
mveCPallini7-Jan-09 23:27 
GeneralRe: help me ! Pin
Hamid_RT7-Jan-09 23:52
Hamid_RT7-Jan-09 23:52 
AnswerRe: help me ! Pin
Michael Schubert8-Jan-09 1:36
Michael Schubert8-Jan-09 1:36 
QuestionRe: help me ! Pin
David Crow8-Jan-09 3:05
David Crow8-Jan-09 3:05 
AnswerRe: help me ! Pin
Lutosław21-Jan-09 1:15
Lutosław21-Jan-09 1:15 

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.