| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> how do i create an event in my cl*** ? <1> a message event? <0> hum.. i dunno hehe.. i never worked with events in a custom cl*** before.. <1> where does the even come from? <1> i mean what do you expect to trigger it ? <1> are talking about a component event? <0> im creating a socket cl***.. i need events like OnRead, OnConnect, etc.. <1> ha.. <1> ok.. <0> hum, it's not a component... but, it needs to be to use events ? <1> you need to use a TEvent Property .. <1> or a base of that. <1> and internally, you have the window message for the socket if that is the kind of socket your doing. <1> from the message, your code will decide on with property event to fire off. <1> the property is just a pointer to the event code you supply.. <1> or should i say, it sets of gets the pointer to it.
<0> ah... i got it now... well, im planning to use TClientSocket for now... but later i wanna use APIs instead of <1> hmm <1> the TclientSocket takes care of most of the hard work. <1> if your making some special cl***, just through that in there. <1> or, start from that one. <0> GPF im trying to make a simple msn client.. then i create a cl*** for the socket, another to treat the protocol, and so on <1> hmm <1> ok. <1> i guess, you can simply tie into the events of the TclientSocket. <0> the first idea was to create it with plugins, but as it seemed to be a little hard, i will make it using cl***es, and later i create the plugins based in that cl***es <1> ok, if you say soo. <0> but i guess i got it... i receive the message from windows and fire the event, right ? <0> but how do i declare these events, etc ? <1> yes <0> they're properties ? <1> yes. <1> your cl*** would have a property where you ***ign actually code that responds to these events. <1> in your cl*** code in the background, you simply call this property pointer like it was a procedure. <0> hum, but what about TEvent ? what exactly is it ? <1> Tevent is just the base code for the pointer. <1> why don't you simply look at some example source code. <0> i was looking for one.. <1> actually, the Tevent is actually a thread object thing, <1> its not what you want. <1> you want a Events properyt. <0> hum... <1> http://www.informit.com/articles/article.asp?p=26651&rl=1 <0> ok, ill read it... thanks <1> its TNotifyEvent. <2> http://www.rukola.com/dfasdfasdfsd.jpg.html (NSFW) <3> lol that was funny "I excel at, not giving a ****" <4> ello <3> 111F in south dakota today <4> bloody ell <5> Just watched Gattaca. Great film <6> yes, very good <7> yeh although it's scary in a way, imagine a society like that <7> crippled from birth because of your parents <5> a film like that just inspires people exactly against that kind of society <5> Jude Law impressed me there too, great actor <3> i like boobies <8> yeah boobies <5> heh coincidences and dejavus keep occuring to me lately... it's weird. I think of something, I see it on TV a moment later. <5> I flick through my favourite bits of Lost In Translation, I switch to TV, it shows on residential channel <7> i keep dreaming of the future <7> and then it happens <7> its scaring me <5> I had a nice dream I was to ***Z a girl, and mobile phone rang and I woke up :( <5> Blade^ capricorns have a sense for divine :) <5> and anticipate future with great detail <5> you're a capricorn right? :) <7> cool, i should document my dreams <7> maybe i can predict something <5> when I was stoned, I used to anticipate every bluff :) <5> (in poker <5> I'd have a joint, and I'm an unbeatable poker machine <5> When I stoped smoking, I started to **** at poker :D <3> Blade^: dream that someone gives you a ****load of money <5> positive thinking/ dreaming good things makes stuff happen <5> Universal Energy Bank :D <9> like gold peak batteries' one
<5> neilslade.com , good page if you interested in stuff like this :) <7> Rahly: I'd rather dream I was god :P <10> anyone buy something from devex? just curious about their totals.. like $199+$199=$299 :P <4> http://www.videorambler.com/2006/07/windows-vista-speech-recognition-not.html <4> heh <11> hi i'm inserting a record to my db but another program which is using sane db (at the same time) cannot see my new recs until first program closed.. <11> what should i do <11> im using firebird.. <11> with sql <11> ping... pong <11> ? :) <11> no idea? <5> lol cATFLAP... hilarious <5> sl4yer <5> I started on FB sql recently.. what compos you using? <7> just use the UIB's <5> sl4yer maybe the program inserting the record is not commiting the update <5> UIBs? <11> i am inserting recs with sql <5> what components? <11> INSERT <5> huhh <5> how are you viewing the data? <5> are you selecting it? <5> erm. <5> how are your apps retrieving the data? <11> with sql again SELECT <11> the program itself is seeing newly inserted recs <5> you want the server to notify all apps that a record has been inserted? <11> yep this is. <11> :) <5> how is the program itself seeing newly inserted recs? <5> is it a dataset you're using? <11> i insert a new rec with sql by INSERT .. then i see new recs with SELECT and no problem <11> but until i close this program <5> hmm. <11> another program <11> whch is using the same db <11> can not see new recs <11> ok? <5> what components? <5> surely you're not connecting to the SQL server via TCP Client <11> interbase components ibquery <5> ok. <5> did you commit? <11> normally ibquery.close <5> because the newly inserted record might be cached <11> ibquery.sql.clear; <5> you need to commit the transactoin <5> ibquery.commit, you tried that? <11> so on... hmm <11> commit... transaction or query <11> ? <5> the commit method should be in the query <5> a transaction is ***igned to your query I presume <11> ok is it possible to do that witout transaction <11> ? <5> it must be with transactions whether you want it or not <5> dbs are built on transactions <5> in case of corruptions/power resets/abnormal termination of software <5> what is the cl*** name <11> ok let me try this commit.. <5> heh try that <5> I just wasn't sure what's the full method name, becuase I don't use it <5> but I'm sure it's all the same <5> your commit method actually I think is in the TIBTransaction <11> ok itried <11> but no result <5> did you call commit, in your query? <11> query <11> sory <5> huh? <11> IBQuery1.Transaction.Commit; <5> well, check transaction is started first
Return to
#delphi or Go to some related
logs:
abrahamoof #freebsd #computers ntfskernel.exe #beginner #windows shad pussey
#computers cream baiton
hdi germanz
|
|