@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12



Comments:

<0> ok g2g smoke some more, u brought me down
<0> bye
<1> It's your life, I satisfied my moral obligation
<1> Night
<0> hmmm
<0> ahhh!
<0> bye
<2> lol
<1> ****ing idiots
<2> Problems in his neck. Cute.
<3> note: dope.mod, 28 channel track :)
<1> Yah, oh well
<1> You can lead a horse to water, and beat the **** out of him, and dump his body in the river, but whatever
<2> I have a permanent back injury, bad ankles, bad knees and dance upwards of 14 hours a week, and I don't need to smoke. lol oh man



<2> haha JBlitzen.
<4> Jblitzen youre saying I can't make it through school life with a smoke of weed every 3 or 4 months
<4> 4 or 5
<1> I didn't say that at all
<4> you think it's addictive?
<4> it's not its just fun to do
<1> I'm not going to discuss the validity of a worthless lifestyle choice.
<1> I've told you it's stupid.
<4> heh
<1> I've had way too many experiences where I had to try to help people pull themselves out of the gutter.
<1> I told you so that I won't feel bad when you jump in.
<1> If that's not the case, great.
<1> If it is and you don't want to listen, fine.
<1> I've satisfied my duty to myself.
<4> ok, I will think about it ( : ( )
<1> Wouldn't be the worst thing you ever did
<4> see ya gonna smoke sum more out of the house
<1> Night
<4> nite dude
<5> can you debug a dll in visual c++ which is invoked in java program by jni?
<5> i have the source code for the dll
<1> I think so, but I couldn't tell you how offhand
<1> peterhu definitely could when you see him
<6> vidkid : yes, you can.
<6> set java.exe as the executable for the debug session
<1> Nice
<6> java.exe with the proper parameters, of course
<3> you can also attach to a running program later
<3> and just debug your dll i think
<6> that too, but then you miss the initialization code
<5> what is meant by attaching?
<6> vidkid : debug -> attach to process
<6> instead of starting a process from a debugger, you can begin debugging a process that already runs
<6> if nothing else works - you can put a debug interrupt in the code, and run it, then the windows will pop up a debug whenever it reaches this code
<1> Nice
<5> what is 'debug interrupt'? breakpoint?
<6> vidkid : I don't remember it's number, it's the same interrupt an IDE puts for you when you set a breakpoint.
<5> so is it the same as a breakpoint?
<3> except that it is permanent
<5> how do you put a debug interrupt in code? say in visual c++ express?
<6> vidkid : except you put it in the code, and it stays in the executable even when you don't run it from the debugger
<6> vidkid : asm int XXh; except I don't remember the value of XX :)
<5> ok thanks - let me try it..
<6> 01, I think
<6> but don't blame me if your computer crashes
<5> actually im not sure about the debug interrupt thing.. but i'll try the java.exe method
<6> the easiest and cleanest
<5> i is type long, what does '(void*)i' mean?
<3> pretend it is a void *
<5> say i contains 11, what does (void*)i contain?
<3> the same
<3> you're just overriding the type system in the compiler
<5> does (void*) mean i should be treated as a void pointer?
<1> Heh
<5> what's 'conversion from 'long' to 'void *' of greater size' mean?
<3> it means void * is bigger than long
<5> bigger in what sense?
<3> 'greater size'



<5> they're both same size's.. sizeof()'s are same
<3> so blame the compiler
<3> generally its unsafe to store pointers in longs and vice versa
<3> they invented uint_ptr for it i think
<3> or however that was called
<5> ic
<5> so it's like converting short to long or something like that
<3> it might work on your current system, but it might just as well fail on another
<5> wait actually.. short to long should have no problems..
<7> *tries to call findwindowname in .net*
<3> no but it is likely to be converted back
<5> so the compiler is giving me the warning because of that? (and the other point about long you mentioned)
<5> kind of presumptuous..
<3> your compiler is set to warn you about those things... you can disable it (which you didnt)
<5> i think it's just that (void*)long_var is just an weird thing to do.. (void*)&long_var doesn't give me any warnings
<3> yeah but those are completely different statements
<5> yeah thats true
<5> i suppose you really might want to do (void*)long_var
<3> I suppose you really don't want to do either
<5> or (int*)long_var, etc
<5> why not?
<3> casting is generally not needed at all
<5> right, generally.. but in this jni example a jint is casted to HANDLE (which is void*)
<3> what is a jint
<5> jint is long
<3> so why does it need casting to a HANDLE
<5> basic answer is because jint is substituted for HANDLE in the parameter list of a method.. and when calling CreateFile() function which takes in HANDLE it needs to be casted
<8> what's a jint? a jewish int? does it have a stingier range?
<9> Only takes kosher values? :-P
<8> hahaha
<8> jint also returns less than you put into it due to interest
<7> x_x
<4> wohoo, I created it, thanks JBlitzen if you can see this!!!
<4> all errors gone baby!
<10> hmm
<4> hmm * infinity
<11> working with a C++/CLI cl***, i'm trying to customize the behavior of the serialization of one particular member - a DateTime member that may be null... At first I figured making it a DateTime^ member would do the trick, but now the cl*** can't be serialized because DateTime^ is a ValueType
<11> with it being a ValueType, can I stick in a function of my own that handles serializing that member?
<11> in particular, I'd like to simply not emit the property in the serialized xml if it points to a null DateTime...
<11> (this stems from the object's source: in the database, this DateTime column may be null)
<4> if anyone wants to see they can
<12> rdragon: Tried storing the DateTime's string value?
<11> oh, i guess that would work
<12> It's nice to be able to deal with dates so easily in .NET
<12> String^ saneDate = DateTime::Parse(someRandomDate).ToString("yyyyMMdd");
<12> Why the entire world doesn't use year/month/day is beyond me.
<9> Just as it's beyond me why the whole world doesn't use day/month/year. :-)
<12> It at least makes more sense than month/day/year, but it's still unusable for sorting
<12> m/d/y is completely senseless
<13> Sol, you have any good references for learning .NET stuff?
<12> I've mostly used MSDN
<14> hello
<15> alooo incek Erag0n ;)
<14> ;o)
<13> yeah, MSDN is nice for searching through
<12> There are plenty of how-to articles on there, at various levels of detail.
<14> why every time i try to compile i get an error that it can not compile the specific file extension ( newbie in c++ )
<13> what is the file extension?
<14> txt
<13> well yeah, people don't normally compile plain text files
<13> make it .cpp or .cc
<11> heh
<14> rdragon you are programmer , i am just learning programming
<13> and shame on you if you're editting it in notepad and that's why it has .txt ;)
<11> Erag0n - most people here are programmers
<14> i know ;)
<11> Erag0n - some as a job, some as a hobby
<13> I'm a professional dishwasher but I'm not currently practicinbg
<14> cn28h , i just try to compile and it needed a workspace then it make a txt
<13> what IDE are you using?
<14> how can i see the IDE ?
<11> the IDE is the program you're using to edit the code
<14> like macro ?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#MissKitten
injektah
#AllNiteCafe
#php
kalorijji
#squid
#apache
#linux
#linuxhelp
#linux



Home  |  disclaimer  |  contact  |  submit quotes