Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Copy Constructor in Singletonclass. Pin
«_Superman_»17-Jan-10 18:20
professional«_Superman_»17-Jan-10 18:20 
AnswerRe: Copy Constructor in Singletonclass. Pin
Avi Berger17-Jan-10 18:12
Avi Berger17-Jan-10 18:12 
QuestionSimple input and output program that quits to soon. I cant find the problem, please take a look. Pin
rbwest8617-Jan-10 9:50
rbwest8617-Jan-10 9:50 
AnswerRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Garth J Lancaster17-Jan-10 10:17
professionalGarth J Lancaster17-Jan-10 10:17 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
rbwest8617-Jan-10 10:25
rbwest8617-Jan-10 10:25 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Garth J Lancaster17-Jan-10 10:31
professionalGarth J Lancaster17-Jan-10 10:31 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Bram van Kampen17-Jan-10 10:31
Bram van Kampen17-Jan-10 10:31 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Garth J Lancaster17-Jan-10 10:38
professionalGarth J Lancaster17-Jan-10 10:38 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Bram van Kampen17-Jan-10 14:27
Bram van Kampen17-Jan-10 14:27 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Garth J Lancaster17-Jan-10 14:29
professionalGarth J Lancaster17-Jan-10 14:29 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Bram van Kampen17-Jan-10 14:45
Bram van Kampen17-Jan-10 14:45 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Luc Pattyn17-Jan-10 14:49
sitebuilderLuc Pattyn17-Jan-10 14:49 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Bram van Kampen17-Jan-10 15:04
Bram van Kampen17-Jan-10 15:04 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Luc Pattyn17-Jan-10 15:11
sitebuilderLuc Pattyn17-Jan-10 15:11 
AnswerRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
Avi Berger17-Jan-10 10:30
Avi Berger17-Jan-10 10:30 
GeneralRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
rbwest8617-Jan-10 11:03
rbwest8617-Jan-10 11:03 
AnswerRe: Simple input and output program that quits to soon. I cant find the problem, please take a look. Pin
rbwest8617-Jan-10 11:57
rbwest8617-Jan-10 11:57 
Questiona fscanf error in MFC SDI Pin
CHYGO17-Jan-10 9:47
CHYGO17-Jan-10 9:47 
AnswerRe: a fscanf error in MFC SDI Pin
Garth J Lancaster17-Jan-10 10:37
professionalGarth J Lancaster17-Jan-10 10:37 
GeneralRe: a fscanf error in MFC SDI Pin
CHYGO17-Jan-10 17:55
CHYGO17-Jan-10 17:55 
AnswerRe: a fscanf error in MFC SDI Pin
Bram van Kampen17-Jan-10 10:40
Bram van Kampen17-Jan-10 10:40 
GeneralRe: a fscanf error in MFC SDI Pin
Garth J Lancaster17-Jan-10 14:30
professionalGarth J Lancaster17-Jan-10 14:30 
GeneralRe: a fscanf error in MFC SDI Pin
Bram van Kampen17-Jan-10 14:53
Bram van Kampen17-Jan-10 14:53 
GeneralRe: a fscanf error in MFC SDI Pin
CHYGO17-Jan-10 17:58
CHYGO17-Jan-10 17:58 
QuestionVisual C++ 2005 in Windows PE 2 [modified] [SOLVED] Pin
dybs17-Jan-10 5:59
dybs17-Jan-10 5:59 
Has anyone succeeded in getting the Visual C++ 2005 runtime or .NET 2.0 to work in Windows PE 2.0? Everything I've found online (such as here[^]) indicates no one has gotten this to work except some guy who goes by Zoronax, but he never described how he got it to work. I did find a plugin[^] that is supposed to work for PE 1.6, but not PE 2.0, so that does me no good

I'm trying to automate our workstation backups in Windows PE, and I need to determine which user belongs to a given machine. We figured the best way is to compare the MAC address against a text file that maps MAC address to user name. I tried doing this in a batch file using
FOR /F "tokens=2 delims=:" %%I IN ('ipconfig /all ^| find /I "Physical Address"') DO 'process file here'
but the %%I variable has a trailing CR at the end and I can't seem to get rid of it. Since that wasn't working, I wrote a small C++ utility to do the comparison and display the user name. It works find in XP and Vista, but I get a "side-by-side configuration is incorrect" error in Windows PE. I assume this means I need to install the Visual C++ 2005 runtime. When I try to run the installer for it, though, msiexec throws a "File could not be found" error. Any ideas?

Thanks,

Dybs

The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

modified on Monday, January 18, 2010 7:23 PM

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.