Click here to Skip to main content
15,922,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRebar Band Info Problem Pin
Dan Neilsen2-Sep-04 15:08
Dan Neilsen2-Sep-04 15:08 
GeneralRe: Rebar Band Info Problem Pin
Dan Neilsen2-Sep-04 15:13
Dan Neilsen2-Sep-04 15:13 
GeneralMultiple BDA Graphs within the same Process. Pin
bear72-Sep-04 14:06
bear72-Sep-04 14:06 
Questionread/write buffered render engine... suggestions? Pin
xdissent2-Sep-04 12:38
xdissent2-Sep-04 12:38 
Generalcustom error during compile time Pin
Rohit Joshi2-Sep-04 11:32
Rohit Joshi2-Sep-04 11:32 
GeneralRe: custom error during compile time Pin
Michael Dunn2-Sep-04 12:01
sitebuilderMichael Dunn2-Sep-04 12:01 
GeneralRe: custom error during compile time Pin
James R. Twine2-Sep-04 13:53
James R. Twine2-Sep-04 13:53 
GeneralNT User ID Using Visual C++ Pin
canniballl2-Sep-04 11:12
canniballl2-Sep-04 11:12 
I have to write a very small app in VC++ for my small shop. They want it written in VC++, otherwise I'd do this in Java or C#.

Anyway, at one point, they want to record which NT USER performed a transaction.

They specifically said:
"We want whatever Windows XP recognizes the current user as. So, whoever is logged into Windows, user their ID."

How do I do this? In really easy in Java and C#, but I don't know offhand how to do it in VC++.

Info:
Windows XP Pro
(Some MIGHT have Win2000, but 99% have XP)

I did this once in VB (might have hit a .dll to get the info) and it still works under XP. But the code is gone, so I don't know which DLL.

Thanks,
Chris
GeneralRe: NT User ID Using Visual C++ Pin
Joaquín M López Muñoz2-Sep-04 11:29
Joaquín M López Muñoz2-Sep-04 11:29 
GeneralStartup computer automatically Pin
sschilachi2-Sep-04 11:03
sschilachi2-Sep-04 11:03 
GeneralRe: Startup computer automatically Pin
Mika Larramo2-Sep-04 12:20
Mika Larramo2-Sep-04 12:20 
GeneralRe: Startup computer automatically Pin
sschilachi2-Sep-04 21:01
sschilachi2-Sep-04 21:01 
GeneralRe: Startup computer automatically Pin
ThatsAlok3-Sep-04 4:19
ThatsAlok3-Sep-04 4:19 
GeneralRe: Startup computer automatically Pin
lonely_life2-Sep-04 16:27
lonely_life2-Sep-04 16:27 
GeneralRe: Startup computer automatically Pin
bmw50025-Sep-04 14:45
bmw50025-Sep-04 14:45 
Questiondundas vs. roguewave vs. ??? Pin
Maximilien2-Sep-04 10:30
Maximilien2-Sep-04 10:30 
AnswerRe: dundas vs. roguewave vs. ??? Pin
Antony M Kancidrowski3-Sep-04 2:27
Antony M Kancidrowski3-Sep-04 2:27 
GeneralRandom Number Generator Pin
Alexander M.,2-Sep-04 9:30
Alexander M.,2-Sep-04 9:30 
GeneralRe: Random Number Generator Pin
David Crow2-Sep-04 9:33
David Crow2-Sep-04 9:33 
GeneralRe: Random Number Generator Pin
Alexander M.,2-Sep-04 9:57
Alexander M.,2-Sep-04 9:57 
GeneralRe: Random Number Generator Pin
David Crow2-Sep-04 10:01
David Crow2-Sep-04 10:01 
GeneralRe: Random Number Generator Pin
Alexander M.,2-Sep-04 10:36
Alexander M.,2-Sep-04 10:36 
GeneralRe: Random Number Generator Pin
User 66582-Sep-04 10:17
User 66582-Sep-04 10:17 
GeneralRe: Random Number Generator Pin
PJ Arends2-Sep-04 12:43
professionalPJ Arends2-Sep-04 12:43 
GeneralRe: Random Number Generator Pin
alex.barylski2-Sep-04 18:39
alex.barylski2-Sep-04 18:39 

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.