Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLink Error...... LIBC.lib...missing main() FIXED Pin
ldsdbomber19-Apr-06 0:50
ldsdbomber19-Apr-06 0:50 
AnswerRe: Link Error...... LIBC.lib Pin
ldsdbomber19-Apr-06 0:52
ldsdbomber19-Apr-06 0:52 
GeneralRe: Link Error...... LIBC.lib Pin
ldsdbomber19-Apr-06 0:58
ldsdbomber19-Apr-06 0:58 
QuestionPage / Swap File Pin
rajeevktripathi19-Apr-06 0:27
rajeevktripathi19-Apr-06 0:27 
AnswerRe: Page / Swap File Pin
Michael Dunn19-Apr-06 1:17
sitebuilderMichael Dunn19-Apr-06 1:17 
QuestionRe: Page / Swap File Pin
rajeevktripathi19-Apr-06 1:48
rajeevktripathi19-Apr-06 1:48 
AnswerRe: Page / Swap File Pin
David Crow19-Apr-06 3:09
David Crow19-Apr-06 3:09 
QuestionRe: Page / Swap File Pin
rajeevktripathi19-Apr-06 3:40
rajeevktripathi19-Apr-06 3:40 
Thnaks for your suggetions,

Now I m trying to move files at boot time by using MoveFileEx( ), but this function even deletes the source file ( when we give second parameter NULL) at boot time, but does not move the file .
This is the code I am using

BOOL bMove;
bMove = MoveFileEx(_T("C:\\Rajeev.txt"), _T("C:\\MovedRajeev.txt"), MOVEFILE_DELAY_UNTIL_REBOOT);
int aaa = GetLastError();

Here bMove returns 1 and aaa is 0

Please guide me that where I am wrong.

Thanks
AnswerRe: Page / Swap File Pin
David Crow19-Apr-06 3:47
David Crow19-Apr-06 3:47 
GeneralRe: Page / Swap File Pin
rajeevktripathi19-Apr-06 3:52
rajeevktripathi19-Apr-06 3:52 
QuestionRe: Page / Swap File Pin
David Crow19-Apr-06 4:00
David Crow19-Apr-06 4:00 
GeneralRe: Page / Swap File Pin
rajeevktripathi19-Apr-06 3:57
rajeevktripathi19-Apr-06 3:57 
QuestionRe: Page / Swap File Pin
David Crow19-Apr-06 4:02
David Crow19-Apr-06 4:02 
GeneralRe: Page / Swap File Pin
DoctorEd20-Apr-06 14:31
DoctorEd20-Apr-06 14:31 
QuestionHow to get printer status Pin
bluelzdwy19-Apr-06 0:26
bluelzdwy19-Apr-06 0:26 
QuestionRe: How to get printer status Pin
David Crow19-Apr-06 3:17
David Crow19-Apr-06 3:17 
QuestionRe: How to get printer status Pin
bluelzdwy19-Apr-06 14:37
bluelzdwy19-Apr-06 14:37 
QuestionRe: How to get printer status Pin
David Crow20-Apr-06 2:56
David Crow20-Apr-06 2:56 
AnswerRe: How to get printer status Pin
bluelzdwy20-Apr-06 14:30
bluelzdwy20-Apr-06 14:30 
QuestionRe: How to get printer status Pin
David Crow21-Apr-06 2:25
David Crow21-Apr-06 2:25 
QuestionTRACE function in console app Pin
9ine19-Apr-06 0:08
9ine19-Apr-06 0:08 
AnswerRe: TRACE function in console app Pin
prasad_som19-Apr-06 0:28
prasad_som19-Apr-06 0:28 
GeneralRe: TRACE function in console app Pin
9ine19-Apr-06 0:34
9ine19-Apr-06 0:34 
GeneralRe: TRACE function in console app Pin
toxcct19-Apr-06 0:39
toxcct19-Apr-06 0:39 
AnswerRe: TRACE function in console app Pin
prasad_som19-Apr-06 0:44
prasad_som19-Apr-06 0:44 

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.