Re: Can't get machine ID


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on April 18, 2006 at 09:49:33:

In Reply to: Can't get machine ID posted by Stephen Auerbach on April 18, 2006 at 09:09:39:

Steve:

Instead of debugging your code, here's some code that I know works:

GETID: format CAID$

SS.SessionNum = asc(sub(pstat(PARTITION$),60,1))-1
cosDOSRWFunc$ = cosCOSCMISCFUNC$
cosFuncResult$ = inteld(TRUE)
SessCAID$ = MF.SESSIONID.FUNC$ + intel(SS.SessionNum)
IDLen = len(CAID$)
dosrw(cosDOSRWFunc$, cosFuncResult$, IDLen, GETID)

bb


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]