On 02.07.2016 08:22, Sponge Jhan wrote:
> Hi, list
>
> I try to use ITfInputProcessorProfiles COM interface with g++ 5.3.0, the 
> latest version mingw-w64-install.exe currently provides.
> I compile the code in the attatched file by:
> g++ code.cpp -lole32 -loleaut32 -lmsctf
>
> However, I get the following linker errors:
> C:\DOCUME~1\user\LOCALS~1\Temp\ccTvn2By.o:code.cpp:(.text+0x32): undefined 
> reference to `IID_ITfInputProcessorProfiles'
> C:\DOCUME~1\user\LOCALS~1\Temp\ccTvn2By.o:code.cpp:(.text+0x49): undefined 
> reference to `CLSID_TF_InputProcessorProfiles'
> collect2.exe: error: ld returned 1 exit status
>
> Where can I find the two symbols? I think -lmsctf helps, but it doesn't.
> I also try 6.1.1 and 7.0.0 under dongsheng-daily/ directory, and they give me 
> the same errors.
>
> Please tell me how to solve this.
> Thanks! Any response will be appreciated.

-luuid

Cheers,
Jacek

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to