|
Y_R wrote:
It like the additional threads are slowing one another.
how many CPUs does your computer have ?
( for that matter, how many internet connections does it have ? )
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
I have one cpu and one internet connection (750 k). But it should not matter because when one is downloading file from a server that is slow multiple http connections to this server will raise the overall speed like many existing download accelators(e.g. Get Right, DAP, etc..)
I think the problem is in my multithreading part.
Sincerely yours
Y.R.
|
|
|
|
|
Hi there,
Does ne1 know what type of control is used in Skype chat for the Contacts?
How can i mimick it? ie. There is a name and when i click on it it expands revealing more details?
Thanks a million
|
|
|
|
|
Hey,
I'd like to print out a line create with
<br />
CPen pen(PS_DASHDOT,1,RGB(0,0,0))<br />
and MM_LOMETRIC MapMode.
When I look at the preview all works fine, but after printing there is a solid line on the paper.
What can I do?
Greetings
AnTri
|
|
|
|
|
Hello All,
Does anybody know how to find out interfaces exposed by a driver (.sys file)?
Thanks in advance
|
|
|
|
|
Hi all,
I am doing a project for uni which basically get images from a logitech quickcam pro 4000 camera, and the guy in our group who compiled our current software has stopped doing the subject and left us with a server/client package that streams the video fine, but encodes using H.263 mpeg encryption not MJPEG and i have absolutely no idea how to convert from one to the other. I found the library used for encryption that he wrote/borrowed and i was wondering if i could email this library to someone, then they tell me which parts to change and i could post the parts that need changing so others can see it as well, as i know that is the policy here, there is just too much code to display in the one message. Any help would be appreciated as I have been left in the deep end here.
regards,
Jordan
If you eat porridge every day you will get sick of it.
|
|
|
|
|
Would it be of any benefit to look at the MJPEG format at www.wotsit.org[^]?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-- modified at 10:42 Sunday 28th August, 2005
|
|
|
|
|
I had a look at witsit.org and it said the page is under construction so i couldnt get any MJPEG information from there. Are there any other sites where i can see sample code of MJPEG implementations?
If you eat porridge every day you will get sick of it.
|
|
|
|
|
I have found some code which is here: www.morgan-multimedia.com/downloads/codec.c and i was wondering if anyone can have a look at it and tell me how to implement the code like which function do what etc. It would help me a lot,
Jordan
If you eat porridge every day you will get sick of it.
|
|
|
|
|
Try that link again.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Sorry my bad there is no 's' in download, here is the link again:
http://www.morgan-multimedia.com/download/codec.c
Jordan
If you eat porridge every day you will get sick of it.
|
|
|
|
|
I meant for you to re-try the link I provided.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
|
Hi all,
How am I going to change the given time to given time zone and get the converted time in string format?
let's say.
gmt = +06:30 and giving time dt is in different time zone
following function that I wrote is totally wrong. it is not giving me the correct time string in the given time zone.
CString convertTime(int gmt,COleDateTime dt)
{
COleDateTime formatedDateTime;
COleDateTimeSpan timeSpan(0,gmt,0,0);
formatedDateTime = dt + timeSpan;
dtStr = formatedDateTime.Format("%Y-%m-%d %H:%M:%S");
return dtStr;
}
Thank you so much for your help.
|
|
|
|
|
Have you seen any of the time-related functions:
localtime()
gmtime()
asctime()
LocalFileTimeToFileTime()
SystemTimeToTzSpecificLocalTime()
TzSpecificLocalTimeToSystemTime()
GetTimeFormat()
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
What is the value of gmt ? In your example, it cannot work, because in order to add 6:30 you will have to do the following:
COleDateTimeSpan timeSpan(0,6,30,0);
which cannot be achieved with
COleDateTimeSpan timeSpan(0,gmt,0,0);
Another solution:
transform gmt from an int into a COleDateTime, and do not use any COleDateTimeSpan but only COleDateTime .
~RaGE();
|
|
|
|
|
Thank you David and Rage for your replies.
I look at gmtime() and it is seems like what I need to use. But dont' really know how to comvert COleDateTime dt to given gmt time.
here what I have..
CString converttime(CString gmt,COleDateTime dt)
{
//let's say gmt="+03:30" and dt = aug 25,2005 6:58pm
//the converted time should be dt3 = aug 26,2005 3:28 am
int hr,min;
CString hrStr,minStr, sign;
int pos = 2;
sign = gmt.GetAt(0);
minStr = gmt.Right(gmt.GetLength()- (pos+1));
hrStr = gmt.Left(pos);
hr = atoi(hrStr);
min = atoi(minStr);
COleDateTime dt2(0,0,0,hr,min,0);
COleDateTime dtDiff = dt+dt2;
}
I got it wrong again.. how can I convert it the given time to the given GMT time that has + and - time?
Thank you so much for your help.
-- modifed at 18:54 Thursday 25th August, 2005
|
|
|
|
|
Hello,
I was wondering is there a way that you can make multithreaded pipe server inside WDM device driver to take out to a user-mode aplicaton some variables. Whenever I call DeviceIoControl with the specified control code I get an error. I don't know how to fix the error, but I figured that maybe there is another way of taking out variables out of a device driver without DeviceIoControl (pipes for example ).
Please reply
gabby
|
|
|
|
|
Hi,
does someone use Eclipse/CDT? Would be interesting to know if you can use Eclipse to write MFC applications, I am using VC6 currently.
Thanks!
|
|
|
|
|
I use Eclipse v3.0 for AUIML and Java development. I do not know if an MFC project exists. You might check here.
Why do you not want to use VC6?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
DavidCrow wrote:
Why do you not want to use VC6?
I am using VC6 and C/C++ for years and interested in Eclipse as an alternative. Diversity won't harm. With a a 7-8 years old product like VC6 there is a good chance for other IDEs to catch up, especially an open source project like Eclipse with many big guys on the block pushing behind it. Would be interesting for me to hear what developers who used Eclipse think about it.
|
|
|
|
|
I know Eclipse has support for some open-source GUI frameworks, like FLTK, but I would be very surprised if there were any support for MFC.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
|
|
|
|
|
Hmm, I have VC6 and Eclipse installed on my development PC. VC6 comes with MFC headers and libraries, it should be possible to configure Eclipse/CDT to use tools from the Microsoft Visual Studio directory (compiler, link, make, debugger)? If it's possible, this would give you more or less the opportunity to migrate towards Eclipse and still be able using "good old" MFC.
Just a guess into the blue sky....
|
|
|
|
|
Moak wrote:
I am using VC6 and C/C++ for years and interested in Eclipse as an alternative. Diversity won't harm.
I agree. I thought you wanted to use something else because of an error in VC6 or maybe Eclipse had some whiz-bang feature. By all means learn new tools.
Moak wrote:
Would be interesting for me to hear what developers who used Eclipse think about it.
From just the little bit that I've done with it, my impression is that it is slow. I haven't quite got the folder structure figured out to where I am comfortable with it. Once a project has been downloaded and unzipped, you have to copy a bunch of folders into the Eclipse hierarchy. One good thing I've noticed about it is that the installation is very simple. If you mess up, it's real easy to start over because other files have not been scattered all over and the registry has not been littered with tons of settings.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
DavidCrow wrote:
because of an error in VC6 or maybe Eclipse had some whiz-bang feature
I am a little bit curious about the refactoring support and which plugins the development community produces. Whiz-bang... would be nice to have for example a 'windiff' tool which automatically compares a source file with latest stable version, on click of a button.
|
|
|
|