|
If you want to find files from your code use CFileFind
else...install unixutils and you'll have ls and grep (and lots of other usefull things)
|
|
|
|
|
Thank you eusto!
I think using CFileFind is a programming way, right? But I am looking for a way which is simply enough without any programming efforts.
unixutils makes senses. I will study it. Thank you again!
regards,
George
|
|
|
|
|
|
|
|
Yes, I am using a utility which ports grep like UNIX commands to Windows. Seems that Windows built-in commands do not have such rich functions.
regards,
George
|
|
|
|
|
I ahve a created a client server application useing TCP.
and another application useing UDP (methods: SendTO(),ReceivedFrom()),
in both applications the data will send to teh server and server receives the data. But i havent found a much difference by changeing the protocals.
programetically what is the diff betweem UDP&TCP?
|
|
|
|
|
Hello Ramanand,
ramanand_bulusu wrote: programetically what is the diff betweem UDP&TCP?
Actually programetically not much more difference.
The difference is releted to use of bandwidth, multicasting, reliablity of data send/receive & other.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
Divyang Mithaiwala wrote: The difference is releted to use of bandwidth, multicasting, reliablity of data send/receive & other.
i heard that UDp wont give the aknoldgements for sending the data.
does it right?
-- modified at 5:59 Saturday 26th August, 2006
|
|
|
|
|
In UDP there is no need to give ACK. so it is not reliable.
That's why udp take less bandwith for realtime transmission.
& It's easy to send multicast data via udp.
regards,
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
The biggest difference is that TCP/IP provides guaranteed delivery of messages in a specific order. UDP does not; messages can be fail to be delivered, or delivered out of order.
Software Zen: delete this;
|
|
|
|
|
UDP is a connectionless protocol which means is doesn't maintain a connection between sender and receiver. I believe with UDP packet delivery isn't guaranteed and the packets are not even guaranteed to be received in the same order sent. It consumes fewer resources however. I'm not an expert in this field however. I'd recommend doing some reading.
Steve
|
|
|
|
|
|
While running project in debug mode , I am able to add breakpoints
but as soon as I start debugging with F5 it gives one note and disable
all the breakpoints in program. What can be reason ?
|| ART OF LIVING ||
|
|
|
|
|
shivditya wrote: F5 it gives one note and disable
all the breakpoints in program. What can be reason ?
what note it is giving? Generally this happen, when file having break point is not part of exe.
|
|
|
|
|
It seems you need to see property from your project for see debug status
|
|
|
|
|
I created a ATL project with the VS2005, and in the project I used the c# component. So I selected the "Common Language Runtime Support(/clr)",
First I built the Release version, and compiled successfully.
But when I built the Debug version, I encountered a problem, the compiled failed. and prompt "Command line error D8045 :cannot compile C file 'MCChannel_i.c' with the /clr option". I tried to disable the /clr option, but there is other compiler error.
Who know the reason, please help me , thanks!
|
|
|
|
|
I have been building static link libraries lately and when I come to use them I get the following linker error:
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
I know it is safe to ignore, but is there some code I should be adding somewhere so that I don't get the error in the first place?
|
|
|
|
|
not sure dude - I usually see this sort of thing when Im using a library compiled in say multithreaded mode with another library or the base project thats in single thread mode - I can spot these ones now and fix them (often requiring a rebuild of each sub-project or library/dll to the same 'mode') ...and in these cases, using /NODEFAULTLIB doesnt usually work
hopefully someone else will have a better comment than mine
'g'
|
|
|
|
|
I did the code to cut and store a portion of clip image as a separate clip file(avi). The new AVI file is written successfully, but couldnt open and play it.
The following message is shown when i try to play the new clip image obtained.
Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play.
Thanks in advance for those who help
-- modified at 0:54 Saturday 26th August, 2006
chandana
|
|
|
|
|
Im not sure but it seems your file needs to header in beginnig for example if you cut a mpeg file without video programs then you can see first file you cant see second file.
|
|
|
|
|
I know that this is kindof far fetched, but we'll see if anyone knows.
I was wondering if there was a way to click a button remotely. Basically, I want to be able to click a button through code. I don't want to simply run the effects, but actually click the button. I was thinking about the SendMessage() function, but I didn't know how to begin with that.
Thanks in advance for those who help.
|
|
|
|
|
Can you be more specific whats meaning of button remote.
|
|
|
|
|
Hi, I am a beginner to displaying images using mfc and c++ in general. Specifically, I want to display a bitmap from a buffer that I write camera data to. I have already got this to work after many hours of trial and error but I still don't understand exactly what I did or if there is a better way to do it. I am having a hard time finding a really good one stop resource. I was wondering if someone could recommend something? Thanks in advance.
Clint Smith
|
|
|
|
|
one solution would be to create a device-independent bitmap (DIB) section. This way you can directly write to the image buffer and then use StretchDIBits (if i remember correctly) to draw it to your window. its not trivial for a beginner, but i think thats the road you need to go down, unless someone else can suggest a simpler solution.
|
|
|
|