#84857 - 2002-01-16 02:48 PM
Re: registering dll
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
Lonkero, The same way as registering : regsvr32 snappin.dll /u /s (/s for silent, as always) but if you plan to do this in a script that use the dll, you should before close everyting and clear all variables referencing this dll or objects from this one.
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#84859 - 2002-01-16 04:27 PM
Re: registering dll
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
kdyer, Thanks for this one, i was too lazy to search it  But if i remember correctly, in a previous thread, Lonkero was looking for the possility to register a dll in kixtart. Starting from this one, I suppose Lonkero is looking to unregistered it in the same way.
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#84864 - 2002-01-16 07:42 PM
Re: registering dll
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
Lonkero, beware, as it's a dangerous path : in case the user already have the component, registering the one you provide will replace the other one for Windows. For each component (unless they are not binary compatible and so have a different Unique ID, aka GUID AND a different file name), you have one and only one entry. You should before test to see if the dll is already here. A simple getobject("serverdll.class") would be enough, as it's value will be 0 if the class or the serverdll is not good
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#84872 - 2002-01-17 08:52 PM
Re: registering dll
|
Will Hetrick
Hey THIS is FUN
Registered: 2001-10-02
Posts: 320
Loc: Harrisburg, PA USA
|
Hey shawn,Its not that none of us care about the Polling/execute, but it that I don't understand what they mean. I just know it works and works great. Thanks for putting the time and effort to make our jobs more satisfying and interesting.
_________________________
You have at least 2 choices. Each choice changes your destiny. Choose wisely!
|
|
Top
|
|
|
|
#84873 - 2002-01-17 09:16 PM
Re: registering dll
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
Shawn, Will Hetrick's question is exactly that i was afraid of. Also, as i sent the first version of the component to some friends, the fist thing they said was : sounds good, but where is the manual ? You know last part of the story, as the first thing i sent to you after was this |beep| doc file, as at this time, i was adding the object handling in collections and so the dll wasn't working. Already said you it should be done, but well, too bad we had to come to this point.Will, please, don't take for yourself the statement i've done : Most kixforms and kixwinvb users don't know the debate that actually exist between Shawn and myself with the event handling, as they don't get a deeper look on the other snappin. So each time we asked the question, answer wasn't about this one. After some like that, i completely gave it up. Also, here are the differences : Execute() method :
code:
$object.move="Eventmove" $object.resize="Eventresize" ... all other stuff ... do while $object.visible=1 $=Execute($object.lastevent) loopexit() function Eventmove ... endfunction function Eventresize ... endfunction
Polling method :
code:
... all stuff ... while $object.getevent if $object.resize ' do your resize stuff endif if $object.move ' do your move stuff endif loop exit()
Shawn, correct me if i'm wrong in my example Jpols, please, don't $=execute("$Alex.H")  [ 18 January 2002: Message edited by: Alex.H ]
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#84874 - 2002-01-19 12:08 AM
Re: registering dll
|
Anonymous
Anonymous
Unregistered
|
Hi ShawnThe reason you may be reciving little feedback is because we're all busy trying to get to grips with it (oh how my head hurts) and thinking of new projects to code with it. thanks for the port to Kix 4 BTW
|
|
Top
|
|
|
|
#84875 - 2002-01-18 01:41 PM
Re: registering dll
|
Will Hetrick
Hey THIS is FUN
Registered: 2001-10-02
Posts: 320
Loc: Harrisburg, PA USA
|
Hey Alex, That little tidbit will come in handy in helping me work on my Tic tac toe game I am making with Kixwinvb. I was working on it last night, I have to board all setup and the command buttons able to click to pick which slot you want. Then about that time My wife come and said can I use the computer, you have had it for a while now.Question, I have the Command button on top of a Label. When I click on the command I want to make it disappear and leave the Label box with the X or O in it. How do I make the command button dissappear after a click?
_________________________
You have at least 2 choices. Each choice changes your destiny. Choose wisely!
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 756 anonymous users online.
|
|
|