| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> now :) <0> I switched servers <1> oh well, NOW you're lagged 9 minutes <0> lol <0> depends on to whom i guess <2> when i try to register a .dll, regsvr32 just hangs, anyone ever got that? <3> [vawjr PING reply]: 19mins 23secs <3> that'll get to you sometime tomorrow <4> hello all <0> heh bealtine <0> nice splits btw <0> hm <0> I ponder the differences between std::string and std::vector<char> <5> Tamama: allocation strategy, member functions, ... <6> Tamama: string-specific methods - searches, substrings, etc <6> char* ctor
<0> (and they are pretty small data blobs) <7> can anyone help me?? i need to write/read to/from registry <8> shoot <7> i need to write something in to registry to make change each run of the file... how can i do that?? <7> i mean... that i need to make something like a counter wich is stored in registry.. <9> what's the problem? there are winapi functions for that, or if you're using .NET there is likely a cl*** for that too <10> first question: why are you using the registry to store that information? <7> i know that it is... but i don't know where to find how to do it... <9> good question peterhu hehe <7> peterhu i need to make that becouse i need each time the computer starts.. that it runed a number of times <8> I don't quite follow, what does he mean? <9> he wants to keep a counter of how many times his program has executed, if i could decipher correctly <7> something like that... and the program run each time computer starts.. <9> to make the program run on startup you have several options <8> you want the program to start when windows starts? <10> the recommended way is to store data in the user's application data folder <10> when the OS starts or when a user logs in? big difference <7> hm... and i need to make something like file storage.. <7> but the data can be modified from text files... <7> hm.. <7> i need when windows starts.. <10> all data that exists on a writable medium can be modified <7> becouse there are more than 2 users <7> yes but from registry it can be modified just by someone that knows win very good <5> security through obscurity <10> that's, quite frankily, the dumbest justification i've ever heard <5> peterhu: why would you prefer flat files over the registry? <7> i'll think about storing it in a file.. <7> but how do i make it to start when windows runs?? not copying in startup directory <10> because, the registry isn't for storing arbitrary data, makes recovering harder when the OS is borked, and requires a special editor <10> it wasn't *meant* for storing every application's data <7> ok... thanks <7> but how do i make it to start when windows runs?? not by copying in startup directory <6> so why did windows api encourage people to use it ? <10> only services start when windows does <9> Mad^Demon HKLM/Software/Microsoft/Windows/Current Version/Run <10> exception: because they made a mistake, and it's no longer the recommended approach <5> peterhu: so what was it meant for exactly? <7> yes... i know that... but i don't know how to write there.. <10> it was originally created for OLE <10> and microsoft put some OS configuration into it, and then application teams started going, well we might as well use it too <7> YUY0x7 how can i access and write to registry?? <10> and then everyone saw microsoft do this, and figured, well, we should to <5> i see <9> if you would google for 2 minutes, you would get complete examples on how to use the winapi functions <6> Mad^Demon : www.msdn.com, enter "modify registry" in the search box, and here you go <10> "beats .ini files, i guess" was the mentality at the time <7> i googled it but didn't find anithing that i understoor <7> ok.. thanks <10> RegOpenKeyEx, RegQueryValueEx, etc <8> CRegKey if you use MFC <10> plus, very few applications actually use ACLs correctly either <10> frankily, i'm tired of windows application developers being clueless halfwits with respect to security <10> it's time they grew up <3> xml = the new ini file <6> xml > ini file => xml != the new ini file <10> i blame microsoft for being a poor example, but they've wised up <10> i also blame microsoft for encouraging idiots to write software <6> *cough*vb*cough* <3> vb != software :)
<6> vb is a good piece of software, but it's used to produce some crap <10> anyway, that's my rant for the hour <10> oh don't get me started on the irish! <3> :) <10> though, my beard shows my irish heritage <10> got some red in there <3> there are cheap solutions to that ... <3> grecian 2000 <10> pfft <10> i have three hair colors <3> vpn is working again...sigh <10> yeah, that's right, sigh <10> get to work you lazy bum <3> first nice day in weeks and "work" beckons and vpn was down too <3> global warming my *** <3> global freezing more like <11> hi <11> which sorting algorithm woudl you use to sort a sequence of numbers from a text file, thta is as large thaty it can not be loade dinto memeory ? <12> external sorting <11> ok where I can get more info about that <11> any url ? <11> any sample code ? <12> google <12> but i thought this was #c so i duno if c++ has some built in cl***es for it <11> th eidea is to develop my custom algorithmn <11> so no matter <13> can any one give me a good C++ learning site ? <14> can you please repeat yourself even more? <13> can any one give me a good C++ learning site ? <15> lol. _Codex you fixed him up <15> shame on you <15> If cl*** B is an inner cl*** to cl*** A, do functions in B have access to private members of A? <16> not unless it's a friend, is my first guess <15> Thats what I wanted to confirm as well... <15> I am increasingly thinking about compiling my language to C# instead of MSIL. <16> ...um? <16> isn't C# compiled to MSIL ? <15> Yeah <16> oh, i see what you're saying <15> But generating C# syntax is easier <16> why not just write C# then? <16> (what's the language for?) <15> code rather. Yet C# doesn't exploit all of MSIL, not that I think I'll use the unexploited parts of IL. <15> Its a Component oriented language. <15> Basically you have behaviours, which communicate through connections. <15> And can contain sub behaviours, which also have access to connections from the parent. <15> So translating to IL, behaviours become cl***es, and connections become inner cl***es with a ManualResetEvent that controls the connection I/O <15> However, connections can have the 'restrict' option that makes them private to the behaviour, yet sub behaviours can access that connection <17> http://www.knoxnews.com/kns/local_news/article/0,1406,KNS_347_4741144,00.html <15> ok it doesn't need to be a friend <16> IRR oh really? hmm <15> Thats right. And makes sense. <16> I suppose it might <15> If you don't trust them, why make them insiders <16> so that nobody can instantiate them <16> since they're probably an internal cl***, or private member <15> Well, the idea of making members private is to give an abstracted interface to *outsiders*. <15> The notion of protection in OO doesn't involve inside members. <16> yeah, I can't think of anything necessarily bad <18> Doesnt anybody know of file mapping? <16> what's file mapping? <18> Yes I tought so <18> I love it <18> it makes thing run so much faster <16> that doesn't answer my question <19> "Go 5 folders down by the corrupt .bin and take right at the .exe" <18> fast access to youre files <19> :-P <16> that still doesn't answer my question <18> You load part or whole file in memory <18> you can access it with another instance <18> This means pre loading
Return to
#c++ or Go to some related
logs:
oracle collaboration mx record what does it mean to maffick #teens #AllNiteCafe j2me integer to bytes xxxpasswordz address is banned #chatzone hash jien failed negprot smbtree laqwa
|
|