Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've download Input Method Editor sample project from MSDN.
It is a project that support Chinese input by using the Text Service Framwork(TSF)

And it can be run with creating a setup project for your IME DLL(using install shield).

My question is how can i debug this project? because it is not run with visual studio it makes me crazy..

when i click VS' debug button i got message "sampleIME.dll" is not a valid win32 application

plz help me.. below is sampleIME project download link


https://code.msdn.microsoft.com/windowsdesktop/Input-Method-Editor-IME-b1610980

What I have tried:

I couldn't do anything... i just added local logging module in that project but i really need to debugging
Posted
Updated 31-May-18 22:41pm
v3
Comments
Richard MacCutchan 1-Jun-18 4:43am    
Your sample builds into a dynamic link library, so you need an executable to run it. Check the instructions on the MSDN page.

1 solution

Important: You must build the dll in debug mode and use the TRACE macro.

I know different options sorted by usability:

a) in Visual Studio, set the exe in the Debug Settings as Command. This launches the app and the dlls also are debugable.

b) use Debug View

c) last option is to write debug output into a text file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900