Page 1 of 1 1
Topic Options
#77471 - 2001-04-04 03:16 AM OLE and win9x
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Has anyone tested Kix2001's new OLE stuff on a win9x machine yet?

Sadly, I have no win9x computers to test on, and I wonder if the OLE problems on win9x have been fixed.

Bryce

------------------
kix.isorg.net

Top
#77472 - 2001-04-04 03:24 AM Re: OLE and win9x
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Bryce:

I'm testing it right now on Win9x

It looks as if Ruud has made some inroads in getting OLE working on 9x (that old problem with objects returning doo-doo addresses is gone) but now there are new issues on 9x. But they seem more in line with (similar to) the issues on the other platforms.

Shawn.

Top
#77473 - 2001-04-04 03:27 AM Re: OLE and win9x
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
[In my best Mr. Burns voice]
Ehxlent!
[/voice]

This is good to know, Thanks Shawn.


Bryce

------------------
kix.isorg.net

Top
#77474 - 2001-04-04 10:35 PM Re: OLE and win9x
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
OLE and Win9x seems to work allright as Shawn says.

The following script using Microsoft agents works on my Win95.

code:
Break On
$Err = SetConsole("minimize")
$agent_control = "agent.control.2"
$agent_name = "Merlin"
$agent_path = "%WinDir%\msagent\chars\$agent_name.acs"
$agent = CreateObject ("$agent_control" )
$agent.connected = "1"
$characters = $agent.characters
$Err = $characters.load("$agent_name","$agent_path")
$character = $characters.character("$agent_name")
$Err = $character.show
$Err = $character.play("announce")
$Err = $character.play("greet")
$Err = $character.speak("Greetings %username% !")
$Err = $character.speak("This is your logon script ... ")
$Err = $character.play("read" )
$Err = $character.speak("Checking group membership ...")
$Err = $character.play("readcontinued")
$Err = $character.play("readreturn")
$Err = $character.play("domagic1" )
$Err = $character.speak("Adding the network drives")
$Err = $character.play("domagic2")
$Err = $character.play("congratulate")
$Err = $character.speak("Success .....................")
$Done = $character.play("wave")
For $counter = 1 To 40
? $Done.status
Sleep 1
Next
$Err = $character.hide
Return

I had hoped that i could use a script like this:

code:
Break On
$Err = SetConsole("minimize")
$agent_control = "agent.control.2"
$agent_name = "Merlin"
$agent_path = "%WinDir%\msagent\chars\$agent_name.acs"
$agent = CreateObject ("$agent_control")
$agent.connected = "1"
$characters = $agent.characters
$Err = $characters.load("$agent_name","$agent_path")
$character = $characters.character("$agent_name")
$Err = $character.show
$Err = $character.play("announce")
$Err = $character.play("greet")
$Err = $character.speak("Greetings %username% !")
$Err = $character.speak("This is your logon script ... ")
$Err = $character.play("read")
$Err = $character.speak("Checking group membership ...")
$Err = $character.play("readcontinued")
$Err = $character.play("readreturn")
$Err = $character.play("domagic1")
$Err = $character.speak("Adding the network drives")
$Err = $character.play("domagic2")
$Err = $character.play("congratulate")
$Err = $character.speak("Success .....................")
$Done = $character.play("wave")
Do
Sleep 1
Until $Done.status = 0 Or $Done.status = 1 Or $Done.status = 3
; Status: 0 = Completed 1 = Failed 3 = Interrupted
$Err = $character.hide
Return

I haven't testet the last script on NT, so I don't know if it would work there.
Maybe it's something that will be fixed in the final release.

By the way is there any way of using events for COM-objects.


Erik

[This message has been edited by kholm (edited 04 April 2001).]

Top
#77475 - 2001-04-11 07:43 PM Re: OLE and win9x
Anonymous
Unregistered


Awesome! Been waiting for this =)

Top
#77476 - 2001-04-12 11:07 AM Re: OLE and win9x
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
I have never used or even seen MSAgents before. That was the coolest little wizard guy ever!

Works find on my win2k box. He sounds like Dr Sbaitso


cj

Top
#77477 - 2001-04-13 05:00 AM Re: OLE and win9x
Anonymous
Unregistered


I concur, latest KIX rocks!
Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 509 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

Generated in 0.052 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.