SRL Archive - S.M.A.R.T. Questions and Answers.

Scar Closes automatically?


Raskolnikov

2008-02-20 19:04:15

I just tried to run a script using smart. All that happened was my scar closed but no smart came up. What's wrong? I'm using Markus' way of setting up Smart. I use SetupSmart not SetupSmartEx. Help!!!

Cut em2 it

Timer

2008-02-20 19:14:54

Latest Java? Look At My Sig, Go To The TuT, (You Need JAVA 6 update 6 or what ever…)

Raskolnikov

2008-02-21 02:22:01

I updated to the latest java and it still doesn't work. I used your way but it still closes :confused:

Wizzup?

2008-02-21 03:22:29

From: Cut em2 it
I updated to the latest java and it still doesn't work. I used your way but it still closes :confused:


I want to see how you do it.
You also have to call SmartSetupEx and SetTargetDC after Smart is loaded (if stopped your script after smart first came up, like I do)

Raskolnikov

2008-02-21 11:16:43

Well, I have defined smart in smart.scar. I use this in the srl.scar:

SmartSetupEx(8, False, False);
SetTargetDc(SmartGetDC);
while not SmartReady do Wait(100);

Thanks
Cut em2 it

Raskolnikov

2008-02-21 19:57:24

Ahh, sorry for double post, but, I used Wizzup?'s tut and it worked!

Thanks,
Cut em2 it

mastaraymond

2008-02-22 13:20:03

Closed.