Search found 32 matches

by adrian_007
2006-12-24 11:51
Forum: Programmer's Help
Topic: vs 2005 + sp1 errors
Replies: 0
Views: 4215

vs 2005 + sp1 errors

try to compile 0.699 after vs update: ------ Build started: Project: taocrypt, Configuration: Debug Win32 ------ Compiling... md4.cpp c:\program files\microsoft visual studio 8\vc\include\string.h(136) : warning C4002: too many actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'...
by adrian_007
2006-12-18 15:42
Forum: Programmer's Help
Topic: adding threaded check
Replies: 6
Views: 5783

Do you put the online users into the data structure at any point?
i think not, could you give me an example code please?
by adrian_007
2006-12-07 15:13
Forum: Programmer's Help
Topic: adding threaded check
Replies: 6
Views: 5783

so do it in other way... cos i think this is problem with getting users [checker gets all users from all hubs for each check settings] tell me how i can create own hash_map and use it? for ex. i put it in OnlineUser in User.h example; in user.h typedef HASH_MAP_X(string*, OnlineUser*, noCaseStringHa...
by adrian_007
2006-11-19 17:50
Forum: Programmer's Help
Topic: adding threaded check
Replies: 6
Views: 5783

thanks for reply... so, i check something and i think bools are not mix, this is the problem with getting nick for check i think... but let take a look: for update settings on connect: [client.cpp] void Client::reloadSettings(bool updateNick) { [...] // CDM START setUserProtected(hub->getUserProtect...
by adrian_007
2006-11-15 11:29
Forum: Programmer's Help
Topic: adding threaded check
Replies: 6
Views: 5783

adding threaded check

hi all, i want to add threaded checker to dc, and i have some problem. i try to use hash map (?) from client manager, and it works, but it have bug that i cant find/repair. 1 hub - test clients /dont check filelists 2 hub - dont test clients/ check filelists when i connect to those hubs, checker che...
by adrian_007
2006-10-16 10:13
Forum: Programmer's Help
Topic: problem with params.
Replies: 1
Views: 2588

problem with params.

hi all, i want to include raw manager from zion and i have problem with getting parametes. i have something like this: in user.cpp const string Identity::formattedRawCommand(const string& aRawCommand, const string& file, const string& c) { // if(!getProtectedUser()) { SettingsManager::getInstance()-...
by adrian_007
2006-09-26 08:04
Forum: Programmer's Help
Topic: compiling dc++
Replies: 9
Views: 6585

how u install stlport? u have folder for it in source code directory
u have dirs like this?
source dir/stlport/stlport/files
by adrian_007
2006-09-24 14:15
Forum: Programmer's Help
Topic: downloading 0.401 filelist on dc++ 0.68+
Replies: 3
Views: 3781

works fine, thx PPK :)
by adrian_007
2006-09-23 16:47
Forum: Programmer's Help
Topic: downloading 0.401 filelist on dc++ 0.68+
Replies: 3
Views: 3781

downloading 0.401 filelist on dc++ 0.68+

can i change some part of code, to download filelist from dc++ 0.401?
where exacly? :)
by adrian_007
2006-08-17 15:38
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14137

let start it again... 1. download stlport with installer click 2. unrar stl and run .bat file - stlport will install in vs include directories 3. download wtl, place it where u want, but remember patch to it 4. open Zion solution if u want to compile zion, then: 1. Goto Tools menu 2. Choose Options ...
by adrian_007
2006-08-17 05:58
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14137

did u include /wtl folder in vs? remember, that stlport dir MUST be on the top of the include list, and wtl under stl :P
by adrian_007
2006-08-16 16:27
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14137

Lord.Sabbath, read this If you still having trouble, the project files might not be setup correctly. So try adding STLPort as a global include by : 1. Goto Tools menu 2. Choose Options 3. Click on Projects 4. Click on VC++ Directories 5. Change the drop down box on the right to Include Files 6. Add ...
by adrian_007
2006-07-14 19:53
Forum: Programmer's Help
Topic: Problem with RichEdit2 window
Replies: 2
Views: 2800

i do it in another way. i write it, maybe someone will need this ;)
to main.cpp i add this

Code: Select all

	HINSTANCE hInstRich = ::LoadLibrary(CRichEditCtrl::GetLibraryName());	

	if ( hInstRich ) {
		::FreeLibrary(hInstRich);
	}
page in settings work proper. ;)
by adrian_007
2006-07-13 18:00
Forum: Programmer's Help
Topic: Problem with RichEdit2 window
Replies: 2
Views: 2800

Problem with RichEdit2 window

i want to create a RitchEdit2 window to settting page, but when i add object, all page form setting just dissappear :| i just see page name in setting tree, but when i click on it, nothing happends.
what should i do to add RichEdit2 window?
thanks.
by adrian_007
2006-07-04 04:22
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

hmm, and in project dependencies [client] i should mark lua... i forgot about that... when i wil have more time, i will re-write this. thanks all for helping ;)
by adrian_007
2006-07-03 18:11
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

