Lordy

Member
  • Content count

    29
  • Joined

  • Last visited

Posts posted by Lordy


  1. Eyy Teobald,

    scheinbar bist Du doch hier ein "Vermittler" zwischen "Problemhabern" und "Nichthelfern".

    Zumindest sobald es den (immerhin) frei erhältlichen Source Code betrifft.

    Ich habe ja bereits desöfteren kleinere und/oder grö


  2. I think it's no problem in clients.

    If you use <passive mode> you can search active user, but not other passive user.

    For use <active mode> you need a TCP port and a UDP port (or one for all).

    in a router you need 2 or 4 rules to forwarding (NOT triggern !) for TCP + UDP outgoing, and TCP + UDP incoming.

    In many routers will bind to LAN-IP ! So better to use a fix LAN-IP and NOT **** DHCP (dynamic adress).

    Sometimes in rules ask for WAN-IP or ports. You can't know which other IPS or ports DC user have, so set to <all>.

    In lokal firewall one rule for DC-client to alow is enough.

    Thats all ! Search, browse, connection to passive or active MUST be work. :)

    Generell : 5-number ports between 10001 - 65535 are much better to use. No standard-applications use them and for Sniffer are different to find. :thumbsup:


  3. Die Idee hatte ich auch bereits. Mangels Unterstützung der Developer scheitere ich leider bisher im SourceCode.

    Definiert wird ein Magnet-Link durch Zusammensetzung mehrerer Informationen.

    xt -> Magnet-Typ & Hash

    xl -> exakte Grö


  4. difficult to understand ? ok, some more infos.

    - strongdc.rc , line 278-298 :

    IDD_MAGNET DIALOGEX 0, 0, 350, 160
    
    STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
    
    CAPTION "Dialog"
    
    FONT 8, "MS Shell Dlg", 400, 0, 0x1
    
    BEGIN
    
    	GROUPBOX		"",IDC_STATIC,6,0,337,152
    
    	LTEXT		   "Static",IDC_MAGNET_TEXT,68,14,262,24
    
    	LTEXT		   "Static",IDC_MAGNET_HASH,18,44,40,8
    
    	EDITTEXT		IDC_MAGNET_DISP_HASH,68,42,262,12,ES_AUTOHSCROLL | ES_READONLY
    
    	LTEXT		   "Static",IDC_MAGNET_NAME,18,62,40,8
    
    	EDITTEXT		IDC_MAGNET_DISP_NAME,68,60,262,12,ES_AUTOHSCROLL | ES_READONLY
    
    	CONTROL		 "Radio1",IDC_MAGNET_QUEUE,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,18,99,252,10
    
    	CONTROL		 "Radio2",IDC_MAGNET_SEARCH,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,18,111,252,10
    
    	CONTROL		 "Radio3",IDC_MAGNET_NOTHING,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,18,122,252,11
    
    	CONTROL		 "Check1",IDC_MAGNET_REMEMBER,"Button",BS_AUTO3STATE | WS_TABSTOP,18,135,252,10
    
    	DEFPUSHBUTTON   "OK",IDOK,280,115,50,14
    
    	PUSHBUTTON	  "Cancel",IDCANCEL,280,131,50,14
    
    	ICON			IDI_MAGNET,IDC_STATIC,18,15,20,20
    
    	LTEXT		   "Static",IDC_MAGNET_SIZE,18,80,40,8
    
    	EDITTEXT		IDC_MAGNET_DISP_SIZE,68,78,262,12,ES_AUTOHSCROLL | ES_READONLY
    
    END
    I wish "Radio3" to chance with funktion. IDC_MAGNET_NOTHING will not needed, so will chance it with new funktion like Download to ... or named "Browse ...". So must chance in MagnetDlg.cpp funktion IDC_MAGNET_NOTHING within IDC_BROWSE or other, but don't find IDC_Nothing-if-String. I believe find a funktion in "Winutil.cpp" at lines 1568-1590 :
    		if(!fhash.empty() && Encoder::isBase32(Text::fromT(fhash).c_str())){
    
    			// ok, we have a hash, and maybe a filename.
    
    			if(!BOOLSETTING(MAGNET_ASK) && fsize > 0 && fname.length() > 0) {
    
    				switch(SETTING(MAGNET_ACTION)) {
    
    					case SettingsManager::MAGNET_AUTO_DOWNLOAD:
    
    						try {
    
    							QueueManager::getInstance()->add(FavoriteManager::getInstance()->getDownloadDirectory(Util::getFileExt(Text::fromT(fname))) + Text::fromT(fname), fsize, TTHValue(Text::fromT(fhash)), UserPtr());
    
    						} catch(const Exception& e) {
    
    							LogManager::getInstance()->message(e.getError());
    
    						}
    
    						break;
    
    					case SettingsManager::MAGNET_AUTO_SEARCH:
    
    						SearchFrame::openWindow(fhash, 0, SearchManager::SIZE_DONTCARE, SearchManager::TYPE_TTH);
    
    						break;
    
    				};
    
    			} else {
    
    			// use aOverride to force the display of the dialog.  used for auto-updating
    
    				MagnetDlg dlg(fhash, fname, fsize);
    
    				dlg.DoModal(mainWnd);
    
    			}
    
    		} else {
    
    			MessageBox(mainWnd, CTSTRING(MAGNET_DLG_TEXT_BAD), CTSTRING(MAGNET_DLG_TITLE), MB_OK | MB_ICONEXCLAMATION);
    
    		}

    where is define MAGNET_AUTO_DOWNLOAD. But called "Radio1" and MAGNET_AUTO_SEARCH called "Radio2". But nothing to do for "Radio3".

    BigMuscle MUST understand what i want and CAN help, so he will. :)


  5. Hello,

    is it possible to modify one magnet-funktion and how ?

    The third Radiobutton in the magnet-dialog is "do_nothing". I want to chance this with "download_to" popup window.

    Better

    Radiobutton 1 = "Download" (to current downloadDir)

    Radiobutton 2 = "Download to ..." (popup windows to select)

    Radiobutton 3 = "Search"

    Can anybody help please ? :P


  6. Hello,

    i need some help.

    I want to modify the Toolbar with a funktion "open_own_userlist", but don't find a list of the "toolbar_possible".

    In "toolbar20.png" are 26 Icons. I've always modified to 27 Icons within Icon 25 from "toolbar.png" for "IDC_OPEN_MY_LIST" funktion.

    In "settingsManager.cpp" in string " setDefault(TOOLBAR, "3,1,-1,26,23,-1,4,-1,6,7,8,9,-1,10,11,12,-1,13,15,-1,21,24,17,-1,19,18");" i can place my 27. Icon for Toolbar.

    But now my question.

    Where can or must define which funktion under Button 27 ??

    There must be a list of toolbar_possible to define Button 0 -26(7) funktions, or ? :)

    -> 1 more funktion in "toolbar_possible" = need help.

    Can anybody help please ? :P


  7. When i command 2 lines i can compiling without errors. But can't be a solution.

     "winutil.cpp" line 1961 ff.
    
    
    	// Shutdown
    
    	switch(action) {
    
    		case 0: { action = EWX_POWEROFF; break; }
    
    		case 1: { action = EWX_LOGOFF; break; }
    
    		case 2: { action = EWX_REBOOT; break; }
    
    //		case 3: { SetSuspendState(false, false, false); return true; }
    
    //		case 4: { SetSuspendState(true, false, false); return true; }
    
    		case 5: { 
    
    			if(LOBYTE(LOWORD(GetVersion())) >= 5) {
    
    				typedef bool (CALLBACK* LPLockWorkStation)(void);
    
    				LPLockWorkStation _d_LockWorkStation = (LPLockWorkStation)GetProcAddress(LoadLibrary(_T("user32")), "LockWorkStation");
    
    				_d_LockWorkStation();
    
    			}
    
    			return true;
    
    		}
    
    	}

    Thanks for no help ! :)


  8. At end of compiling the original Apex 1.0.0 Beta 4 Source i'm become this error :

    Ressourcen werden kompiliert...

    Deleting old pdb file...

    Y:\ApexDC++ 1.0.0 Beta 4\compiled\ApexDC.pdb konnte nicht gefunden werden

    Verknüpfen...

    WinUtil.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""unsigned char __stdcall SetSuspendState(unsigned char,unsigned char,unsigned char)" (?SetSuspendState@@YGEEEE@Z)".

    Y:\ApexDC++ 1.0.0 Beta 4\compiled/ApexDC.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.

    I've no idea to correct this error. :)

    Anyone a solution ? Need help, please !!! :)


  9. ok, ok, Guys.

    Obvious i've installed any Emotion-Packs AND activated TOO, otherwise i CAN'T tell it runs under SP2 within later Patches, isn't it true ? :)

    So, i've testet with differ Packs, too !

    No reason for the differ Packs !

    ... I'm NOT a DAU to using DC-Clients. Belief it, please ! :)

    DAU = in german "Dümmster anzunehmender User" ; english : "most stupid user imaginable"


  10. Hi @ALL,

    Since Beta 4 i've no Smilies with XP with NO PATCHES after SP2. Within Patches after SP2 no problems. Because changing GUI ?

    So i mean one or more KBxxxxx Patches is missing.

    Now i want not install all Patches available when i need only one or little more.

    Have everybody ideas which Patches, Updates or KBxxxx's i need to show Smilies ?

    Thanks for ideas or help !


  11. My opinion the client should be:

    - LUA scripts included in it

    - Share should be seperate by different Hubs and/or special share by egally favorite users, like a FTP-Server.

    P.S. : Since 7.7.'07 the offical SDC 2.04 is out. Where is coming out the next Apex Release or Beta 3 ?


  12. Yes ! Yes ! YES ! :)

    Nobody by the programmers or offical here from the forum.

    A Newbie has the Nuts !!

    ------ Erstellen gestartet: Projekt: StrongDC, Konfiguration: Release Win32 ------
    
    Kompilieren...
    
    WinUtil.cpp
    
    Kompilieren...
    
    iTunesCOMInterface_i.c
    
    Ressourcen werden kompiliert...
    
    Deleting old pdb file...
    
    Y:\ApexDC040\compiled\ApexDC.pdb konnte nicht gefunden werden
    
    Verknüpfen...
    
    Code wird generiert.
    
    Codegenerierung ist abgeschlossen.
    
    Das Manifest wird eingebettet...
    
    Das Buildprotokoll wurde unter "file://Y:\ApexDC040\vc7\Release\StrongDC\BuildLog.htm" gespeichert.
    
    StrongDC - 0 Fehler, 0 Warnung(en)
    
    ========== Erstellen: 1 erfolgreich, Fehler bei 0, 7 aktuell, 0 übersprungen ==========

    BugMaster you are my winner ! :wacko:

    But thanks Zlobomir too ! At least you helping. ;)

    P.S. : Why my "strmif.h" was corrupt ? No idea .... :)


  13. I cant think of anything else but to remove DirectXSDK both from include and library files. (You get errors IDirectDraw and this is in ddraw.h,so maybe this will help)

    I've removed it in include and library. Same 8 errors in release-mode compiling. :wacko:


  14. May be, i'm no working 24/7 on this project, too. :P

    In use the STLPort 5.2 of Zlobomir up this side. Always WTL 8.0 and the ddraw.h of Zlobomir. wmp.h from installed WMP10SDK.

    Dirs and include see picture :

    vc01ik9.jpgvc02sj2.jpgvc03wa1.jpg

    Compiling in debug-mode :

    ------ Erstellen gestartet: Projekt: StrongDC, Konfiguration: Debug Win32 ------
    
    Kompilieren...
    
    iTunesCOMInterface_i.c
    
    y:\apexdc040\windows\itunescominterface_i.c(141) : fatal error C1010: Unerwartetes Dateiende während der Suche nach dem vorkompilierten Header. Haben Sie möglicherweise vergessen, im Quellcode "#include "stdafx.h"" einzufügen?
    
    Code wird generiert...
    
    Kompilieren...
    
    WinUtil.cpp
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26287) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26290) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26294) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26297) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26421) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26433) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26446) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26458) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    Code wird generiert...
    
    Das Buildprotokoll wurde unter "file://Y:\ApexDC040\vc7\Debug\StrongDC\BuildLog.htm" gespeichert.
    
    StrongDC - 9 Fehler, 0 Warnung(en)
    
    ========== Erstellen: 0 erfolgreich, Fehler bei 1, 7 aktuell, 0 übersprungen ==========
    Compiling in Release-mode :
    ------ Erstellen gestartet: Projekt: StrongDC, Konfiguration: Release Win32 ------
    
    Kompilieren...
    
    WinUtil.cpp
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26287) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26290) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26294) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26297) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26421) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26433) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26446) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26458) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'
    
    Das Buildprotokoll wurde unter "file://Y:\ApexDC040\vc7\Release\StrongDC\BuildLog.htm" gespeichert.
    
    StrongDC - 8 Fehler, 0 Warnung(en)
    
    ========== Erstellen: 0 erfolgreich, Fehler bei 1, 7 aktuell, 0 übersprungen ==========

    Thanks for help or any idea. :D

    P.S : I'm not installed SDK SP2. VS is version 2005 professional. The ApexDC-Source is 0.4.0 with no changes by myself.


  15. I understand you.

    I can not understand that your ddraw.h in my include dir like y:\tools\ddraw is not found.

    I can not also understand that nobody others gives any tip or see a mistake in my pictures and post anything.


  16. How about compiling in release mode (as i forgot to change a property for the .h file on debug mode) :)

    Now i compiled in Release.

    The first error about iTunes is no more again, but the errors 2-9 (see code first side) comes again.

    Wants to move to pity itself then in fact none me help ? :thumbsup: :P :P


  17. Thanks, i'm comparc with your, and make my complete new. Like this :

    vc01ik9.jpg vc02sj2.jpg vc03wa1.jpg

    Ok, compiling StrongDC++ 2.03 -> no errors !

    compliling ApexDC++ 0.4.0 -> same 9 errors as below !

    @Zlobomir,

    in your Dir DDRAW are only one File like ddraw.h ? Isn't it ?

    Your entry \PlatformSDK\common . I don't have this. What is it ? I need it ?

    I can't believe that only one User can, or will helping !


  18. Mine ddraw is in trunk\ddraw\ Copy it there too and see what happens.

    trunk ? You mean root ?

    The file ddraw.h is in a path with registered in include. Thats important. Where the path is egally. See like this :

    vcincludeva4.jpg

    See in Guide to compile it is important the STL on first position, and WTL on second position.

    Another rules i've no seen in any Guides here or StrongDC Forums, too.

    What a pity for only your interest to helping. ;)

    P.S. : I'm just compiled StrongDC++ 2.03 without errors !

    P.S.S. : By the way, i've have 8 projects in ApexDC Source (bzip2, client, MakeDefs, Regex, StrongDC, taocrypt, yassl, zlib)