CompuServe Thread

#ModifyProp HELP

3 messages in this thread
#69130From: David OldisOct 10, 1989 12:47 PM
Ello again… What byte sizes does the ModifyProp() command need for changing HorizPot,VertPot,HorizBody,VertBody? Cuz in the command it says that these need to be 1 byte size in length, but in the PropInfo Structure the sizes need to be 2 bytes. Or does the ModifyProp() command have NOTHING to do with the PropInfo Structure? Thanx… David
#69171From: Bob RakoskyOct 10, 1989 7:42 PM
David, Calling the ModifyProp() and/or NewModifyProp() functions from a C program require that all arguments be 32-bit (long) values. Calling them from an Assembly program also require that 32-bit values be passed (since each argument is in a separate register). However, the functions are documented in the AutoDocs (which should be treated as semi-gospel) indicate that the Pot and Body values are USHORTs, which means they're unsigned 16-bit values. They're definitely not 1-byte parameters (8-bit). Hope this helps….BobR
#69236From: David OldisOct 10, 1989 11:21 PM
Bob… Thanx for the reply. I guess I'll go for what feels logical and forget about what the book says. David