Search found 508 matches

by joakim_tosteberg
2005-12-29 02:36
Forum: Programmer's Help
Topic: Compiling DC++
Replies: 8
Views: 2290

Split, start a new topic next time instead of hijakking someone elses.
by joakim_tosteberg
2005-12-26 12:20
Forum: Programmer's Help
Topic: Compile on VS2005 Pro
Replies: 5
Views: 1836

bloodhound wrote:Tnx very much, it's running :)
Good luck with it ;).
by joakim_tosteberg
2005-12-26 10:16
Forum: Programmer's Help
Topic: Compile on VS2005 Pro
Replies: 5
Views: 1836

That patch was made for an older CVS version of DC++ and shall not be applied automatically as much code has changed since then but the patch file is quite easy to understand and apply manually, just open it with your favourite text edito. If you are trying to compile the latest CVS code is it not v...
by joakim_tosteberg
2005-12-26 06:15
Forum: Programmer's Help
Topic: Compile on VS2005 Pro
Replies: 5
Views: 1836

Check the link I have provided in this thread: http://www.dcpp.net/forum/viewtopic.php?t=15571
by joakim_tosteberg
2005-12-25 12:45
Forum: Programmer's Help
Topic: Persistent download history
Replies: 12
Views: 2934

Re: Persistent download history

No. Store "abc" in filea.txt and "def" in fileb.txt. They will have the same size but NOT the same TTH. With TTH, the name and file size is disregarded. Thanx ullner. But can be the situation when two files with different size have the same TTH? If yes, I think it will be more effective to store TT...
by joakim_tosteberg
2005-12-24 14:33
Forum: Off Topic
Topic: Merry Christmas!
Replies: 4
Views: 1506

Merry Christmas everyone! :)
by joakim_tosteberg
2005-12-23 16:13
Forum: Programmer's Help
Topic: lock 2 key please help !
Replies: 3
Views: 910

You are missing the last step in the key genertation where you replaces some characters with /%DCXXX%/.
by joakim_tosteberg
2005-12-23 10:18
Forum: Programmer's Help
Topic: wxWidgets
Replies: 2
Views: 843

Re: wxWidgets

Cross-platform GUI programming in C++ Would it be better to use this instead of WTL ? I have worked a bit with wxWidgets and it is a nice library. But it would be a major change to have DC++ change from WTL to wxWidgets probably requiring rewritning much of the GUI code. And as wxWidgets can be use...
by joakim_tosteberg
2005-12-13 15:13
Forum: Developer's resort
Topic: CVS todo list?
Replies: 15
Views: 1425

I made som quick tests on it and it seems to alawys hapen when downloading filelists from version 0.401 of DC++ and probably 0.402 as well but there was only one person using that client during my test. Version 0.403 seems to work fine.
by joakim_tosteberg
2005-12-07 15:46
Forum: Proposals
Topic: Remove user from queue if to slow
Replies: 30
Views: 7836

That's not quite the way DC++ does things. arnetheduck, the copyright owner of DC++, only implements code from mods if the authors write over the copyright to him, to avoid any nasty copyright-issues down the line (one holder = much easier to enforce copyright). So unless revconnect signs over the ...
by joakim_tosteberg
2005-12-07 15:40
Forum: Programmer's Help
Topic: Compiling on VS2005
Replies: 3
Views: 1773

I made a patch to compile DC++ against visual stuido .net 2005 beta2 a while ago that is avaible at m and it have been working correctly on the release version as well for me, even though most of it is no longer needed in the latest CVS version due to changes in the code. But for the problem you are...
by joakim_tosteberg
2005-12-04 06:59
Forum: Protocol Alley
Topic: QT Lock / Key verification
Replies: 6
Views: 2040

The code looks good from a quick look, what first comes to my mind is that it could be some kind of encoding problem.
How is a QByteArray defined?
by joakim_tosteberg
2005-11-22 15:21
Forum: Programmer's Help
Topic: Compiling with VS.NET 2005
Replies: 12
Views: 2797

