Page 1 of 1 1
Topic Options
#28877 - 2002-09-11 08:39 PM Win98 not Cooperating...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
I have a problem with a WIN98 PC.
This script runs fine on my XP box but but not on 98.
Both PC's have the same ver(410) of KIX, exe and dll's.
I get an error 53 for the SendMessage on the 98 box. (ERROR_BAD_NETPATH [from the help file])
code:
BREAK ON CLS
;$RC = SetConsole("hide")

$RC = SendMessage("OREGANOXP3", "CSI PC is recording an Agent.")
? @ERROR+" - "+@SERROR
$RC = WriteProfileString("P:\IT\CSI\agent.ini", "AGENT_RECORD", "|@date||@time|", "Agent_Recorded")
? @ERROR+" - "+@SERROR
GET $X
QUIT

Any Ideas??

Thanks,
Rocco

{edit: I also tried the '\\PCNAME' already}

[ 11. September 2002, 20:43: Message edited by: Rocco Capra ]
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#28878 - 2002-09-11 08:42 PM Re: Win98 not Cooperating...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
rocco, first thing that comes to mind is that win9x does not support net send (which is what I think the sendmessage uses)...

or alerter service or whatever.

can't recall cleanly as I don't have any of those, but if you search on the bb about sendmessage, say since last year you probably will find some answers.

other way is to wait for others to reply with more specific answers...
_________________________
!

download KiXnet

Top
#28879 - 2002-09-11 08:44 PM Re: Win98 not Cooperating...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
Ah, Bummer. [Frown]

Thanks,
Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#28880 - 2002-09-11 10:32 PM Re: Win98 not Cooperating...
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I think ti's the other way around. SENDMESSAGE (NET SEND) works for sending messages from Windows 9x computers. However, in order to receive a message a separate executable is required.

Can you ping to OREGANOXP3 from the Windows 9x machine and does theat one show up in the Network Neighborhood?
_________________________
There are two types of vessels, submarines and targets.

Top
#28881 - 2002-09-11 10:36 PM Re: Win98 not Cooperating...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If memory serves, Wintendos need to load an app to receive and send messages (WinPopup?).
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#28882 - 2002-09-11 10:42 PM Re: Win98 not Cooperating...
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
She served me well this time...

Topic: winpopup
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#28883 - 2002-09-11 10:44 PM Re: Win98 not Cooperating...
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, you are correct on the sending-receiving issue... did not think it to the peaces...

and les, you might see that I recalled perfectly right too...

I even posted on that topic. and I thought I have bad memory...
_________________________
!

download KiXnet

Top
#28884 - 2002-09-12 05:01 PM Re: Win98 not Cooperating...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
Thanks guys for the responses. But it is not that important so I gave up.

Using an INI file instead.

Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
Page 1 of 1 1


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

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

Generated in 0.057 seconds in which 0.024 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