|
Luckyware wrote:
Sorry, mail not reading.
Never mind
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
|
I am use fundamential science for making language constructions. You don't use. USA is a big trade country. You have not this trade. I am have. I am give you chance to use European science.
Thanks to all.
|
|
|
|
|
I download the source code of DirectShow capture application(AMCap) ,and when I compile it,there is always a fatal error:can't find the file "streams.h".It also happenes when I compile other codes about DirectShow.
Why?!Need some DDK or....?
|
|
|
|
|
Does the file exist on the development machine, or at least in a location that is being searched by the compiler?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
But I even can't find it in my computer!!
|
|
|
|
|
Are you sure you don't mean iostream.h?
What compiler are you using, and do you have the latest SDK installed on your machine?
Top ten member of C++ Expert Exchange.
http://www.experts-exchange.com/Cplusplus
|
|
|
|
|
I use VS.net,and I'v installed DirectX 9.0 SDK Update (April 2005).
|
|
|
|
|
yeetins wrote:
fatal error:can't find the file "streams.h".
You could need a library called "streams.h" It may or may not have come with the download, and not have been installed in the proper library file.
|
|
|
|
|
Yes,I think so.
But where can I find it?After I install DirectX 9.0c SDK,the compiler still can't find it.
|
|
|
|
|
yeetins wrote:
But where can I find it?After I install DirectX 9.0c SDK,the compiler still can't find it.
-If your problem is a library that has been misplaced by the computer, you can find it using the find under the start menu, and manually move the library to the correct folder.
-Your download may not have included the library and you need to find it on the net.
|
|
|
|
|
AFAIR, this is a common header file that all the DirectShow samples use. The header is in a common include folder somewhere in the sample heirarchy. Set the include path appropriately so the compiler can find the file.
Ryan "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"
|
|
|
|
|
I am so confused now.There isn't DirectShow samples and DirectShow folder in the SDK I installed in my computer.My computer doesn't have this header file,so ......!
|
|
|
|
|
Hi guys,
I am trying to format the output of a floating point. The number of digits after the decimal point is decided by the user.
I tried the usual method - prompt the user to enter accuracy--store it in a integer variable called 'accy' and use it while displaying -
m_display.Format("% 0.accyf" , output);
The program doesn't give any error while compiling, but when I run it, an error window pops up saying error in line 613, "abort", "cancel" , "retry".
Anyway around this?
-hithesh
|
|
|
|
|
format your format string manually ...
something like :
CString sFormatString;
sFormatString.Format ( "% 0.%i", accyf );
m_display.Format(sFormatString , output)
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Use:
m_display.Format("%0.*f", accy, output);
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Thanks david. That worked.
-hithesh
|
|
|
|
|
Hi guys,
I am trying to implement the backspace function. The last element of the Cstring should be deleted when the backspace button is pressed.
The data is entered by the used in a text display box.
Thanks in advance.
-hithesh
|
|
|
|
|
1. Code to trim rightmost character form CString.
<br />
CString csTemp;<br />
int iLength;<br />
<br />
iLength = csTemp.GetLength();<br />
if( iLength > 1 ){<br />
csTemp = csTemp.Left(iLength - 1);<br />
}<br />
2. Edit field should be handling the backspace keypress already.
|
|
|
|
|
I think you meant if (iLength > 0) ...
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Thanks Blake. you saved me a lot of time.
-hithesh
|
|
|
|
|
Removing just the last TCHAR will break if the string ends in a DBCS character. You need to call CharPrev() to move back one "character" from the end (whether it's 1 or 2 bytes).
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD
|
|
|
|
|
And I actually know better, thanks for the correction
|
|
|
|
|
I hope i will be your partners
|
|
|
|
|
Me Not!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|