You can compile STLPort to get STLPort library files by entering the build/lib subdirectory in STLPort and using microsoft's commandline compiler (or some other). I see, yes, I did that too (nmake). But if you carefully fix the config file (there's some negation changes in there) and then remove re...
by joakim_tosteberg
2005-11-21 14:41
Forum: Programmer's Help
Topic: Compiling with VS.NET 2005
Replies: 12
Views: 2797

But one thing that I can think of that could make the difference in size is that with the new STLPort at least I have to compile the STLPort library first and that the library then imported makes it bigget than if it as before just could include the files and compile everything without the need for...
by joakim_tosteberg
2005-11-21 13:37
Forum: Programmer's Help
Topic: Compiling with VS.NET 2005
Replies: 12
Views: 2797

2,2 MB is about the size my release DCPlusPlus.exe has when compiled with vs 2005 aswell, as I currently not have vs 2003 installed I can't compare the sizes. I'm currently enabling some size optimization parameters to see if that makes any difference in size. But one thing that I can think of that ...
by joakim_tosteberg
2005-11-21 10:52
Forum: Programmer's Help
Topic: Compiling with VS.NET 2005
Replies: 12
Views: 2797

a DC++ release one which have been compressed with UPX? The official DC++ releases are not UPX compressed, so if it is, Guitarm did it himself. This changelog entry made me thought they where, but then I was wrong. * Added a switch to ease the life of the UPX compressor (exe compressors suck bt...
by joakim_tosteberg
2005-11-21 02:25
Forum: Programmer's Help
Topic: Compiling with VS.NET 2005
Replies: 12
Views: 2797

Hmm, I will check the size of mine when I get home today.
You are comparing binarys you have compilied yourself and not against a DC++ release one which have been compressed with UPX?
You did not accidently compile with a static link to the runtime instead of a dynamic one?
by joakim_tosteberg
2005-11-19 05:57
Forum: Proposals
Topic: Remove user from queue if to slow
Replies: 30
Views: 7836

This have begun to get implemented in the current development version of DC++ and will be present in the next release.
by joakim_tosteberg
2005-11-19 05:29
Forum: Programmer's Help
Topic: Check for SHIFT key
Replies: 2
Views: 826

I'm not sure I understand exactly what you want. But if you wanted to check if the shift key is down you would use if( (GetKeyState(VK_SHIFT) & 0x8000) ) Or should one check for both like: if( (GetKeyState(VK_CONTROL)) || (GetKeyState(VK_CONTRO...
by joakim_tosteberg
2005-11-19 04:49
Forum: Other Direct Connect tools
Topic: My downloads are running when they're not..?!
Replies: 7
Views: 1616

No, you are not using DC++:
gothtec wrote:0.674b
There is no such version of DC++, but for exampel BCDC++ has that version I think
by joakim_tosteberg
2005-11-03 04:26
Forum: Other Direct Connect tools
Topic: Can't search or download lists.
Replies: 16
Views: 3716

Re: Can't search or download lists.

I'm using .674b. There is no such verison of DC++, my guess is that you are using BCDC++ for which we don't give support here. Still, the solution is probably the same. Are you behind a router? If you hare have your internal or your external ip changed? Do you have a software firewall? If so, does ...
by joakim_tosteberg
2005-10-27 02:00
Forum: Programmer's Help
Topic: Compiling problems with VS.Net 2003
Replies: 22
Views: 5036

Could be that you are missing Python needed to generrate Stringdefs.cpp and Example.xml Note 5; You need to have python installed if you change StringDefs.h, as a small python script is automatically run to generate StringDefs.cpp and Example.xml. To turn it off or change python path, go to client->...
by joakim_tosteberg
2005-10-25 14:04
Forum: Programmer's Help
Topic: Compiling problems with VS.Net 2003
Replies: 22
Views: 5036

Well... during the SDK platform installation i (every time i try to install it) get this message: Error 1606. Could not access network location m. Even if i retry the installation i get this message again ...! I don't know what should i do ! Maybe u can help me ! Thanks ! Is the extra dot at the en...
by joakim_tosteberg
2005-10-24 11:11
Forum: Programmer's Help
Topic: Compiling problems with VS.Net 2003
Replies: 22
Views: 5036

Wecks wrote:Thanks ...i , finally , managed to compile it !! Thanks !! I couldn't install SDK platform (i tried several times to install it but i get an error during the installation
. ) I've downloaded the 'natupnp.h' file ! :P
Exactly what error do you get?
by joakim_tosteberg
2005-10-24 11:10
Forum: Hubs and scripts
Topic: How Can I Make A Hub
Replies: 11
Views: 2560

