Click here to Skip to main content
16,015,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application Starting - Restarting Pin
Nish Nishant26-May-02 19:46
sitebuilderNish Nishant26-May-02 19:46 
GeneralRe: Application Starting - Restarting Pin
Sameer Maggon26-May-02 19:52
Sameer Maggon26-May-02 19:52 
GeneralRe: Application Starting - Restarting Pin
Nish Nishant26-May-02 19:59
sitebuilderNish Nishant26-May-02 19:59 
QuestionIDispatch* ? Pin
Abin26-May-02 19:30
Abin26-May-02 19:30 
GeneralAdding Buttons To Title Bar Pin
Joel Matthias26-May-02 19:05
Joel Matthias26-May-02 19:05 
GeneralRe: Adding Buttons To Title Bar Pin
Shog926-May-02 19:19
sitebuilderShog926-May-02 19:19 
GeneralRe: Adding Buttons To Title Bar Pin
aldeba27-May-02 6:36
aldeba27-May-02 6:36 
Generalwin32 API Pin
26-May-02 19:00
suss26-May-02 19:00 
would you please tell me about som win32 API which provide
accessing(Read/Write)
to FAT32 logical partion on my hard disk.

As mater of fact,I want to read or write some data from/to FAT32
partitions in
my VC++ program.

I perform it on FAT16 system with using VWIN32 services and
_DIOC_REGISTERS
but it failed on FAT32.

there is some assembly snippet code in MSDN help library,but I
couldn't compile
and run it in VC++ with __asm keyword in my code as see below
__asm{
mov si, 6001h ;write normal file data. SI=0 for read
;see "In Write Mode" below for more write
values

mov cx, -1 ;cx must be -1
mov dx, seg Buffer
mov ds, dx
mov bx, offset Buffer ;See below
mov dl, DriveNum ;See below

mov ax, 7305h ;Ext_ABSDiskReadWrite
int 21h

jc error_handler ;carry set means error

}

I got some compile error on line 3(mov dx,seg Buffer) and on line
5(mov bx,offset Buffer).

I tried it with _DIOC_REGISTERS and DeviceIoControl with VWIN32 file
handler

but i got error number 87 that means "incorrect parameters".


please help me with your advices or introduce me some useful sites to
solving this problem.

please sne it to

karimi@rcii-ir.org


Generallocating memory- easy(char[]) Pin
SilverShalkin26-May-02 17:42
SilverShalkin26-May-02 17:42 
GeneralRe: locating memory- easy(char[]) Pin
Michael Dunn26-May-02 18:18
sitebuilderMichael Dunn26-May-02 18:18 
GeneralRe: locating memory- easy(char[]) Pin
SilverShalkin26-May-02 18:16
SilverShalkin26-May-02 18:16 
GeneralRe: locating memory- easy(char[]) Pin
Alexandru Savescu26-May-02 21:53
Alexandru Savescu26-May-02 21:53 
GeneralCOM and MFC Pin
Chen Jiadong26-May-02 15:42
Chen Jiadong26-May-02 15:42 
GeneralRe: COM and MFC Pin
Michael Dunn26-May-02 18:14
sitebuilderMichael Dunn26-May-02 18:14 
GeneralRe: COM and MFC Pin
Chen Jiadong26-May-02 19:01
Chen Jiadong26-May-02 19:01 
GeneralRe: COM and MFC Pin
Michael Dunn26-May-02 19:33
sitebuilderMichael Dunn26-May-02 19:33 
GeneralRe: COM and MFC Pin
Chen Jiadong26-May-02 20:34
Chen Jiadong26-May-02 20:34 
Generalmenu item help->Help Topics... Pin
lucy26-May-02 15:09
lucy26-May-02 15:09 
GeneralEdit Box Question Pin
DanYELL26-May-02 14:09
DanYELL26-May-02 14:09 
GeneralRe: Edit Box Question Pin
Nish Nishant26-May-02 14:24
sitebuilderNish Nishant26-May-02 14:24 
GeneralRe: Edit Box Question Pin
Shog926-May-02 14:33
sitebuilderShog926-May-02 14:33 
GeneralRe: Edit Box Question Pin
Nish Nishant26-May-02 14:54
sitebuilderNish Nishant26-May-02 14:54 
GeneralRe: Edit Box Question Pin
Shog926-May-02 16:02
sitebuilderShog926-May-02 16:02 
GeneralRe: Edit Box Question Pin
Shog926-May-02 16:04
sitebuilderShog926-May-02 16:04 
GeneralRe: Edit Box Question Pin
DanYELL27-May-02 3:14
DanYELL27-May-02 3:14 

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.