@# 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



Comments:

<0> When Bears start becoming marriage councilors, its time to reevaluate life.
<1> i like boobies
<2> i dont
<1> ? pastebin
<3> Pastebin: http://www.vkarlsen.no/pastebin
<0> some weird disney flick on cbc.ca tv
<0> ...and get this: its live action! with bears that walk and talk!
<0> wanting to form some kind of band again. never saw it b4
<0> ? pastebin
<3> Pastebin: http://www.vkarlsen.no/pastebin
<4> is borland making any 64 bit tools?
<5> GPF: somewhere on the roadmap
<4> hmm
<4> just wondering if i should get the VS (MS) now or wait?
<4> wait for borlands (VS)..
<6> hi... can anyone access their hotmail account? I'm getting timeout on login.live.com :(



<5> works.
<6> hmm accessed it from my phone before :( now what is it
<0> ewww hotmail
<6> using my phone to go online
<6> hmmmmmmmf...
<6> this is awkward, ki9a you wouldn't happen to have a proxy server ? :(
<5> nope
<5> sorry
<0> country bears: funnie show
<0> LITTLE MOSQUE ON THE PRAIRIE - Tuesday at 8:30pm
<0> A small prairie Muslim community butts heads with locals when their new spiritual leader arrives.
<0> fire up da betamax!
<7> *YAWN*
<7> Mornin' everyone
<1> hey vibes
<7> Hey Rahly
<1> its not even morning for YOU ;-)
<7> No, but I did just wake up. :)
<8> still anybody here?
<1> why wouldn't they be?
<8> can I do CopyMemory(ms1.memory ,Pointer( @tmstring[1]),length( @tmstring[1])); ??
<1> CopyMemory is an API call, read the manual on such things
<8> I want to convert tmstring into ms1 which is memorystring
<1> memory string? or memory STREAM ?
<8> oops, memorystream
<1> why use that?
<1> can't you use .Write() or .Read() ?
<8> i seems to be too late here (1:40 am)
<8> I found copymemory on google
<1> ms1.Write() ms1.Read()
<1> well the "best" way isn't always API calls
<1> Length(@tmstring[1]) will always be 4
<1> actually, that errors
<1> SizeOf() would be correct, and it would always be 4
<8> mhh
<1> cmf!
<9> rahly!
<1> sup
<9> just drove 1000 miles
<9> tirederer than jesus
<1> fun
<1> maybe you should drive back?
<8> ms1.Read(Pointer(1)^, Sizeof(@tmstring)); << does that work?
<1> what are you reading?
<1> whats? 1?
<9> haha
<9> no :P
<8> well I thought from the first byte
<8> :I
<1> first byte of what?
<8> of tmstring
<1> no
<1> what is the end result of what you are trying to do?
<10> *sigh*
<8> excuse, what I plan to do, or what's the result of my code (above) ?
<8> my English is not as perfect, I am sorry
<7> Grrr. I *HATE* web sites that don't include prices.
<1> hehe
<7> I do NOT want to talk to your sales people or send you specifics about my inquiry - I want to see your prices and make a decision.
<8> I want to read the String tmstring into memorystream ms1 (but I guess that is not what You wanted to read ... because already know)
<1> you want to put the string into the memory stream?



<8> yes
<1> ms1.Write(tmstring[1], Length(tmstring));
<10> you are quick ;)
<11> Vibes, so don't buy from them :P
<7> Goodge: I'm not.
<1> Vibes: send them an email explaining that
<1> hehe, i'm sure they'd LOVE it
<7> Meh. Not worth my time to write it.
<8> mhh, there is an Error, " EAccessViolation at adress e 6E610025. "
<8> on that line of code
<1> did you allocate memory for the memory stream?
<8> ms1 := TMemoryStream.Create; << yes
<1> umm that just creates the stream, it doesn't allocate any memory to the stream
<10> ms1.Size := Length(tmstr);
<8> oh
<1> stream size = 0
<1> writing to the stream = error
<8> ohoh, the biggest error was: I gave mem free 2x
<8> ms1.free; finally ms1.free => that caused errors :(
<12> is there a way to list all system timers currently running?
<1> check .size
<1> step through the code
<1> look at the values
<1> create watches
<8> http://nopaste.php-q.net/267129 << there is the whole function
<8> I used the zlib to decompress
<8> near the middle of the code I added <<<< upto here the String is filled correctly
<8> upto that point the string is filled with the values I expected
<1> well
<1> it could be empty
<1> i don't see where .Size for ms2 gets set
<8> I cannot check what happens after that line with decompresStream(), but guess that the problem is lower down
<8> oh
<1> you can step through the code to see what happens
<8> yes, I used F7 to step
<8> and mouseover
<1> set watches?
<8> no
<8> does that work for streams too?
<1> Showmessage(IntToStr(ms2.Size));
<1> there are several ways to get your answer
<4> how about reseting the read/write pointer?
<8> mhh, yes size is 0 :(
<1> there's your problem then
<8> but how to set size ? because it belongs to size of ms1
<1> DecompressStream must not set it
<4> it shouldn't really.
<1> no?
<4> not really.
<1> i think it should
<4> what if you had data in the middle you wanted to decompress only.
<8> I took this code from example of delphi CD for using zlib
<4> try ms1.seek(0,0) before the decompress.
<1> whats up to the source stream, not the destination
<8> only I added is decodebase64 and and changed ms1.fromfilestream () to memorystream
<8> ehm ms1.LoadFromFile
<8> to taht way of using memorystream instead
<8> ms1.seek(0,0) => mhh, ok, now it is not empty anymore, but when richedit still stays empty
<4> i don't know what the decompressStream does with the pointer how ever, if it was me writing that function, i wouldn't reset it.,
<8> ms2 is 135 byte
<1> i tend to use stream.position := value;
<4> you need to reset ms2 also.
<4> bring the pointer back to 0.
<8> yeah
<8> it works . I set both streams to 0
<8> ms1.seek(0,0) ; ms2.seek(0,0) ;
<4> if that was any other way, lot's of m code would be broken!
<4> streams work just like file io. things take off where it last left off.
<1> m code?
<4> my code
<1> k
<4> so now that we have resolved the problems of the world. we can sit back and relax now.
<1> 42
<4> which reminds me, i have an industrial app i should look at and iron some bugs out.


Name:

Comments:

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






Return to #delphi
or
Go to some related logs:

#solaris
#flash
color.setTransform()
wxwidgets rhel3
#stocks
changecl
ga7ba
1950sq
sexualxac
#feckoff



Home  |  disclaimer  |  contact  |  submit quotes