bastya_elvtars wrote:Try this address.
Perhaps you should have read more carfully what his problem was. He can get into the hub himself, it is other people who can't get into the hub ;)
by joakim_tosteberg
2005-10-23 13:09
Forum: Programmer's Help
Topic: Compiling problems with VS.Net 2003
Replies: 22
Views: 5036

Xan1977 wrote:Or, as compile.txt says: "Since all you need is this one file, you can ask someone at the dev hub to supply it for you (or look for it in the DC++ bugzilla, it's attached to one of the bugs)"
It is always good to have the full SDK, you never know when you will need it..... :lol:
by joakim_tosteberg
2005-10-23 10:30
Forum: Programmer's Help
Topic: Compiling problems with VS.Net 2003
Replies: 22
Views: 5036

You need to download the platfrom sdk from http://www.microsoft.com/downloads/deta ... laylang=en.
Then you must add the following entries in Settings->Projects->VC++ Directories in vs .net 2003.
Executable files: platfromsdkpath/bin
Include files: platfromsdkpath/include
Library files: platfromsdkpath/lib
by joakim_tosteberg
2005-10-21 14:15
Forum: Hubs and scripts
Topic: How to set up a dc hub?
Replies: 23
Views: 35468

Just about one and a forth year to late ;)
by joakim_tosteberg
2005-10-14 08:26
Forum: Other Direct Connect tools
Topic: dc++ to bcdc++ what do i do w/ the .rar file?
Replies: 1
Views: 710

You can download winrar at http://www.rarlab.org
by joakim_tosteberg
2005-10-13 14:58
Forum: Off Topic
Topic: how to create a .bz2 file?
Replies: 7
Views: 2534

And please try to restate the question inside the topic, not just in the subject.
by joakim_tosteberg
2005-01-15 01:54
Forum: Feature Discussion (Archived)
Topic: Search - File type
Replies: 19
Views: 5470

This will be possible in the ADC protocol as you there can specify extension when searching. http://dcplusplus.sourceforge.net/ADC.htm#_Toc89885799
by joakim_tosteberg
2005-01-09 11:25
Forum: Programmer's Help
Topic: [Help] Converting a Lock into a Key (Java)
Replies: 18
Views: 3666

Are you using any unicode/utf8 that could mess it up?
by joakim_tosteberg
2005-01-06 07:25
Forum: Programmer's Help
Topic: won't compile, but won't tell me why either!
Replies: 5
Views: 1157

Can you compile any c++ program at all?
by joakim_tosteberg
2005-01-05 07:02
Forum: DCH++ General
Topic: Windows Configuration Issue
Replies: 4
Views: 1894

Does your config.xml look like this in the plugin section? <Plugins Path="plugins/">(relative to dchpp.exe) or <Plugins Path="c:/programs/dchpp/plugins/"> (absolute) <Plugin>OpCom</Plugin> <Plugin>SimpleLog</Plugin> <Plugin>UserIp</Plugin> <Plugin>IpCheck</Plugin>...
by joakim_tosteberg
2005-01-04 06:25
Forum: Feature Discussion (Archived)
Topic: Birthday for Bug 20
Replies: 10
Views: 3572

You can find Naga in the DCDev Public Hub.
by joakim_tosteberg
2005-01-04 04:01
Forum: Feature Discussion (Archived)
Topic: Search for directory?
Replies: 3
Views: 1427

There is already a filter for directory. It is the next last item in the list just above TTH.
by joakim_tosteberg
2004-12-29 02:21
Forum: Feature Discussion (Archived)
Topic: match queue not working after source removed
Replies: 8
Views: 3602

