I'm writing a library that uses printf style format identifiers to identify var arg types. Currently I've got the following list of identifiers. I was wondering if anyone had any suggestions about changing any of them.
I need to add LPTSTR which will use 'T' so what should I use for SYSTEMTIME? Do you think these identifers would be obvious, it's hard to tell when I have been using them for so long.Code:'d' = 4 byte integer (should this be i) 'u' = 4 byte usigned integer 'e' = double (should this be d) 'B' = BSTR 'b' = BOOL 'v' = VARIANT 'S' = LPWSTR 's' = LPSTR 'o' = IDispatch * object 'O' = IUnknown * object (should this be U) 't' = time_t 'T' = SYSTEMTIME * (what should this be) 'D' = DATE (Variant Date) 'f' = FILETIME *
Thanks for your suggestions.



LinkBack URL
About LinkBacks


