Hi, all,
[I surrently working on Windows XP SP2, OO version 1.9.79, SDK version
1.1]
I am writting some Add-in code for Calc to call my DLL/.so written in
C..I have a few questions below:
1. For "short" type parameters in my C code, if I use "short" in IDL
file, sal_Int16 in the cpp code, then the function will not be able to
show in Calc's function list...i.e., the registration fails (only for
this perticular function which has type "short"). If I change it to
long/sal_Int32, the function will show in the list.
Is this a bug in the SDK?
2. How can I set an input parameter as [optional]? i.e., by default, I
want all the input parameter to be 0. Currently all params are shown as
"required", i.e., if even one input parameter is missing, then the
function would return "Err:504".
Best Regards,
Xutuan
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]