@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> http://img.4chan.org/b/src/1154381551817.jpg
<1> jus
<1> just
<1> wow
<2> *bong* ... the midnight hour is upon me
<3> can an Access Violation occur as a result of local procedures reading/writing to parameters of the parent procedure?
<3> used to write code fine doing that, but read in help once about local procedures and their access to "Self" and what not, so used to always supply the parameters to local procedures just in case, this time took shortcuts
<3> I wonder if that's what's causing my AV... wrote a long routine tis all :(
<4> are any of you guys going to the chat about http://delphi.wikia.com/wiki/Main_Page this morning?
<4> (or evening/night depending on your timezone)
<3> MAN WTF is causing my AV!!!!!!!!!!!!!!!
<3> ahhh I know why. I need some COFFEE and CAKE
<3> mah table is so meaty
<5> you shouldn't AV, TByte, its bad
<6> someone say camel toe?.. http://www.stereogum.com/img/kelly_ripa_camel.jpg
<5> http://www.youtube.com/watch?v=fV1kqthZf2g



<5> seen ki9a
<7> Rahly2, ki9a (~knowitall@213-73-225-5.cable.quicknet.nl) was last seen quitting #csharp 4 days 9 hours 35 minutes ago (27.07. 17:28) stating "Ping timeout: 499 seconds" after spending 3 hours 21 minutes there.
<8> hi all.
<8> welcome to the patio.
<8> tonight we're having bbq roasted chicken legs :-)
<8> marinated in italian herbs and seasonings... and slow cooked over a bed of hot coals...
<8> I love my wireless network!
<8> in fact I like it so much... I'm gonna go buy another one to take with me when I go to the park :-)
<8> hello? is this thing on? *tap* *tap*
<4> i thought i heard something ...
<9> hey dayna
<8> *grin*
<9> i thought you already had one for the park
<8> no that's wifi which is wireless... but only to one puter.
<8> mom wants to msn from the park too.
<3> you have an advanced mum
<3> i am getting a access violation just by openning a file with TFileStream
<3> very strange
<9> yup
<9> not strange though
<3> any suggestions?
<3> F := TFileStream.Create(FileName,fmOpenRead or fmShareDenyWrite) <-- AV :/
<8> my mom is a computer idiot... she has a good support department and help desk...
<9> you have the executable?
<3> Rahly what do you mean?
<9> the compiled exe
<3> yes
<3> should I try it with that?
<8> TByte: the file doesn't exist...
<3> same.. file exists.
<9> you could p*** it along to me, how to recreate it, and i'll tell you exactly whats AVing :-D
<3> this never happened
<8> TByte: its the only thing I know of that will cause an aV in TFileStream.Create
<9> Dayna: Actually, if the file doesn't exist, it won't AV
<8> Rahly: does for me.
<9> it'll just throw an exception
<8> ah but if you don't catch it...
<9> Exception <> AV
<9> but AV = Exception
<8> ewww you're right.
<3> Maybe AV is occuring as a result of some bad code elsewhere
<9> AV's are trixy, sometimes the av doesn't happen on the line the debugger shows
<9> i could tell you exactly the problem, but i don't have the exe
<3> but it's a button click... object created, call Load(const fileName: string) and it opens the file :/
<3> then I just have it to Exit; and it stil Av
<8> TByte: add this line before... if fileexists(filename) then...
<3> Rahly do you want the EXE?
<8> see if it still executes.
<3> DaynaGirl done that.
<9> TByte: stack problem maybe
<8> then that line isn't causing the error... its just the last place that could stand the problem...
<8> your error is before that line is my guess.
<3> what im thinking
<8> you using Pchars?
<9> AV is an Access Violation Exception, generally because you are either A) Accessing a variable whose memory is deallocated B) Accessing Null C) running code thats outside of memory
<9> TByte: you can p*** it to me if you want
<9> as long as i can recreate the problem
<8> or running code that was changed by altering a buffer beyond its limits.
<9> or rather, the problem still happens on my machine
<9> Dayna: same thing, because the code jumps outside of the allocated memory
<8> well its symantecs at this point... its the data that ran over... not the code. the PC jumped where it was told to execute... only its been changed...



