I wish DC++ be more STABLE before more FUNCTIONAL
Moderator: Moderators
I wish DC++ be more STABLE before more FUNCTIONAL
In new DC++ Versions, Unicode and more thing is added. But I found it become little more unstable.
On my computer(XP + SP2), DC++ will take 99% CPU sometime, I don't know how to fix this bug, even to found out where is wrong.
on 0.4034, the copy nick name bug, the reson is a function didn't use the UNICODE FLAG.
I hope, before add any new function, Please Check out the source, found out all the little mistake. And please set down the coding style (like Use UNICODE or somethine), release a stable version, and then add new function step by step.
without a stable runnig, DC++ will hard to be popularize.
Wish we can have a perfect version based on DC++ v0.4034.
btw: I running a DC++ Server in my university, and now can keep about 100+ users on line, and can have 1TB+ resource. because DC++ is still not very stable, I can't did a big spread action now. Because, if the user use this software, and feel this is not good(stable is the main point). And you are hard to got that user back when you have a stable version.
PS: I am a chinese, please forgive my english. ^_^ Wish everyone can catch my meaning..
The Last, I Love DC++. I think i will create a Publish DC++ server on my city after my
graduation in 1 year.
On my computer(XP + SP2), DC++ will take 99% CPU sometime, I don't know how to fix this bug, even to found out where is wrong.
on 0.4034, the copy nick name bug, the reson is a function didn't use the UNICODE FLAG.
I hope, before add any new function, Please Check out the source, found out all the little mistake. And please set down the coding style (like Use UNICODE or somethine), release a stable version, and then add new function step by step.
without a stable runnig, DC++ will hard to be popularize.
Wish we can have a perfect version based on DC++ v0.4034.
btw: I running a DC++ Server in my university, and now can keep about 100+ users on line, and can have 1TB+ resource. because DC++ is still not very stable, I can't did a big spread action now. Because, if the user use this software, and feel this is not good(stable is the main point). And you are hard to got that user back when you have a stable version.
PS: I am a chinese, please forgive my english. ^_^ Wish everyone can catch my meaning..
The Last, I Love DC++. I think i will create a Publish DC++ server on my city after my
graduation in 1 year.
-
- Posts: 506
- Joined: 2003-01-03 07:33
I'm always filled with joy when i hear people telling some of us todo. Its so refreshing.
Feel free to sumit bugreports that are valid in bugzilla, and submit patches.
I'm looking forward to you actualy contributing to this opensoftware-project.
Feel free to sumit bugreports that are valid in bugzilla, and submit patches.
I'm looking forward to you actualy contributing to this opensoftware-project.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.
I think the bug report system is a little complex, I like post on bbs, but i will try to do that after.
btw, you found out the nickname copy bug!? I post the modify code here, wish you can check it out.
WinUtil.cpp
and I get a bug about magnet: URI, it can't work on my computer, XP + SP2.
when I copy a link on DC++, and try to open on my IE (even make a html with A tag),
IE only said can't not open the link, DC++ can't handle it.
btw, you found out the nickname copy bug!? I post the modify code here, wish you can check it out.
WinUtil.cpp
Code: Select all
void WinUtil::setClipboard(const tstring& str) {
if(!::OpenClipboard(mainWnd)) {
return;
}
EmptyClipboard();
// Allocate a global memory object for the text.
HGLOBAL hglbCopy = GlobalAlloc(GMEM_MOVEABLE, (str.size() + 1) * sizeof(TCHAR));
if (hglbCopy == NULL) {
CloseClipboard();
return;
}
// Lock the handle and copy the text to the buffer.
TCHAR* lptstrCopy = (TCHAR*)GlobalLock(hglbCopy);
_tcscpy(lptstrCopy, str.c_str());
GlobalUnlock(hglbCopy);
// Place the handle on the clipboard.
#ifdef UNICODE
SetClipboardData(CF_UNICODETEXT, hglbCopy);
#else
SetClipboardData(CF_TEXT, hglbCopy);
#endif
CloseClipboard();
}
when I copy a link on DC++, and try to open on my IE (even make a html with A tag),
IE only said can't not open the link, DC++ can't handle it.
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
That bug has already been fixed in the development version. In fact, it was one of the first things fixed.
I suggest you bookmark the development version of changelog.txt.
I suggest you bookmark the development version of changelog.txt.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Re: I wish DC++ be more STABLE before more FUNCTIONAL
Use Process Explorer, go to the properties on DCPlusPlus.exe, change the tab, and note the PID of the thread taking all the CPU time. Break DC++ in the debugger, and see what that thread is doing.KatanaTam wrote:On my computer(XP + SP2), DC++ will take 99% CPU sometime, I don't know how to fix this bug, even to found out where is wrong.
Easy.
Nobody who has had the problem before was a developer, or had the ability to find out what it was.
Yes, but the code you quoted later won't work. CF_UNICODE isn't available on Windows 9x. (That was my initial fix too, but I knew its perils)KatanaTam wrote:on 0.4034, the copy nick name bug, the reson is a function didn't use the UNICODE FLAG.
Since you're a developer, you should be using the CVS version of DC++, you won't complain about bugs that are already fixed.KatanaTam wrote:Wish we can have a perfect version based on DC++ v0.4034.
Well, the nickname copying (and magnets) doesn't affect stability. The CPU time sorta does I suppose, but not so much. Where's are you getting reason to call DC++ unstable?KatanaTam wrote:btw: I running a DC++ Server in my university, and now can keep about 100+ users on line, and can have 1TB+ resource. because DC++ is still not very stable, I can't did a big spread action now.
(I want to know so it can be fixed.)
I use a NAT network provide by school. so I don't use CVS before, but I will try learn about CVS later.
I know DC++ is good, I use 0.403 before, and it can run more then one day without any error. but on the 0.4034, it crash sometime. So I do this without more thinking. please forgive me.
and now, I think the crash problem is because I switch on the private message loging, and it will crash on some message.
I know DC++ is good, I use 0.403 before, and it can run more then one day without any error. but on the 0.4034, it crash sometime. So I do this without more thinking. please forgive me.
and now, I think the crash problem is because I switch on the private message loging, and it will crash on some message.
Re: I wish DC++ be more STABLE before more FUNCTIONAL
Hehe, how much did I not try......and I was almost there........GargoyleMT wrote:Yes, but the code you quoted later won't work. CF_UNICODE isn't available on Windows 9x. (That was my initial fix too, but I knew its perils)
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
If you're using an unmodified DC++ 0.4034, paste the crash logs into: http://dcplusplus.sf.net/crash/KatanaTam wrote:I know DC++ is good, I use 0.403 before, and it can run more then one day without any error. but on the 0.4034, it crash sometime. So I do this without more thinking. please forgive me.
If not, it could be your own code that's crashing it. Or at the very least, you can run it under a debugger and hopefully find out the cause of the crash. If you cannot fix it yourself, make a post to the Programmer's Help topic.
After fix the log bug, it is OK now. ^_^GargoyleMT wrote:If you're using an unmodified DC++ 0.4034, paste the crash logs into: http://dcplusplus.sf.net/crash/KatanaTam wrote:I know DC++ is good, I use 0.403 before, and it can run more then one day without any error. but on the 0.4034, it crash sometime. So I do this without more thinking. please forgive me.
If not, it could be your own code that's crashing it. Or at the very least, you can run it under a debugger and hopefully find out the cause of the crash. If you cannot fix it yourself, make a post to the Programmer's Help topic.
I found out the log crash bug with the unmodifyed DC++ v0.4034.