Then DC++ gets "File not available" (or some other error) it removes the user as queue for this file. Right click the file in download queue thenexpand Re-add source in the manu and click on the user you want to re-add. This is expected behavior.
by joakim_tosteberg
2004-12-29 02:15
Forum: Programmer's Help
Topic: newbie; unresolved external * 31
Replies: 16
Views: 2811

If the .h file was missing it wouldn't be able to find the function at all which more probably would result in compile time errors instead of link time. I would rather say that there is some library that should be imported but which isn't.
by joakim_tosteberg
2004-12-28 02:49
Forum: Feature Discussion (Archived)
Topic: Improved sources search
Replies: 29
Views: 8824

Why would it require bigger incomplete files?
by joakim_tosteberg
2004-12-28 02:42
Forum: Programmer's Help
Topic: newbie; unresolved external * 31
Replies: 16
Views: 2811

Ok, are you absolutely sure you have the right versions of ATL and STL for the version of DC++ you are trying to compile?. And again - are you sure you have included them the right way? I guess you meant wtl here. In the error messages, there are not anythin like First referenced in somefunc(somepa...
by joakim_tosteberg
2004-12-24 01:10
Forum: Hubs and scripts
Topic: Running a hub from a computer on a router
Replies: 6
Views: 1934

Active/passive mode have no effect on connecting to the hub.

Are you sure the portforwarding is correctly (forwared to the correct internal ip)?
If the router has an built in firewall you may have to eighter configure it to allow or disable it.
by joakim_tosteberg
2004-12-23 11:16
Forum: Feature Discussion (Archived)
Topic: Restart DC++ after crash
Replies: 1
Views: 675

I'm not sure what you are trying to say, could you please try to explain it better?

I'm also spliitting this away from the topic you posted it in as it npt is related to that one, I hope thwe title I choose is correct.
by joakim_tosteberg
2004-12-23 01:40
Forum: Feature Discussion (Archived)
Topic: Download bandwidth control
Replies: 12
Views: 3692

This have been requested many times before, search the forum for these topics.
by joakim_tosteberg
2004-12-20 12:23
Forum: Programmer's Help
Topic: compile error :(
Replies: 22
Views: 4132

When reading the compile.txt now I see one thing that really might be an error, it tells you to extract everything in the wtl pckage to the wtl folder but this is not correct. The only files that should go into the wtl folder is the include files. The files that should be in the wtl folder is the fo...
by joakim_tosteberg
2004-12-20 11:53
Forum: Programmer's Help
Topic: compile error :(
Replies: 22
Views: 4132

No, you shouldn't have to add the folders to your include path. I'm running vs .net 2003 here and I haven't doen it. Just create one folder called stlport and one folder called wtl in the same directory as the dcplusplus source and then unzip the contents of stlport to the stlport folder and to the ...
by joakim_tosteberg
2004-12-20 01:27
Forum: Feature Discussion (Archived)
Topic: Remove All Sources
Replies: 13
Views: 3518

Sure, alot of lines to write is a bit tedious, but isn't it the complexity of the code that needs to be written the real challenge? I dunno. How do you differentiate between: - defining the feature well - figuring out the user interface - evaluating the existing code you'll need to modify - writing...
by joakim_tosteberg
2004-12-19 08:16
Forum: Feature Discussion (Archived)
Topic: req: in search, group same file into treeview (plus sign)
Replies: 11
Views: 1704

Click on the TTH Root heading (the rightmost heading) with the left mouse button.
by joakim_tosteberg
2004-12-18 05:02
Forum: Programmer's Help
Topic: compile error :(
Replies: 22
Views: 4132

There should be no need to setup include path with the latest versions, instead just put a folder called wtl in the source dir containing the contents of the include dir (not the dir itself just the content) in the wtl package.
by joakim_tosteberg
2004-12-16 10:16
Forum: Feature Discussion (Archived)
Topic: URL to files
Replies: 22
Views: 6188

What happens when you click on a magnet link?
by joakim_tosteberg
2004-12-10 07:52
Forum: Feature Discussion (Archived)
Topic: Improved sources search
Replies: 29
Views: 8824

That would require more searxhe to be sent to the hub.