|
Thanks for all the help
|
|
|
|
|
Hi to all,
Is there any API to find out the current FileSystem (FAT, FAT32, NTFS) of given hard drive partition (ie. C:, D
Or any alternatives to find FileSystem ?
Thanks in Advance.
Rohit
|
|
|
|
|
check out this msdn article: click[^]
|
|
|
|
|
i think GetVolumeInformation could help you.
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
[^]
|
|
|
|
|
how to write the application to enable and disable PCI interface's NIC(Network Interface Card)using the VC++ to coding.
TKS....NEIL
neilchuang
|
|
|
|
|
Hello! I have a problem. I want to know how to access CD-ROM device and read data from cd-rom in Windows NT. I know it a little. Can you help me? Thanks.
|
|
|
|
|
|
Hi wheregone:
Thanks a lot. You are so nice. I have downloaded it. It seems perfect. Maybe I bother you someday.
welcome to meet you!
|
|
|
|
|
Sorry! I can't get source code. So I don't know how it is implement.
welcome to meet you!
|
|
|
|
|
Although I am not very versed in that topic, what kind of "data" do you mean?
Are you trying to read the RAW CD-Rom data, audio or just the files in the disk's standard file system that can be accessed by Windows itself, for example?
For the third case, have a look at CFile, CArchive, CStdioFile, ... in the MSDN. Maybe Windows just handles the files as if they were on a hard disk, but only write protected.
|
|
|
|
|
Hi,
I am trying to generate a .h file from an idl file.
For this I am using Microsoft's MIDL Compiler.
I gave the following command:
midl myIDl.idl /h myh.h
But when I run the command line exe, it gives me an error message saying:
midl : command line error MIDL1001 : cannot open input file oaidl.idl
can anyone help ????
thanks
simon
|
|
|
|
|
hi,
i cant find any examples on CodeProject or on MSDN, so does anyone know if/how to display pictures or icons along with text inside of a combobox?
Thanks
|
|
|
|
|
Check out CComboBoxEx. This may not do exactly what you want, but it is a good example to adapt.
Iain.
|
|
|
|
|
Or, you could do it the old-fashioned way via ownerdraw.
onwards and upwards...
|
|
|
|
|
hi,
i want to use the GetWindowModuleFileName-function.
but i always get the error undeclared identifier.
yes, i linked the user32.lib
i included the windows.h
does anybody have the same problem or a solution
operating system is windows xp professional service pack 1
regards
emmi
|
|
|
|
|
Make sure WINVER is #define'd to be 0x0500 or higher before including "windows.h"
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
Why do I need to enter this into my "Project/settings/links/output,entry-point" box to avoid getting error messages when I go to compile a simple Win32 application? I have to do this for every application, is this normal?
Thanks
|
|
|
|
|
This is needed only when building a UNICODE application. The entry address point is different for these types.
"..Even my comments have bugs!"
Inspired by Toni78
|
|
|
|
|
What is UNICODE? Do you mean a single function program (like "Hello World?"
|
|
|
|
|
|
I have a combo box that I create on a dialog window by adding strings to it from a file. Once a selection is made the box shows that selection as long as I keep the window open. But after I close it and return the box is blank until it is selected again.
Is there anyway to init this to display a certain item? I have the index that I wand to set it too..
Thanks for any help
|
|
|
|
|
From MSDN :
CComboBox::SetCurSel
int SetCurSel( int nSelect );
Remarks
Selects a string in the list box of a combo box. If necessary, the list box scrolls the string into view (if the list box is visible). The text in the edit control of the combo box is changed to reflect the new selection. Any previous selection in the list box is removed.
~RaGE();
|
|
|
|
|
Check out CComboBox::SetCurSel / CB_SETCURSEL.
You have to be careful if the combobox is sorted, but CB_ADDSTRING gives you the "post sorting" number.
Iain.
|
|
|
|
|
when using addstring, is there a way to haVE it not ssort the list? im trying to get the word 'none' to come up as default, but another choice in the listbof is 'channel1' so it comes up default. if it wasnt sorted, it would take the first string i put in and use that one.
|
|
|
|
|
Just remove the LBS_SORT style.
In the resource editor, select the combo box. Bring up its property box. On the 2nd or third tab
there is a check box for "sort". Clear the check. Compile. Enjoy!
Iain.
|
|
|
|