Pregunta

Is there any Delphi unit available corresponding msctf.h header file from Platform SDK?

I have checked Delphi 2010 source folder, but it seems Delphi doesn't come with that.

Thanks in advance for your time!

¿Fue útil?

Solución

You can use Visual Studio's MIDL to generate a type library (.tlb) from the .idl file and then use Delphi's tlibimp.exe to generate the Delphi interface unit.

The problem with the original .idl is that it doesn't contain a library statement so I added it manually (otherwise MIDL wouldn't generate the .tlb).

See if the result helps you (you may still need to fix some parts by hand).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top