yes, thnx, but I wasn't labeling it property!! but now I am having a new problem!.
I am trying to activate the IR beam, but I am having problems with the syntax,
in the tutorial it says to use:
In a nutshell, here's how beaming works. On the sender's side:
1. user initiates beaming by tapping a button, menu item, shortcut...
2. sender initializes an ExgSocketType structure with the right values (creator ID, packet size, description, file name...)
3. sender calls ExgPut() passing the socket as an argument
4. sender calls ExgSend() passing the socket and data packet as arguments
5. sender checks return code and lets user know about beaming status
6. sender calls ExgDisconnect() passing the socket as an argument
how would a proper sequence work(look) with just the basics and no variables or feedback loops(>?
(i think i understand that there are 2 sends that happen, one with the filename+size, then after acceptance, the file bytes)
but I tried:
#define socket ('DrDo', 56, "description", "filename.txt")
ExgSocketType socket;
ExgPut(&socket)
ExgSend(&socket, &record, sizeof(record), &err) // <---err gives me an error so I set it to 0!
ExgDisconnect(&socket, err) // <---+
and it crashes palm(or locks up)
maybe my problem is that socket sets up variables / socket.ID / socket.data / socket.size , , , ect,.. but in send commands there is only socket (no dots) is that a way to call all the functions?(do they stay in order?)
Palm Tutorial Beaming