| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> syntax might be tricky <0> to express exactly what you're after <0> you can even use things like < with the result of bind, etc <0> bind(...) < bind(...) to represent an expression <0> this is boost::bind, by the way <1> oh, I was looking at std::bind1st and bind2nd <0> those are quite a bit more of a h***le to deal with <0> boost::bind is a lot cleaner <1> let me check it out, thanks again <0> bind( &std::pair<T>::second, _1 ) that might work <0> to represent the value of the element.second <0> provided element is a std::pair<T> <1> hmm let me check the docs so I'll understand what I'm doing :) <0> been a while since i've used it <2> another question <2> would it matter that I'm using DirectX?
<0> it might, if it can't find the dlls <2> so would I need to put the directX dll files I'm using into the debug folder? <0> *shrug* I don't remember <2> that was the fix, thanks rdragon <2> have a good night guys, later <3> http://www.koders.com/ <4> if i delete an item in a treeview control which has children what happens with the children items? are they deleted automaticaly or do i have to manualy delete each one of them? <5> is there a free Virtual PC? <5> virtual machine <6> Yes, there are several. <5> i wan't to run windows xp pro in my machine <5> so that i can run rational rose <6> Then don't let me stop you: go buy it. <7> :} <8> Kapela: we don't want your away messages here <7> Ok <7> can i stay on this channel? <6> Only if you switch that off. <7> Ok <8> You're welcome here :) Just don't spam us with away messages. <7> no no no <7> :) <7> you speack romanian ?? i`m from romaina :) <7> and i can speack verry good english :) <7> ca`t * <7> can`t * :D <8> Well, we only speak english here. And no, I don't speak romanian. <7> Ok boss <7> :) <4> i have this treeview which contains a drive/folder/file structure <4> when the user right-clicks on any item <4> i want to popup the context menu that explorer shows <4> i know the context menu can be obtained somehow very easily <4> does anyone remember how is it done exactly? <9> sure <9> 3 clicks in .NET <9> :P <4> huh?? i have a file pathname and i need its explorer contextmenu <4> what has this to do with .net? <4> and btw, i need apis :) <9> about the same as with C++ <9> :P <4> this is an api-related question <4> most people that use #c++ use apis... or at least i think they should so it's a high probability to get a good answer <8> huh? <7> :) <7> i`m back :D <7> _m_ you are from usa ?>? <8> API is an application programming interface. Of course, people use them. The standard library is also an API. You can't draw any conclusion from that fact. <8> Kapela: no <7> where are you from _m_ ? <7> sorry for /ame <7> :( <4> _m_: i was refering to the people who is all kind of c++ clases which wrap the kernel/user/gdi/shell/... apis and prefere to write somecl***.dothat instead of actualy knowing how it works... but this is irrelevant now <4> i just asked if there is any other way to obtain a windows exporer context menu for any file, folder or drive without enumerating the registry keys manualy <10> You use the appropriate Shell APIs. <10> You almost *never* need to enumerate registry keys, unless you're the one that put them there.
<10> Registry keys and values are private implementation details. <10> Refer to Raymond Chen's writings on the topic, if you don't believe me. <7> _m_ you are an ircop ? <4> well that's exactly what i was trying to avoid.. enumerating the registry keys manualy <4> but i also couldn' <4> t find the appropiate shell apis <4> i was thinking that there are apis that show property pages... maybe there is one that popups a contextmenu as well <11> Deathmaster: http://www.microsoft.com/msj/0497/wicked/wicked0497.aspx <8> Kapela: stop the /ame spam. Last warning. <4> yes, it's kind of annoying <7> ok _m_ <7> sorry <12> must go NOW 2 gateway cx200 laptops. price 500 includes shipping case wireless router. message me if intersted <1> _m_: so you're not just a bot :P <13> Can I call a virtual function from the destructor of a cl***? <13> One that is defined in a derived cl***. <8> no <13> thanks _m_ <8> When the dtor runs, the object is of the dtor's cl*** type. <1> I guess you can if it's not pure virtual <13> Yes, but that wouldn't give the effect you'd expect. <8> That parallels the situtation during construction. <14> the derived destructor SHOULD have already been called <1> http://noidea128.org/sourcefiles/16271.html <1> this compiles fine <13> sk8: I never said anything didn't compile. <1> heh, it will work fine too <1> A's destructor is called last <1> and since A::test(); is defined, everything should go ok <13> That doesn't do what I asked. <13> I asked about calling test() from ~A <1> if it's pure virtual it won't link <13> it does <1> I bet it won't :D <13> it throws an exception though <13> during runtime <1> just tested it, it's not linking <1> unresolved external symbol "public: virtual void __thiscall A::test(void)" (?test@A@@UAEXXZ) <1> if it's not pure virtual I think the original one will be called <1> so if you have A { virtual void test() { cout << "A"; } ~A() { test(); } }; and B : public A { void A::test() { cout << "B" } }; <1> you should get A <13> Must be a compiler thing then. This compiles fine for me: <13> http://www.rafb.net/paste/results/1z5JUM90.html <13> oops <13> wait.. <1> heh :) <13> Ah.. now I get it... <13> the real case I had was different... <13> lemme make a test case for that. <14> that would try to call A::test() <14> unless you explicitly write this->A(); <13> http://www.rafb.net/paste/results/uZeljG16.html <13> That was what I had. <14> and that, ultimately, can be a problem <15> adplus to the rescue <15> log shows a first chance AV occurred and then a process exit <16> I'm having a problem dividing unsigned long values, where I need the result to be a float. So, I'm doing it as follows; float temp = (float) (a/b), where a,b are both unsigned long and a < b. The result I get is always 0, which is incorrect. What am I doing wrong? <15> so someone is freaking terminating the process in response to the AV <15> boo on them <15> boo to the nth degree <14> picky_ of course <15> why are so many developers the dumbest pieces of **** when it comes to exceptions <14> 1) quit using those old C style casts (float) <15> *crashing* is a *good* thing <15> it helps find bugs <16> vawjr: what should I be using instead ? <14> 2) a/b will always be 0 in integer math when a < b <15> unfortunately, the script was not configured to dump on first chance av, so now it does <14> peterhu why would exceptions interefere? <15> sorry?
Return to
#c++ or Go to some related
logs:
turn off Windows logo testing Siehe vorherige Definition von _WIN32_WINDOWS hack irc chans i need cc #linux prompt authorization required myspace.com java chat udp selector #squid twoftp .conf whats konuşsana
|
|