On 28/01/2020 16:41, Gabriel Ivăncescu wrote:
On 28/01/2020 17:34, Jacek Caban wrote:
Hi Gabriel,
On 27.01.2020 16:32, Gabriel Ivăncescu wrote:
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
dlls/vbscript/vbdisp.c | 153 ++++++++++++++++++++++++++++++++++++++++-
Could we use CreateTypeLib/CreateTypeLib2 for that?
Thanks,
Jacek
Hi Jacek,
I'm not sure, is there a way to attach an existing TypeInfo to it?
CreateTypeInfo could be used for TypeInfo.
We'll definitely need it for the FindName/IsName methods.
What's special about FindName/IsName?
Also, it seems it requires a filename, to create on disk, so I don't think it will work as we don't do that.
As far as I can see it just stores the file name so that you may (or may not) save it later.
That said, most of it is quite straightforward currently compared to the TypeInfo, except for FindName.
I tested it and it looks like ICreateTypeLib2 is exposed by native:
https://testbot.winehq.org/JobDetails.pl?Key=64042
And I'm sorry for not asking about it earlier. I assumed that we just need a customized subset of ITypeInfo, not full implementation of all related interfaces.
Thanks,
Jacek