Hi JJS. It seems that something that you have done has overwritten the Win2000 dual boot code, which is why WIn98 is loading automatically. You will need to replace the boot code on your first HD with win2000 's boot code. you can do this with the repair installation option on the Win2000 CD...
Cory
The line
stDir = (i == len)? stPath : stPath.Left(i)
simply is a conditional expression that if the condition (i == len) is TRUE then sets stDir = stPath, otherwise sets stDir = stPath.Left(i)
Hope this helps
Alistair (:I
I have a much simpler function to create nested directories
basically it works by scanning the path string, and every time it finds a backslash, it creates the path up to that point.
BOOL CreatePath(LPCSTR lpszTarget)
{
int i, len;
CString stDir;
CString stPath(lpszTarget); // A Copy of...
You can also check out Chris Maunder's excellent MFC Grid Control.
You can find it at CodeGuru (www.codeguru.com) or also on the Code Project (www.codeproject.com)
Do a search for grid control.
Hope this helps
Alistair (:I
When you create a MDI app using the AppWizard. the Appwizard creates code by default to create a new document on application startup.
To avoid this (sometimes it can be a pain) you have to modify code in the InitInstance() function of your CWinApp derived object.
You will see code like this ...
I booted my machine this morning, and wanted to install a new software product. I placed the CD in the drive and waited (and waited) for the CD to start up. When nothing happened i went to the explorer to check the CD and found that neither my CD-RW or DVD drive showed up. I went to the device...
Hi. (:I
As far as I understand OS boot code, Win95 can ONLY boot from the first partition of the first HDD. Win2K has much improved boot code and can boot from absolutely anywhere. In order to get what you want, I would install the Win95 HDD as a slave drive, then install a boot manager (such as...
Hi. I have written an extended CRichEditCtrl class which incorporates functions to save the contents of the control to either a .RTF file or a plain text file.
email me (alistair@goods-sp.com) if you would like a copy of the source code for this class
Alistair
Sunaj.
I think the most efficient way would be to use a linked list (maybe a derivative of the CList or CStringList class). This way you would only store the data that you were interested in, and would not have to have a huge array just to be able to cope with worst case scenario.
my code would...
(:I The CString class does not have an apreciable overhead, and can be more efficient than using the C string handling functions, as it incorporates reference counting, etc (2 identical strings share the same storage). Also the class incorporates many useful functions for string manipulation...
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.