Click here to Skip to main content
15,898,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Will this work in C++ (Vector, Struct) Pin
Chris Losinger27-Jul-09 9:10
professionalChris Losinger27-Jul-09 9:10 
Questionpolynomial addition with array using C++ Pin
beulahponmalar27-Jul-09 6:29
beulahponmalar27-Jul-09 6:29 
AnswerRe: polynomial addition with array using C++ Pin
Maximilien27-Jul-09 6:37
Maximilien27-Jul-09 6:37 
QuestionNotify Events When Event log is Full Pin
Raghu.Amil27-Jul-09 5:59
Raghu.Amil27-Jul-09 5:59 
AnswerRe: Notify Events When Event log is Full Pin
David Crow27-Jul-09 6:04
David Crow27-Jul-09 6:04 
QuestionDistribute application across network Pin
vikrant kpr27-Jul-09 5:10
vikrant kpr27-Jul-09 5:10 
QuestionBit of an odd one, vssver2, time_t and DWORD Pin
J4amieC27-Jul-09 4:43
J4amieC27-Jul-09 4:43 
AnswerRe: Bit of an odd one, vssver2, time_t and DWORD Pin
Rajesh R Subramanian27-Jul-09 7:11
professionalRajesh R Subramanian27-Jul-09 7:11 
Hi Jamie,

J4amieC wrote:
1) is a DWORD is akin to a uint in .NET? In code using a BinaryReader I have uint myint = BitConverter.ToUInt32(reader.ReadBytes(4) ,0); - does that look right?


DWORD is an unsigned long.


J4amieC wrote:
2) I was assuming that the field dwFileTimestamp would be a c++ time_t so I had the code DateTime dt = new DateTime(1970,1,1).AddSeconds(dwFileTimestamp); but this does not produce expected results (dates all over the place from 2064 to 2001). Question is, is there any other usual way that dates/times are stored in c++ ? any weird ones that are not really used any more? Any ideas?


Is there a way you could reverse-store the values (tell what would be stored in the file in the DWORD field for a given date)? Or, can you give me an example of the value in the file and the value that you expect? (Or you just have values in the file and don't know what it may correspond to?)


It is a crappy thing, but it's life -^ Carlo Pallini

GeneralRe: Bit of an odd one, vssver2, time_t and DWORD Pin
J4amieC27-Jul-09 23:02
J4amieC27-Jul-09 23:02 
GeneralRe: Bit of an odd one, vssver2, time_t and DWORD Pin
Rajesh R Subramanian28-Jul-09 5:36
professionalRajesh R Subramanian28-Jul-09 5:36 
QuestionHow to disable the Comport Error dialog? Pin
THAQCD27-Jul-09 4:05
THAQCD27-Jul-09 4:05 
QuestionSpecifying outgoing UDP port? Pin
Souldrift27-Jul-09 3:54
Souldrift27-Jul-09 3:54 
AnswerRe: Specifying outgoing UDP port? Pin
Rathore Amit27-Jul-09 4:42
Rathore Amit27-Jul-09 4:42 
QuestionHow to delete a directory Pin
V K 227-Jul-09 2:54
V K 227-Jul-09 2:54 
AnswerRe: How to delete a directory Pin
Rajesh R Subramanian27-Jul-09 3:04
professionalRajesh R Subramanian27-Jul-09 3:04 
GeneralRe: How to delete a directory Pin
V K 227-Jul-09 3:12
V K 227-Jul-09 3:12 
GeneralRe: How to delete a directory Pin
Rajesh R Subramanian27-Jul-09 3:15
professionalRajesh R Subramanian27-Jul-09 3:15 
QuestionItem width of HeaderCtrl.. Pin
kumar sanghvi27-Jul-09 1:42
kumar sanghvi27-Jul-09 1:42 
AnswerRe: Item width of HeaderCtrl.. Pin
«_Superman_»27-Jul-09 2:03
professional«_Superman_»27-Jul-09 2:03 
AnswerRe: Item width of HeaderCtrl.. Pin
Iain Clarke, Warrior Programmer27-Jul-09 3:42
Iain Clarke, Warrior Programmer27-Jul-09 3:42 
Question[Message Deleted] Pin
sarita_21627-Jul-09 1:16
sarita_21627-Jul-09 1:16 
QuestionRe: serial communication in dilog based application in vc++ Pin
Chandrasekharan P27-Jul-09 1:24
Chandrasekharan P27-Jul-09 1:24 
AnswerRe: serial communication in dilog based application in vc++ Pin
sarita_21627-Jul-09 1:31
sarita_21627-Jul-09 1:31 
GeneralRe: serial communication in dilog based application in vc++ Pin
King Julien27-Jul-09 3:39
King Julien27-Jul-09 3:39 
GeneralRe: serial communication in dilog based application in vc++ Pin
sarita_21627-Jul-09 18:36
sarita_21627-Jul-09 18:36 

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.