Page 1 of 1 1
Topic Options
#105973 - 2003-10-15 01:58 AM WXP 16-bit issue
Jeff Rutherford Offline
Fresh Scripter

Registered: 2003-10-15
Posts: 6
Trying to execute the run command and on wxp boxes I'm getting a windows error that it can't run a 16-bit app?????
Top
#105974 - 2003-10-15 02:00 AM Re: WXP 16-bit issue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
...and your point is?
Does it run from a DOS box?
Do you run it with %comspec% /c?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#105975 - 2003-10-15 02:25 AM Re: WXP 16-bit issue
Jeff Rutherford Offline
Fresh Scripter

Registered: 2003-10-15
Posts: 6
I call out of the kix script to the following.

RUN @LDRIVE+\RPCSS_~1.exe

and I get a windows error.

I have tried;
RUN "%COMSPEC% /E:1024 /C @LDRIVE + \RPCSS_~1.exe"

AND IT DOESN'T RUN AT ALL

Top
#105976 - 2003-10-15 03:51 AM Re: WXP 16-bit issue
macIntoz Administrator Offline
Administrator
*****

Registered: 2002-11-12
Posts: 22
if you fire up console and place that line there, does it run then?
Top
#105977 - 2003-10-15 03:56 AM Re: WXP 16-bit issue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Have you tried running it from a mapped drive? Probably won't run from a UNC. I doubt this is a KiX issue.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#105978 - 2003-10-15 09:40 PM Re: WXP 16-bit issue
Jeff Rutherford Offline
Fresh Scripter

Registered: 2003-10-15
Posts: 6
Users logon and execute a logon.bat
Which calls out to the launch.kix

The original line inside of the kix script WAS;

SHELL @LDRIVE + "\RPCSS_MOAB.EXE"

This cuased a delay in returning control back to the logon.bat script so I found thr RUN command and changed it to;

RUN @LDRIVE+\RPCSS_~1.exe

It works great for all OSs except Windows XP. I was getting the "can't run 16-bit Windows Program" error. The error box was indicating an insufficient memmory error. Whats interesting is the program would run and even exit correctly but sometimes this window would popup!?!?!?!

AND, get this... it doesn't happen every time. I can logon-logoff-logon-logoff and it may or may not pop up.

So, I guess what I need to know is there a better way to RUN these calls in an XP environment from kix to prevent any 16-bit issues?

Top
#105979 - 2003-10-15 09:41 PM Re: WXP 16-bit issue
Jeff Rutherford Offline
Fresh Scripter

Registered: 2003-10-15
Posts: 6
Users logon and execute a logon.bat
Which calls out to the launch.kix

The original line inside of the kix script WAS;

SHELL @LDRIVE + "\RPCSS_MOAB.EXE"

This cuased a delay in returning control back to the logon.bat script so I found thr RUN command and changed it to;

RUN @LDRIVE+\RPCSS_~1.exe

It works great for all OSs except Windows XP. I was getting the "can't run 16-bit Windows Program" error. The error box was indicating an insufficient memmory error. Whats interesting is the program would run and even exit correctly but sometimes this window would popup!?!?!?!

AND, get this... it doesn't happen every time. I can logon-logoff-logon-logoff and it may or may not pop up.

So, I guess what I need to know is there a better way to RUN these calls in an XP environment from kix to prevent any 16-bit issues?

Top
#105980 - 2003-10-15 09:59 PM Re: WXP 16-bit issue
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4572
Loc: USA
Have you tried:

run @ldrive + "\rpcss_moab.exe"

or

run @ldrive + "\rpcss~1.exe"

or possibly

run "@ldrive\rpcss_moab.exe"
_________________________
(... better days ahead)

Top
#105981 - 2003-10-15 10:09 PM Re: WXP 16-bit issue
Jeff Rutherford Offline
Fresh Scripter

Registered: 2003-10-15
Posts: 6
Yes, all three. As a matter of fact I even tried;

RUN(@LDRIVE+\RPCSS_~1.exe)
RUN("@LDRIVE+\RPCSS_MOAB.exe")
RUN %COMSPEC% /e:1024 /c @LDRIVE+\RPCSS_~1.exe
RUN "%COMSPEC% /e:1024 /c @LDRIVE+\RPCSS_MOAB.exe"

The top two work (the app runs) but they still generate an occasional 16-bit error.

The bottom two don't even run or error. It's as if the %COMSPEC% thingy isn't working like I thought it should or my syntax is wrong.

--------------------------------

Top
#105982 - 2003-10-15 10:18 PM Re: WXP 16-bit issue
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4572
Loc: USA
quote:

RUN %COMSPEC% /e:1024 /c @LDRIVE+\RPCSS_~1.exe
RUN "%COMSPEC% /e:1024 /c @LDRIVE+\RPCSS_MOAB.exe"


hmmm... maybe it is a syntax thing on these... try these...

RUN "%COMSPEC% /e:1024 /c @LDRIVE\RPCSS_~1.exe"
RUN "%COMSPEC% /e:1024 /c @LDRIVE\RPCSS_MOAB.exe"

As Mac suggested, does this program work in XP when you just run it without KiXtart?
_________________________
(... better days ahead)

Top
#105983 - 2003-10-15 10:26 PM Re: WXP 16-bit issue
Jeff Rutherford Offline
Fresh Scripter

Registered: 2003-10-15
Posts: 6
Done, they still don't seem to run the app using the %comspec%.

Yes, the app runs everytime and without an error if it is called from a .bat file or run from a command line.

--------------

Top
#105984 - 2003-10-15 10:37 PM Re: WXP 16-bit issue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Don't know but maybe this will help:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;314495
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#105985 - 2003-10-15 10:50 PM Re: WXP 16-bit issue
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4572
Loc: USA
One other to try might be:

RUN "%COMSPEC% /e:1024 /c " + @LDRIVE + "\RPCSS_MOAB.exe"

or just remove the /e:1024.

You shouldn't have to do this, but have you tried calling your batch file that runs this program, to see what happens then?

Weird stuff...
_________________________
(... better days ahead)

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org