hehe... i have no idea how-to add this, so i get source from zion++ and now i just have to copy lua.dll to dc directory :D but if u can, write clearly, how-to "set correctly project dependencies" ? i know, that project don't see lua /include files, but this is other problem, and i have another :) i ...
by adrian_007
2006-06-28 08:40
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

yyy :/ i try compare my client to bcdc++ and dcdm++ and i don't find any diffs.
by adrian_007
2006-06-27 05:28
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

i already add /include folder to client.vcproj :)
by adrian_007
2006-06-26 20:01
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

for what i have to change this? ;)
thanks.
//edit
no changes, still i have thesame errors :(
by adrian_007
2006-06-26 13:45
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

yes, i add /include folder

Code: Select all

"$(SolutionDir)stlport";"$(SolutionDir)wtl";"$(SolutionDir)yassl\include";"./lua-5.0.2/include"
by adrian_007
2006-06-26 04:21
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

hmm.. i add lua-5.0.2.vcproj to solution, but i think that i don't do everything (source seems to be good)
by adrian_007
2006-06-25 19:37
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9636

problem with linking :?

i try to add lua scripts to my client (0.689 => 0.691) and i have those errors: Linking... client.lib(Client.obj) : error LNK2019: unresolved external symbol @lua_pushlightuserdata@8 referenced in function "protected: void __thiscall ScriptInstance::LuaPush<class>(class Client *)" (??$LuaPush@VClien...
by adrian_007
2006-06-21 04:33
Forum: Programmer's Help
Topic: editing icons on toolbar
Replies: 5
Views: 4461

you can also edit them directly in visual studio. hmm...i know this and i tried edit this in vs, but without effects. i've got error Cannot load file. The bitmap imported correctly, but because it contains >256 colors it cannot be loaded in the bitmap editor. :\ also i tried IconCool, but without e...
by adrian_007
2006-06-20 18:02
Forum: Programmer's Help
Topic: editing icons on toolbar
Replies: 5
Views: 4461

hmm... i tried to find some kind of icon editor or something like that, but i can't find it :/ maybe u can tell me what exactly program i should use - just give me the name :)
by adrian_007
2006-06-20 12:18
Forum: Programmer's Help
Topic: editing icons on toolbar
Replies: 5
Views: 4461

editing icons on toolbar

i have stupid problem with editing icons in toolbar :/ when i edit it in paint, save changes, and copy files to /res folder and compile it, i have very ugly icons :/ something like that...
Image

what should i do? ;)
by adrian_007
2006-05-31 05:45
Forum: Programmer's Help
Topic: problem in finishedframebase.h
Replies: 2
Views: 2906

i get that icons from resource ;) i have temporary code for this - one icon for 2 frames - when someone have better idea for this, i correct code :)
by adrian_007
2006-05-29 16:52
Forum: Programmer's Help
Topic: problem in finishedframebase.h
Replies: 2
Views: 2906

problem in finishedframebase.h

hi. i have some problems with adding icons to tabs - ex in finished frames :/ i have something like that template<class> class FinishedFrameBase : public MDITabChildWindowImpl<T>, public StaticFrame<T>, protected FinishedManagerListener and what i think, i should add some ints in template [i need it...
by adrian_007
2006-03-13 10:23
Forum: Programmer's Help
Topic: Can't add new page in properties
Replies: 10
Views: 6174

thanks for helping ;) but i have added new page, i just copy-paste certif. page, change some things, and it's work fine ;)
thx ;)
by adrian_007
2006-03-09 10:01
Forum: Programmer's Help
Topic: Can't add new page in properties
Replies: 10
Views: 6174

i'm using vs 2003 but i have 2005 too (not installed ;)) my code for now: #include "stdafx.h" #include "../client/DCPlusPlus.h" #include "Resource.h" #include "Extra.h" #include "CommandDlg.h" #include "../client/SettingsManager.h" LRESULT Extra::onInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM...
by adrian_007
2006-03-08 14:22
Forum: Programmer's Help
Topic: Can't add new page in properties
Replies: 10
Views: 6174

okay... i do what you tell but it still doesn't work :/ see this, i have only 2 errors: DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall Extra::onTextChanged(unsigned short,unsigned short,struct HWND__ *,int &)" (?onTextChanged@Extra@@QAEJGGPAUHWND__@@AAH@Z) referenced i...
by adrian_007
2006-03-08 09:00
Forum: Programmer's Help
Topic: Can't add new page in properties
Replies: 10
Views: 6174

hum... i do something wrong, because i still can't add new page :\ i have some errors: c:\Documents and Settings\Adrian\Pulpit\DCPlusPlus-0.687-src\windows\NewPage.h(16) : error C2039: 'SETTINGS_NEWPAGE' : is not a member of 'ResourceManager' c:\Documents and Settings\Adrian\Pulpit\DCPlusPlus-0.687-...
by adrian_007
2006-03-06 14:28
Forum: Programmer's Help
Topic: Can't add new page in properties
Replies: 10
Views: 6174

hi, i'm new here ;) ... oh.. and sorry for my english, it's not good :\ ... i have some problems. i cant add new page in properties :/ i do something like that: create new, clean page in .rc file, set name IDD_EXTRA, and save it ;) in PropertiesDlg.cpp i add #include "extra.h" (...) pages[n++] = new...