I have Windows 2000 Professional installed on my PC.All works fine until I select one .mp3 file in Windows Explorer.When I do that, and only then, I get an increase in my CPU usage of almost 40%.(Example: from 2% to 42%).After I remove the selection from the .mp3 file CPU usage returns to...
Hello,
I'm trying to configure my CMI8330 sound card. It is not onboard (so [code]options PNPBIOS[\code] I think is out of question).
I've tried to configure it: first I've added to the kernel configuration file:
[code]
device pcm
[\code]
After compiling the kernel:
[code]
cd /dev
sh MAKEDEV...
You can open the file in binary mode.
Let's suppose that f is a FILE pointer to your opened file.
You can read the numbers with the following:
[code]
#define MAX 100
char paranthesis, digit, characters[MAX], character;
int nr1, nr2;
fread(& paranthesis, sizeof(char), 1, f);//you can test this...
Hello massur,
I've looked at your code.
In function [code]CUsefulSplitterWnd::ReplaceView[\code] you destroy the View that you want replaced. But you do not remove it from your document class. So, when you iterate through the document's views you got the one you just destroyed. This is the...
I do not have any idea why it crashes. If you want you can dowload the program I've made. It works fine on my
computer. When I use CComboBox it works, but when I use
CComboBoxEx it does not.
The site is:
web.ss.pub.ro/~tinta
Liviu.
Hello massur,
OK. I got what you ment. You used a CComboBoxEx, and I used a CComboBox control. The CComboBoxEx does not support AddString. This is what I've found in C:\ProgramFiles\..\VC98\MFC\Include\AFXCMN2.INL:
[code]
// While CComboBoxEx derives from CComboBox, there are some
//...
Hello massur,
I've created a small test SDI application that does what
you want. First I've created the SDI application with SplitWindow selected at step 4 from VC++ 6, button Advance.
After that I've made two Dialogs, one contaning a combo-box,
the other one button.
I've selected the style...
If you do not want to modify your document, you can just
use the CDocument's functions: GetFirstViewPosition and
GetNextView to search for the CForm1 view pointer, and then
use it to add the string to the combo-box. If you have just
two views, the search is easy. (all this when you press the...
You can use the CDocument class of your SDI application to
pass the data from CForm2 to CForm1. After pressing the button, you set a CDocument variable with the string you want to write in the CForm1's combo-box, and then call CDocument::UpdateAllViews. You must rewrite the CForm1's OnUpdate...
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.