Click here to Skip to main content
15,886,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can get column name from Excel? Pin
Le@rner16-Apr-09 20:05
Le@rner16-Apr-09 20:05 
QuestionProblem with socket program in Client side Pin
Abhijit D. Babar16-Apr-09 20:02
Abhijit D. Babar16-Apr-09 20:02 
AnswerRe: Problem with socket program in Client side Pin
ParagPatel25-Apr-09 1:08
ParagPatel25-Apr-09 1:08 
QuestionSetComputerName not taking effect. No Error in Debug either. Pin
rbwest8616-Apr-09 14:08
rbwest8616-Apr-09 14:08 
AnswerRe: SetComputerName not taking effect. No Error in Debug either. Pin
Luc Pattyn16-Apr-09 14:27
sitebuilderLuc Pattyn16-Apr-09 14:27 
GeneralRe: SetComputerName not taking effect. No Error in Debug either. Pin
rbwest8616-Apr-09 14:41
rbwest8616-Apr-09 14:41 
GeneralRe: SetComputerName not taking effect. No Error in Debug either. Pin
Luc Pattyn16-Apr-09 14:51
sitebuilderLuc Pattyn16-Apr-09 14:51 
GeneralRe: SetComputerName not taking effect. No Error in Debug either. Pin
rbwest8616-Apr-09 14:58
rbwest8616-Apr-09 14:58 
Thank you for the advice. I will do so when I get back from Iraq. : \

Now I ran back to my room to try and re-compile this and I changed it to the following:

I still do not recieve any errors. Yet after I reboot the computer name is still the same. I am doing my best to understand.

<br />
#include <iostream><br />
#include <windows.h><br />
#include <stdio.h><br />
using namespace std;<br />
<br />
<br />
<br />
<br />
int main()<br />
{<br />
BOOL WINAPI SetComputerName(<br />
     LPCTSTR lpnewcomputername);    <br />
}<br />
<br />

GeneralRe: SetComputerName not taking effect. No Error in Debug either. Pin
Luc Pattyn16-Apr-09 15:06
sitebuilderLuc Pattyn16-Apr-09 15:06 
GeneralRe: SetComputerName not taking effect. No Error in Debug either. Pin
rbwest8616-Apr-09 15:19
rbwest8616-Apr-09 15:19 
GeneralRe: SetComputerName not taking effect. No Error in Debug either. Pin
Luc Pattyn16-Apr-09 15:28
sitebuilderLuc Pattyn16-Apr-09 15:28 
AnswerRe: SetComputerName not taking effect. No Error in Debug either. Pin
Stuart Dootson16-Apr-09 20:42
professionalStuart Dootson16-Apr-09 20:42 
QuestionPDF output for graphical MFC C++ app Pin
John Daleiden16-Apr-09 11:21
John Daleiden16-Apr-09 11:21 
AnswerRe: PDF output for graphical MFC C++ app Pin
Stuart Dootson16-Apr-09 20:51
professionalStuart Dootson16-Apr-09 20:51 
QuestionHow to get a C++ job? Pin
gotchagotcha16-Apr-09 8:21
gotchagotcha16-Apr-09 8:21 
AnswerRe: How to get a C++ job? Pin
Maximilien16-Apr-09 10:36
Maximilien16-Apr-09 10:36 
AnswerRe: How to get a C++ job? Pin
Joe Woodbury16-Apr-09 19:52
professionalJoe Woodbury16-Apr-09 19:52 
GeneralRe: How to get a C++ job? Pin
zhanzongru19-Apr-09 1:33
zhanzongru19-Apr-09 1:33 
QuestionUse Codec Pin
deadlyabbas16-Apr-09 7:38
deadlyabbas16-Apr-09 7:38 
AnswerRe: Use Codec Pin
Stuart Dootson16-Apr-09 7:50
professionalStuart Dootson16-Apr-09 7:50 
AnswerRe: Use Codec Pin
led mike16-Apr-09 7:51
led mike16-Apr-09 7:51 
GeneralRe: Use Codec Pin
Cedric Moonen16-Apr-09 7:55
Cedric Moonen16-Apr-09 7:55 
GeneralRe: Use Codec Pin
led mike16-Apr-09 7:59
led mike16-Apr-09 7:59 
JokeRe: Use Codec Pin
Cedric Moonen16-Apr-09 8:05
Cedric Moonen16-Apr-09 8:05 
AnswerRe: Use Codec Pin
CPallini16-Apr-09 8:07
mveCPallini16-Apr-09 8:07 

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.