Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: p/invoke _stat Pin
DanielWehrle19-Jan-11 21:44
DanielWehrle19-Jan-11 21:44 
GeneralRe: p/invoke _stat Pin
DanielWehrle20-Jan-11 0:05
DanielWehrle20-Jan-11 0:05 
GeneralRe: p/invoke _stat Pin
Tony Richards20-Jan-11 0:42
Tony Richards20-Jan-11 0:42 
GeneralRe: p/invoke _stat Pin
DanielWehrle20-Jan-11 1:35
DanielWehrle20-Jan-11 1:35 
GeneralRe: p/invoke _stat Pin
Richard MacCutchan20-Jan-11 1:27
mveRichard MacCutchan20-Jan-11 1:27 
GeneralRe: p/invoke _stat Pin
DanielWehrle20-Jan-11 1:47
DanielWehrle20-Jan-11 1:47 
GeneralRe: p/invoke _stat Pin
Richard MacCutchan20-Jan-11 3:50
mveRichard MacCutchan20-Jan-11 3:50 
GeneralRe: p/invoke _stat Pin
Richard MacCutchan20-Jan-11 7:14
mveRichard MacCutchan20-Jan-11 7:14 
Further information, the STAT structure should be as follows:
public struct STAT
{
    public uint st_dev;
    public ushort st_ino;
    public ushort st_mode;
    public short st_nlink;
    public short st_uid;
    public short st_gid;
    public uint st_rdev;
    public uint st_size;
    public uint st_atime;
    public uint st_mtime;
    public uint st_ctime;
}

Note the last four entries are uint rather than long values.
I must get a clever new signature for 2011.

GeneralRe: p/invoke _stat Pin
DanielWehrle20-Jan-11 20:29
DanielWehrle20-Jan-11 20:29 
GeneralRe: p/invoke _stat Pin
Richard MacCutchan20-Jan-11 21:31
mveRichard MacCutchan20-Jan-11 21:31 
QuestionProgramming Scanner Hardware Pin
RobScripta19-Jan-11 4:43
professionalRobScripta19-Jan-11 4:43 
AnswerRe: Programming Scanner Hardware Pin
Richard MacCutchan19-Jan-11 5:15
mveRichard MacCutchan19-Jan-11 5:15 
GeneralRe: Programming Scanner Hardware Pin
RobScripta19-Jan-11 5:27
professionalRobScripta19-Jan-11 5:27 
GeneralRe: Programming Scanner Hardware Pin
Richard MacCutchan19-Jan-11 5:44
mveRichard MacCutchan19-Jan-11 5:44 
GeneralRe: Programming Scanner Hardware Pin
RobScripta20-Jan-11 1:06
professionalRobScripta20-Jan-11 1:06 
GeneralRe: Programming Scanner Hardware Pin
Richard MacCutchan20-Jan-11 1:39
mveRichard MacCutchan20-Jan-11 1:39 
QuestionResourse file and axWindowsMediaPlayer(C#) Pin
Maximys19-Jan-11 2:45
Maximys19-Jan-11 2:45 
AnswerRe: Resourse file and axWindowsMediaPlayer(C#) Pin
RaviRanjanKr20-Jan-11 17:33
professionalRaviRanjanKr20-Jan-11 17:33 
Questionconnectionstring to sqlexpress 2005 Pin
arkiboys19-Jan-11 1:53
arkiboys19-Jan-11 1:53 
AnswerRe: connectionstring to sqlexpress 2005 Pin
Hiren solanki19-Jan-11 2:05
Hiren solanki19-Jan-11 2:05 
GeneralRe: connectionstring to sqlexpress 2005 Pin
arkiboys19-Jan-11 2:14
arkiboys19-Jan-11 2:14 
GeneralRe: connectionstring to sqlexpress 2005 Pin
Hiren solanki19-Jan-11 2:25
Hiren solanki19-Jan-11 2:25 
GeneralRe: connectionstring to sqlexpress 2005 Pin
arkiboys19-Jan-11 3:08
arkiboys19-Jan-11 3:08 
AnswerRe: connectionstring to sqlexpress 2005 Pin
Dan Mos19-Jan-11 2:44
Dan Mos19-Jan-11 2:44 
GeneralRe: connectionstring to sqlexpress 2005 Pin
Henry Minute19-Jan-11 7:48
Henry Minute19-Jan-11 7:48 

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.