[NTLK] Newton protocol

Moshe Waisberg pnemonic at gmail.com
Tue Jun 8 09:39:18 EDT 2010


I am trying to write a Newton connection library.
Problem is that when I try to call a global function (command 'cgfn'), I
receive error -48006 and Newton shows alert "Your model of Newton cannot
connect with this version of the desktop application".

Spec says:
'cgfn'
length
function name symbol
args array

I am writing the command a follows:
"newtdockcgfn" followed by [0x02 (NS version), 0x07 (kSymbol), function name
length, function name bytes, 0x05 (kPlainArray), 0x00 (no array entries)]



More information about the NewtonTalk mailing list