Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNetwork-wide file based locking (never mind) Pin
Ravi Bhavnani23-Jan-05 11:53
professionalRavi Bhavnani23-Jan-05 11:53 
GeneralDoh! Pin
Ravi Bhavnani23-Jan-05 12:49
professionalRavi Bhavnani23-Jan-05 12:49 
GeneralMFC closing a dialog Pin
tordyvel23-Jan-05 11:29
tordyvel23-Jan-05 11:29 
GeneralRe: MFC closing a dialog Pin
Ravi Bhavnani23-Jan-05 11:54
professionalRavi Bhavnani23-Jan-05 11:54 
GeneralRe: MFC closing a dialog Pin
toxcct23-Jan-05 22:18
toxcct23-Jan-05 22:18 
Questionwhat is the "external definition model" of VC++ ?? Pin
Tomas joy23-Jan-05 9:36
Tomas joy23-Jan-05 9:36 
AnswerRe: what is the "external definition model" of VC++ ?? Pin
David Crow24-Jan-05 7:21
David Crow24-Jan-05 7:21 
QuestionAnybody with DDK experience here? Pin
s.connery23-Jan-05 8:07
s.connery23-Jan-05 8:07 
Hello,

I am new to driver development and I will apreciate if you could help me with my small project.

I am rebuilding ramdisk from known microsoft sample and my interest here is:

1) to get file/directory name which is send or requested by the system
2) process those files by redirecting buffer to another location
3) Showing those file names on a virtual drive as it was actualy copied on it (wonder if its possible to show file names and its size which might not exist at all)

I found a function RamDiskReadWrite within MS Ramdisk sample which is DispatchReadWrite routine, but it reads and writes on very low level ( if I am not mistaken ) like it showen below:
_________________________________________

PIO_STACK_LOCATION irpStack;
PDEVICE_EXTENSION devExt;
...
devExt->DiskImage + irpStack->Parameters.Read.ByteOffset.LowPart
_________________________________________


Is it correct to get file/directory names in code above like this:
irpStack->FileObject ......
if it so could you please extend little bit this code for me.

When I want to read from virtual drive how can I pass buffer from CRT function fread to the system or if its not possible is there any other solution for this?


Thank you very much in advance.
Generalsearch engine Pin
jinshi23-Jan-05 5:40
jinshi23-Jan-05 5:40 
QuestionDLL PostMessage() --> how to evaluate in another application? Pin
nne-vitamin23-Jan-05 5:20
nne-vitamin23-Jan-05 5:20 
AnswerRe: DLL PostMessage() --> how to evaluate in another application? Pin
PJ Arends23-Jan-05 10:05
professionalPJ Arends23-Jan-05 10:05 
GeneralWhen is download complete Pin
tony777777723-Jan-05 4:52
tony777777723-Jan-05 4:52 
GeneralCRecordset and ATL COM Pin
xcavin23-Jan-05 3:36
xcavin23-Jan-05 3:36 
GeneralBlinking CStatic Control Pin
A_Fa23-Jan-05 2:51
A_Fa23-Jan-05 2:51 
GeneralRe: Blinking CStatic Control Pin
rbid23-Jan-05 3:58
rbid23-Jan-05 3:58 
GeneralTopics in MFC Programming Pin
phijophlip23-Jan-05 2:45
phijophlip23-Jan-05 2:45 
GeneralRe: Topics in MFC Programming Pin
Maximilien23-Jan-05 9:14
Maximilien23-Jan-05 9:14 
GeneralFatal error LNK1103: debugging information corrupt; recompile module Pin
Behzad Ebrahimi23-Jan-05 2:10
Behzad Ebrahimi23-Jan-05 2:10 
GeneralRe: Fatal error LNK1103: debugging information corrupt; recompile module Pin
Ryan Binns23-Jan-05 17:49
Ryan Binns23-Jan-05 17:49 
GeneralRe: Fatal error LNK1103: debugging information corrupt; recompile module Pin
Behzad Ebrahimi24-Jan-05 1:31
Behzad Ebrahimi24-Jan-05 1:31 
QuestionHow to dump NT hashes from local machine? Pin
sfirouza23-Jan-05 1:25
sfirouza23-Jan-05 1:25 
GeneralProblem in calling lapack in Matlab MEX program Pin
tttyip22-Jan-05 23:29
tttyip22-Jan-05 23:29 
GeneralOnHotKey Problem!!! Pin
FreewareFire22-Jan-05 21:56
FreewareFire22-Jan-05 21:56 
GeneralDebug mode in COM ... Pin
omkar joshi22-Jan-05 21:41
omkar joshi22-Jan-05 21:41 
GeneralRe: Debug mode in COM ... Pin
Tim Deveaux23-Jan-05 3:18
Tim Deveaux23-Jan-05 3:18 

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.