Create Custom Inputmethod

  • Thread starter Thread starter Guest
  • Start date Start date
The API for writing a Software Input Panel uses COM (you implement objects
according to COM standards). You cannot create COM objects in .NET CF 1.0,
so you can't use the released framework or tools. I could be wrong, but I
don't think that you'll be able to do this in 2.0, either. What's you
reason for not simply taking the code in C++ and using it? Seems like you'd
be done with your SIP before you even got started with .NET CF 2.0...

Paul T.
 
I don't think it's possible even with CF v2.
You can not expose a managed code as a COM component to the native world.
 
I am writing a new custom input method in platform builder itself. I have
copied all the files from msim (default IM) and changed the class ID, made an
entry in the project.reg files for specifying my input methods'd Dll name, I
have also change an entry in the project.bib file so that it is taken as part
of the susytem module. Everhthing is fine, but the break point is not hitting
my DllGetClassObject which is exposed by my Dll, and the OS is supposed to
call. It is calling the default/large IM's counter part instead. Pls help me.
Pls do not ask me why I am using the msim as it is!!!!...fisrt let me get rid
of this problem...then I will customize it...:)
 
This is a *compact framework* group, so asking here about native stuff and
Platform Builder is unlikely to get you a good response to the "why" of the
behavior you're seeing (and it's probably because you've not altered the
SOURCES file of the cloned code).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
Back
Top