|
it is not very good
for the soud souds off and on, interrupted
Is it better if uninterrupted ?
|
|
|
|
|
Could somebody help me? Any information on ID3v2 of the MP3 files and any information of ID3v1 of the WAV, OGG, WMA files is appreciated.
|
|
|
|
|
You should try googling for it first!
Anyway, ID3V2[^]
ID3V1[^]
and there's an article on this subject on CP .
Hope this helps
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
Thanks! Those files I have read but haven't found the info I need. Have you some info on how to read the ID3v2 of the MP3 file? Or the structure of the ID3v2?
|
|
|
|
|
|
If he didn't even follow those links, I ask myself: Do people even look for the info they need nowdays?
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
Some people do; he may not be one of them. Personally, I have google and CP in my taskbar shortcuts...
Steve S
|
|
|
|
|
In my app I want to create some tool windows, which can be auto-hide and docking like that tool windows of VS.net, with VC++.net. But I looked the MSDN and some samples, the tool window is like only to be created as addin to be used by other app. Please tell me how to do, thank you very much.
If you have some samples , could you send to me?
|
|
|
|
|
I want to use following method, but it doesn't work.
HBITMAP hBitmap; // Here hBitmap is already available;
CBitmap *pBitmap;
pBitmap->Attach(hBitmap);
BITMAP bm;
GetObject(hBitmap, sizeof(BITMAP), &bm);
I don't know the function of "LVOID bmBits" in BITMAP structure.
According to MSDN, "LVOID bmBits" is the pointer to the pixel value area,
so I think I can get pixel value (R,G,B) using loop (bm.bmBits)+ +,
unfortunately it cann't work. Maybe it is a pointer to the whole structure,
including BITMAPFILEHEADER, BITMAPINFO ??
Thanks in advance.
Nianming
|
|
|
|
|
maybe u can try this:
unsigned char *px = new unsigned char[bm.bmHeight*bm.bmWidthBytes];
bitmap->GetBitmapBits(bm.bmHeight*bm.bmWidthBytes,px);
Hello World!
|
|
|
|
|
Thank twing.
Why would you define the array data type as unsigned char?
But you still present me a heuristic idea.
The following method indeed works well.
int size= bm.bmHeight*bm.bmWidthBytes;
BYTE *px = new BYTE[size];
pBitmap->GetBitmapBits(size,px);
Then, the array px stores the pixel value RGB,
you can also use loop in +4 to get single R,G or B value,
and use forced transform method, int ( px[i]) to get an int type value.
Thanks,
Ninaming
|
|
|
|
|
I am taking C# class right and I am having a little trouble w/ my homework. I hope you guys can help me out.
a) Create a class named Game containing a string that holds the name of the game and an integer that holds the maximum number of players. Include get and set methods for each field. Also include tostring() method that overrides the object class's tostring(0) method and returns a string containing the name of the game along w/ the number of players.
b) Create a child class named GameWithTimeLimit that includes an integer time limit in minutes, and get and set methods for the field.
c) Write a program that instantiates an object of each class and demonstartes all the methods.
Thai Tran
|
|
|
|
|
This is a standard question and very basic, any one can read a book and learn how to do it.
My God is more powerfull Than Your God.
|
|
|
|
|
And where is your problem?
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|
|
How to check double for positive and negative
infinity? And what about Nan?
Thank You
Bo Hunter
|
|
|
|
|
_isnan
_finite
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Hi,
I have a SDI Visual C++ 6 application with a CFormView.
In the CFormCiew, I have multiple dialogs that I can access by a CTabCtrl on the first view.
In one of the pages I have a ComboBox that I want to update the selection when I open a file for example.
Unfortunately, I can update this ComboBox even if I have add a member data of type CComboBox in the page class.
The only time that I can access the ComboBox is in the OnInitDialog() member function. But if I quit this page and I come back, I did not have acces again to the ComboBox control.
Does anyone has tips ?
Thanks,
Claude
|
|
|
|
|
Use OnSetActive() instead.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hello all
I'm trying to program HID device. After fetching device name using SetupDiGetDeviceInterfaceDetail(), I'm trying to open it using the following.
CreateFile(DevicePath,GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,NULL, NULL);
but I'm getting ERROR_ACCESS_DENIED. I'm using windows 2000.
Can anyone help me in this?
Thanks for your help
Hari.
|
|
|
|
|
Darn bugger gosh grrrr
in VC6.0 when i did a build and wanted to get rid of the output window i'd just push ESC and it'd obligingly bugger off
in VS studio .net it wont go AWAY
Is there a one step "bugger off output window" keyboard button?
Bryce
---
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
|
|
|
|
|
Fire up the macro explorer. Find a suitable module, or create a new one. Add this to the module:
Sub BuggerOff()
Dim i As Integer
For i = 1 To DTE.Windows.Count()
Dim w As Window
w = DTE.Windows.Item(i)
If w.Caption = "Output" Then
w.Close()
End If
Next
End Sub
Then customize a keystroke to call that function.
--
20 eyes in my head, they're all the same![^]
|
|
|
|
|
|
|
Hi,
I'm porting a Java app to C++ using MFC (I need C++ because I feel java too slow for my needs and I must perform some optimizations on memory management ) and am having serious troubles to create some dialog. Here is the Java/swing dialog I want to create with MFC: http://www.calodox.org/morbac/other/javaform.jpg
The scrollable field contains some groups of controls and the number of these groups may vary during execution time, so I must create them dynamically.
I've already solved the problem of the scrollbar with the tutorial "How to implement a Scrollable Child Dialog" I found here at codeproject, but I can find any good way to put several "Comb pair" boxes together into a single placeholder.
I've tried using the CFormView and CPropertyPage without any success: I don't know how to use the CFormView (and I'm not sure it is a good idea to use it) and the elements of the CPropertyPage disapear when scrolling.
Any idea/advice how I can make it working ?
Thanks in advance
morbac
|
|
|
|
|
I'd put all the controls you needed onto the page at design time and hide/show them at run time.
I believe a form view is a normal window that uses a dialog template. It's probably the way to go, to get a scrolling dialog. You'd actually create an SDI project and use CFormView, then lay out the dialog on the form.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|