Skip to content

Commit f1375e1

Browse files
committed
Limitations
Detail situation which haven't been patched yet (Return value from GetValue)
1 parent 53559db commit f1375e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ See examples in :
121121
* [arthur.cpp](https://gitlab.isb-sib.ch/itopolsk/captain-bol/blob/master/xenobol/src/arthur.cpp)
122122
* [analyst.cpp](https://gitlab.isb-sib.ch/itopolsk/captain-bol/blob/master/xenobol/src/analyst.cpp)
123123

124+
## Limitations
125+
126+
Currently, only the internal function [`ExtractArgument`](https://github.com/DrYak/disphelper/blob/master/single_file_source/disphelper.c#L589) which handles manipulation of method call parameters has been patched.
127+
128+
The function [`dhGetValue`](https://github.com/DrYak/disphelper/blob/master/single_file_source/disphelper.c#L295) which handles retrieving the return value with the user friendly format string and pointer hasn't been patched yet, and thus doesn't handle the `l`,`ll`,etc. lenght specifier.
129+
130+
It should be possible to replicate the work, but **beware** that currently, DispHelper API defines `%e` as a `double *` (like `printf` does), not as a `float *` (as both `scanf` and our patch does). Changing this behaviour can potentially cause legacy code breakage !!!
131+
124132
## BSTR
125133

126134
This isn't part of the modification done on DispHelper, but might comme handy when handling OLE/COM objects :

0 commit comments

Comments
 (0)