@# 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> and no optimizations!
<1> o.O
<1> still
<2> is Delphi 2006 worth upgrading
<2> from D7
<1> it's fast enough for my purposes... i use api calls as seldom as necessesary
<0> SabrWolf: I've heard conflicting arguments
<1> do all image manipulations in a static memory buffer and copies it to a bitmap when i've done which can be bitblt'ed
<0> some say yes, while others obviously say no
<3> if you need/want to do .net
<3> its a definate yess
<0> I'd probably say "not yet"
<3> if you wont want/need .net
<0> because joe bloggs (that being some companies aswell) is still running 98/2k/xp(no sp's)
<0> atleast over here they are
<3> insane



<0> naturally
<3> that's ****ing stupid rynning ANY ms product without the SPs
<0> some of them don't even have firewalls and spyware/virus scanners installed
<3> its been a hell of al ong time since i upgraded anything from MS without wating afew mnths for some pathes to come out
<0> the IT industry here is currently filled with idiots
<3> apparently
<0> they ARE slowly getting weeded out though
<3> well, if you have a server that is heavily restricted to local access only
<3> no access to/from the internet
<3> yu can get away with leaving it up for years and not updating
<2> so GoonyBird
<3> yes SabrWolf?
<2> you say if most of my work will be win32
<2> not worth the $ ?
<0> unless you force all your employees to view websites through a telnet connection
<3> in that case, personally i'ld stick wth d7
<3> _Russell_
<3> well
<0> then again, that wouldn't be too safe or practical ;P
<3> what about your db server?
<2> well im only wondering because i heard theres compiler imrovments to the d2006 one
<3> not the company gateway to the net
<2> but dont know what they are
<3> about the same here
<0> well, if a local intranet is all you need..
<0> and access to it is restricted
<0> then bleh
<3> rus - well workstations migth legitimately need net access
<3> and also access to inside dbs/webserers/etc
<3> so i can see most ccompany servers being walled off from the net
<3> except for like the company email server
<3> and a net gateeway server
<0> I'm just going to go blame the idiots CURRENTLY running the show and leave it at that :P
<3> ok:-)
<3> SabrWolf - to be honest im not real sure what hte improvements are either
<3> outside .net support
<3> which is something i dont have a lot of use for at the moment
<4> Hi @all!
<0> hallo
<4> I have a dfm (form) file. Is it possible to open it in delphi to see the form ?
<0> yes
<4> How can I do this?
<0> tried double clicking on it?
<5> a totally wild guess would be File > Open
<4> Then I only see the file as text
<4> But I want to see the form to redesign it ..
<0> create a project then and add the file to the project
<0> that should do it
<4> ok I will try it
<4> hmmm ... Ive added the dfm file but I still cant see the formular
<4> f12 dosent work
<0> do you have the source file?
<0> (.pas) for the dfm
<4> good question ... How can I figure out which is the correct PAS file?
<0> not entirely sure
<0> crap, I gotta go to bed
<0> gnite
<6> File/New/Chrome/XAML Project
<7> anyone here made any application to a nokia N70-N80 phone?
<8> i'm starting on it next week
<8> :)



<9> what's the best was to get the OS information
<10> My computer properties? :P
<11> Ask it nicely. Maybe buy flowers.
<8> threaten it
<8> oops
<8> what OS info?
<9> like
<9> 2003, XP, 98, NT4 etc
<6> geTWindowsVersionEx?
<6> :)
<8> GetOsVersion
<8> (ex)
<6> that's the one.
<8> i think:)
<9> nope :(
<6> we were both wrong!
<6> GetVersionEx
<8> something like that...i can look it up but then so can you
<8> indeed
<8> like i wander around with utterly useless API calls burnt onto my forehead
<6> hehe
<12> i want to specify a pixel with alpha value of 0
<12> will this do the trick: Data[W+(H*Width)] :=(((c and $FF) shl 16)+(c shr 16)+(c and $FF00)) or $FF000000;
<12> where c is the color of the pixel
<1> moelski: the pas usually has the same name as the dfm
<4> Well I found the pas
<4> It has not the same name ...
<1> AK-47: type TPixel32 = packed record case Integer of 0: (Value: Cardinal); 1: (Blue, Green, Red, Alpha: Byte); end; PPixel32 = ^TPixel32; ... var pixel: TPixel32; begin pixel.Red := <redvalue>; pixel.Green := <greenvalue>; pixel.Blue := <bluevalue>; pixel.Alpha := <alphavalue>; ... SetPixel(x, y, pixel.Value); {or:} PPixel32(Integer(bmp.Scanline[y]) + x * SizeOf(TPixel32)).Value := pixel.Value;
<13> i've never understood that syntax
<1> o.O
<13> it's right up there with par files for techno stuff i'll never get ;)
<1> variant records?
<13> ya, if thats the case of with different ways to access the same data
<1> yep
<1> the data it accesses depends on declaration; in the case i described, the case-label 0 (value) = $aarrggbb
<12> so $00000000 is fo alpha=0 and $11000000 is for alpha=1 ?
<1> $00000000 is for alpha = 0 and $01000000 is for alpha = 1 ... $FF000000 is alpha = $FF
<1> $11000000 has alpha = $11
<1> simple
<11> Alpha is just another value, except its for degree of transparency instead of amount of color.
<11> There's nothing odd about it.
<1> reading (or writing) TPixel32.Alpha is the same as modifying the upper byte in TPixel32.Value (ie: $aa000000)
<1> since both case labels in TPixel32 contain 4 bytes (SizeOf(Cardinal) <and> SizeOf(Byte) + SizeOf(Byte) + SizeOf(Byte) + SizeOf(Byte)) the entire structure's size becomes 4... neither more or less
<13> hah
<13> i exported my bds registry values
<12> so the maximum value of alpha is 99 ?
<13> 6,666KB
<13> max alpha is 255 afaik
<13> those values are not decimal
<1> AK-47: no, maximum alpha is $FF (255)... i described it in hexadecimal
<12> yeh 10x
<1> setting Alpha to 255 would set Value to $FF000000
<1> np
<12> i don't understand those hex and bit operations :)
<1> go and learn it... it's extremely useful
<6> Great. Why would ExitThread block ?
<11> If you're doing graphics, you had better learn it.
<1> one hexadecimal digit is between 0 and 15... since we only have 10 numbers in our characterset (0..9), we use the first 6 letters of the alphabet to describe the rest... A..F
<11> ki9a: Just to piss you off.
<6> Only one thread in a process can be in a DLL initialization or detach routine at a time.
<6> wtf?
<1> therefore two digits of hexadecimal can describe values between 0 and 255 inclusive... ($00..$FF)... this is the same as 16^2 - 1
<6> basically I cannot free a thread from within a dll unload
<6> That's lame
<1> ki9a, tried freeonterminate?
<11> He's probablyu not doing delphi. :)
<6> Actually I am.
<12> i get it now :)
<6> But that's not the problem.
<13> hah
<13> http://blaugh.com/2006/09/11/forward-this-funny/
<6> the problem is that I cannot free a thread from within Finalization


Name:

Comments:

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






Return to #delphi
or
Go to some related logs:

#cisco
sdfghjklşi,
#nhl
ai booster function
#visualbasic
amarok xbmc script
email limit on 1and1
#italy
with-apxs2 Please use the appropiate switch
GAMEGARDIN



Home  |  disclaimer  |  contact  |  submit quotes