<9> i donno if the new machines give AVs for it, but you can jump outside of the executable block too, that can error on newer CPUs that don't have the Execute bit on the virtual memory block virtual memory
<3> Rahly I'll have to remove a lot of crap like FIBPlus which wont compile on yours
<3> cause you don't have it
<9> TByte, i don't need the code
<3> ah
<9> i need the compiled executable
<3> you got some mental proggie to find where AV comes? :)
<3> one mo
<9> yes, its called a debugger ;-)
<3> I'll screw around for a moment, don't want to h***le you yet.
<9> k if you say, i have to get up early tomorrow for a trip to detriot, so i'm not going to be up much longer
<3> ok on its way
<3> http://84.9.171.232/CSVIMP.rar
<8> rahly? which debugger are you using?
<3> hmm i dont know yet, but if I dont create the object where creatfile occurs, but create file on its own , it works
<3> must be somehow I ****ed up in the object design somewhere
<8> I had one where I was dynamically created controls (visual vcl) onto a form... only I'd written a function called "insertcontrol"
<8> it turns out... Tcustomform has such a function already... and I'd hidden it.
<8> it was causing no end of nightmares... corrupting delphi itself.
<3> Rahly got it.
<8> what was it?
<3> I created the object, and free'ed it immediately, because i wanted to test the code on create
<3> i must've had 2 AVs
<3> cause the AV i had first was in the Load procedure called on create :/ so thats why i got all screwed
<10> Newegg should ship faster.
<8> here's mirror. it will help.
<8> here's a mirror. it will help.
<10> Damn sneaky 'a' keys.
<3> hmm is my Delphi ****ed up or what. Why doesnt Trim convert ' ' into ''
<11> because removing WHITEspace is racist!
<9> lol
<9> http://www.youtube.com/watch?v=kBVmfIUR1DA
<11> his "jetzt geht's los!" fanfare is the best hehe
<3> I meant /quit heh
<9> it would be kewl to be able to do a switch statement in delphi :-D
<11> Rahly: im sure if ki9a was here he would saying "chrome"
<9> i don't think chrome can do it either
<11> hm but case you do case .. of .. in delphi??
<9> yes
<9> case <> switch though
<11> you mean with conditional operators on each case?
<9> case = specially crafted switch
<11> yeah
<9> that too
<11> but i thought the c/c++ switch was pretty much == only also?
<9> no
<11> i thought that was one of the things ki9a said they improved with chrome
<11> that you could do specific tests on the cases
<9> a lot more, like, case always ***umes break for each section, in a switch, you have to specifically tell it to
<11> thats true.. oh well
<11> if and goto!
<11> :p
<11> else is for wuzzes
<9> goto is the devil
<9> i'm not even putting it in my language
<11> i never use goto either, but i dont have any big scary imagery around it :p
<11> anyhow. off to work :P
<8> Rahly: what the heck got into that kid?
<12> yo
<8> hi
<8> today we had a whole block of code that was crashing.
<8> la :-(
<11> call in the riot police on the block
<12> Pizza in the oven... late dinner tonight.
<11> when on earth did "free download" make any sense, other than to hide the fact that something is shareware !")=!
<8> its like buy one get one free.
<8> no... its 50% off when you buy two.
<8> its stupidity.
<11> just trying to find a free morph anim app here to do a quick morph :p
<0> i like morphine
<11> that might be fun also
<0> might be?


Name:

Comments:

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






Return to #delphi
or
Go to some related logs:

qwrqh
#unixhelp
#gamedev
openbsd-inetd glftpd
#firebird
#politics
#politics
WbemScripting.SWbemLocator Dispatch
#windows
#beginner



Home  |  disclaimer  |  contact  |  submit quotes