I am trying to help someone fix her code. She has a stand alone java app that when it opens, is a blank 500,500 pane. When you select a menu item, the appropriate information is supposed to appear. The only problem is it won't appear unless you grab an edge and resize the app first. I have...
I need to find the number of sectors on a drive(LBA). I have used the DeviceIocontrol and the IOCTL_DISK_GET_DRIVE_GEOMETRY, then accessed the data members, but these seem to return the CHS capacity. my 14 GB drive returns cylinders =1024 head = 255 Sector =63 bytes per sector =512. This...
Either of these functions will work fine if my class is derived from CView, but when I try to use them in a class derived from CFormView, the screen stays blank. I have put the code in the OnInitialUpdate() function, but nothing happens. How can I draw text to the screen in a CFormView class?
I need to write a program that will collect all the emails on a machine(outlook/outlook express mainly). I am looking into MAPI to open the files and read out all of the email messages. I will then put them in a DB. Is MAPI the right path, and if anyone has any experience or knows of any good...
I have an app that searches my drive for certain files, and stores their info in an Access 2000 database. My search is fine, but the insert statement is giving me problems. I am using ADO (import method) and have declared a connectionptr, and have connected to the DB, I am then using the...
I have a CListBox control that I need to copy into the View classes CListBox. When I try Listbox1 = listbox2, I get the compile error:
C:\acesstest\newfilefinder\newfilefinderView.cpp(133) : error C2582: 'CListBox' : 'operator =' function is unavailable
What is a workaround, or someother way...
I would like to write a program that among other things view the slack space on a drive. to do this I need to access the drive directly and be able to read sectors on it. I don't even know where to begin with this. I have looked in to DMA, but am not sure if it will work for what I want...
I am trying to write some utilities, and on e of the things I need to do is add the possibilty to recover deleted files. So I need to examine the FAT table (this will be in windows) and possibly examine clusters on the hard disk. Any thoughts on how I can accomplish this in C or C++?
I am new to visual C++ and would like to write a file finder. somthing that will search my hard drive and list all the files that I specify. Are there built in functions or do I need to write some kind tree traversal program to do it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.