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

C / C++ / MFC

 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 21:22
mveCPallini8-Jul-10 21:22 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Tim Craig8-Jul-10 21:38
Tim Craig8-Jul-10 21:38 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 22:19
mveCPallini8-Jul-10 22:19 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE9-Jul-10 4:06
professionalDr.Walt Fair, PE9-Jul-10 4:06 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini9-Jul-10 4:22
mveCPallini9-Jul-10 4:22 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Emilio Garavaglia10-Jul-10 4:29
Emilio Garavaglia10-Jul-10 4:29 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations [modified] Pin
CPallini10-Jul-10 5:05
mveCPallini10-Jul-10 5:05 
QuestionSetting File Creation Time Pin
Fareed Rizkalla8-Jul-10 6:53
Fareed Rizkalla8-Jul-10 6:53 
I've been trying to put some code together for setting a desired file creation date/time.
I also got introduced to the FILETIME structure (2 DWORD).
DWORD unsigned long 4,294,967,296 (possibles, including zero)

Hopefully I can get a string to be processed and set the file creation date/time.

So these would be the variables for the DWORD:

1 second 100
1 minute 6,000
1 hour 360,000
24 hours 8,640,000
1 year 3,153,600,000


Current resources on MSDN use SystemTime functions, out of fear of guiding someone to fake copyrighted material.

HANDLE File = CreateFile(L"My File.txt", GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, FILE_WRITE_ATTRIBUTES, NULL);
SetFileTime( File, &CreationTime, NULL, NULL);
CloseHandle(File);

QuestionRe: Setting File Creation Time Pin
CPallini8-Jul-10 6:58
mveCPallini8-Jul-10 6:58 
AnswerRe: Setting File Creation Time Pin
Fareed Rizkalla8-Jul-10 7:47
Fareed Rizkalla8-Jul-10 7:47 
GeneralRe: Setting File Creation Time Pin
CPallini8-Jul-10 22:52
mveCPallini8-Jul-10 22:52 
AnswerRe: Setting File Creation Time Pin
Maximilien8-Jul-10 7:11
Maximilien8-Jul-10 7:11 
GeneralRe: Setting File Creation Time Pin
Fareed Rizkalla8-Jul-10 8:13
Fareed Rizkalla8-Jul-10 8:13 
QuestionRe: Setting File Creation Time Pin
David Crow9-Jul-10 3:18
David Crow9-Jul-10 3:18 
AnswerRe: Setting File Creation Time Pin
Emilio Garavaglia10-Jul-10 4:38
Emilio Garavaglia10-Jul-10 4:38 
QuestionSet C as default in VS2008? Pin
drolfson8-Jul-10 5:32
professionaldrolfson8-Jul-10 5:32 
QuestionRe: Set C as default in VS2008? Pin
CPallini8-Jul-10 6:30
mveCPallini8-Jul-10 6:30 
AnswerRe: Set C as default in VS2008? Pin
Aescleal8-Jul-10 20:25
Aescleal8-Jul-10 20:25 
QuestionShellExecuteEx path question. [modified] (fixed) Pin
Maximilien8-Jul-10 5:11
Maximilien8-Jul-10 5:11 
GeneralRe: ShellExecuteEx path question. Pin
David Crow8-Jul-10 5:37
David Crow8-Jul-10 5:37 
QuestionMS ActiveX Browser Popup Problem Pin
od@ananzi.co.za8-Jul-10 5:09
od@ananzi.co.za8-Jul-10 5:09 
QuestionPointer Corruption on accessing a class member variable Pin
apphia_j_798-Jul-10 4:29
apphia_j_798-Jul-10 4:29 
QuestionRe: Pointer Corruption on accessing a class member variable Pin
David Crow8-Jul-10 4:34
David Crow8-Jul-10 4:34 
AnswerRe: Pointer Corruption on accessing a class member variable Pin
Aescleal8-Jul-10 4:49
Aescleal8-Jul-10 4:49 
QuestionOLEDB Accessor mapping of 'bit' datatype Pin
Spawn@Melmac8-Jul-10 4:10
Spawn@Melmac8-Jul-10 4:10 

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.