| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> "keeping programmers in the dark, like mushrooms" <0> Someone in here must know that song? Help me find a copy (mp3) please. <1> no idea <0> Dr Demento fans? <2> isn't it "keep in the dark and feed them ****, just like mushrooms"? <0> Whats the full title? <2> not sure <0> Well... thats sounds familiar... darn <2> its a pretty common quote you know <3> is that Weird Al? <3> in anycase.. <3> i must make like a pine and leve. <3> oh wait. <3> pines have needles. <3> :) <3> try Oak!
<3> in any case, Bye you all. <0> tootles <4> "Harry Potter and the Deathly Hallows by J.K. Rowling, the seventh and final book in the best-selling series, has been scheduled for release at 12:01 a.m. on July 21, 2007, Scholastic announced today" <5> any advise would be helpful... Seems my delphi 2006 is pucking up my projects... I get a access violation on application.inialization.. Where should I start debugging??? Im a little lost..... The project wortked fine a few hours ago and i made no changes <5> this is the 3rd projhect it ****ed up <5> any advise on what i can do if its bombing on application.initialize? <6> evening all <7> i'm trying to make a tlist of tshape objects. <7> but, after i do new, and try to set amyshape^.width for example...get error. <7> i'm pretty sure i'm getting the concept wrong...but can only find details on using cle*** type with tlist. <7> *cl*** <7> any hints? <8> you just create your tlist <8> wait, tshape isn't an object is it? <8> create an array of tshape, or create your own cl*** that records your information and use a tlist of that, and you don't have to do ^ <8> i thought tshape was a record, could be wrong, and never tried those in a tlist <8> ok nevermind tshape is a component, sorry haven't used that in ages <8> so you just to mylist: tlist; <8> mylist := tlist.create; <8> mylist.add(someshape); <7> someshape will be dynamically created though. <8> tshape(mylist[0]).whatever.... <7> cause, i'm not sure how many i'll need. <8> right <8> thats fine <8> if you want, use a tobjectlist not a tlist <8> its in contnrs <8> if you do then your shapes will be freed when you destroy the list <8> only real difference <7> i have the tlist declared globally. <7> and the objects will be created in a procedure. <7> it'll still work? <8> right, so after you create an object, do mylist.add(theshape); <8> and then later you can go through your list and do tshape(mylist[0]).whatever <8> a list can hold any object so you have to cast it as a tshape <8> if you want i can give you the code for a typesafe list of tshapes <7> ahhh <7> cool. <8> sec, gotta wait for delphi to open <8> ? paste <9> Pastebin: http://www.vkarlsen.no/pastebin <7> i thought it would get destroyed in the list when i free'd the object that i did the add to. <7> well, it's compiling :) <8> it will <8> if you destroy the object yourself you need to remove it from the list <8> otherwise you'll get an av when you access that element in the list <7> that's the problem. <7> i'm need to dynamically create the objects in a procedure. <8> well, why are your tshapes getting destroyed, when the form gets destroyed? <7> so...tlist decleared globally. <8> thats fine, but why are the shapes getting destroyed without you knowing <8> if you know when they are getting destroyed you can just remove them from the tlist <7> when i exit the procedure. <7> that creates them. <8> well, do you want them free'd then or not? <8> do you want them to stay in the list? <8> if so just don't .free them <7> ohh...ok. <7> lol...i'm used to that being a "memory leak" <7> lol. <8> if not, then just .extract them from the list
<7> guess i just wont free them at the end :) <8> then free them <7> yeah. <8> no its not, but when you destroy the list, free each object in it <7> i'll free them when i destroy the list then...correct. <8> or use a tobject list <7> ahh. <7> ok...thanks :) <8> or use this: http://www.vkarlsen.no/pastebin/default.asp?id=7723 <8> that uses a tobjectlist, so it'll free the shapes when its destroyed <8> plus it will make it so its specific to a tshape, so you don't have to do any casting <7> lol...wow man. thanks! :D <8> np, its simple, just does the casting for you <7> is there a way to copy the properties from an existing shape into the newly created ones? <8> ya .***ign() <7> or, do i have to set everything myself? <8> but that always depends on whether the object actually implements .***ign(), so make sure of that <8> generally works with vcl stuff though <7> wow. didn't realize you could use ***ign like that! <7> i've used it with images...but didn't know it worked for objects. <8> it starts at tpersistent i think, but again it all depends on whether or not an object implements it <7> hrmm...can't ***ign tshape to tshape. <8> hah, guess not ;) <7> damn :) <7> that's ok. <8> i get the feeling that diskeeper, like the windows defrag, along with all other parameters also has a "do as best as you can in X amount of time" <8> it seems like if the drive is bad enough, you have to defrag it a couple times to get it completely defragged <8> or maybe it's a max # of p***es <8> thats probably a) more likely and b) why they ditched the progess bar in vista <10> aloha <11> hi there <10> hey dayna. how goes it? <10> did all that job stuff work itself out <11> well I got paid. <11> time will tell. <10> mm <12> I'm doing a conference call with india tonight. <12> they've been ****ing me over. <10> which part of the company is in india? <10> other devs or support? <12> php + mysql <10> ah <12> Delhi <10> I was supposed to have people show up today to put down fireant baits <10> at 8:30am <10> good thing I forgot and didn't get up because.. they didn't turn up either <12> I hate that. most of us do. <12> on the bright side... you didn't lose any work time :-) <13> Ugh. I had an exterminator do that to me once. <13> Very unhappy, I was. <10> lol true true <10> the thing is, they've been har***ing me about it <10> it's a government thing, they're trying to exterminate all fireants in the country <10> so I finally organize a date and well you know the rest <12> are fireants one of those pests brought in from another country? <10> yes <10> there a really nasty agressive ant <12> we have a few species around each of our international ports. <10> http://www2.dpi.qld.gov.au/fireants/ <10> lol: if sending a sample.. "DO NOT SEND LIVE ANTS. <10> btw, anybody used NANT for build scripts? <10> woot one does exist <10> dayna: is it possible to leave messages with the bots for somebody here, specifically ki9a ? <14> i can <14> im sure dayna could too <14> well i say that <14> let me see if the bot has that enabled <10> mm I guess I could just tell him next time <10> I just remember he was looking for a nant gui a while back <14> it appears to have it <14> what is it and i'll try it <10> a visual NANT script builder exists at http://www.nantpad.com/ <14> thats it^ ? <10> NANT is a build scripting engine
Return to
#delphi or Go to some related
logs:
#solaris #gentoo pebrowser #beginner #politics #microsoft #solaris sli flipcard #hardware leafstv stream
|
|