PC Review


Reply
Thread Tools Rate Thread

Create Custom Inputmethod

 
 
=?Utf-8?B?VC4gU2NoaXNzbGVy?=
Guest
Posts: n/a
 
      9th Jun 2005
I found a sampel to create a custom input method for mobiel
devices(http://www.pocketpcdn.com/articles/im.html) , but it is written in
Microsoft eMbedded Visual C++ 3.0. I want to do the same with .Net Compact
Framework 2.0 in C#. Has anybody a sample or a hint how to do this?

Thanks
Thomas


 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      9th Jun 2005
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.

"T. Schissler" <(E-Mail Removed)> wrote in message
news:4619E56A-AA3C-43C5-8483-(E-Mail Removed)...
>I found a sampel to create a custom input method for mobiel
> devices(http://www.pocketpcdn.com/articles/im.html) , but it is written in
> Microsoft eMbedded Visual C++ 3.0. I want to do the same with .Net Compact
> Framework 2.0 in C#. Has anybody a sample or a hint how to do this?
>
> Thanks
> Thomas
>
>



 
Reply With Quote
 
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
Posts: n/a
 
      9th Jun 2005
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.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"T. Schissler" wrote:

> I found a sampel to create a custom input method for mobiel
> devices(http://www.pocketpcdn.com/articles/im.html) , but it is written in
> Microsoft eMbedded Visual C++ 3.0. I want to do the same with .Net Compact
> Framework 2.0 in C#. Has anybody a sample or a hint how to do this?
>
> Thanks
> Thomas
>
>

 
Reply With Quote
 
cute_eye
Guest
Posts: n/a
 
      21st Aug 2008
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...

"Paul G. Tobey [eMVP]" wrote:

> 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.
>
> "T. Schissler" <(E-Mail Removed)> wrote in message
> news:4619E56A-AA3C-43C5-8483-(E-Mail Removed)...
> >I found a sampel to create a custom input method for mobiel
> > devices(http://www.pocketpcdn.com/articles/im.html) , but it is written in
> > Microsoft eMbedded Visual C++ 3.0. I want to do the same with .Net Compact
> > Framework 2.0 in C#. Has anybody a sample or a hint how to do this?
> >
> > Thanks
> > Thomas
> >
> >

>
>
>

 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      21st Aug 2008
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

"cute_eye" <(E-Mail Removed)> wrote in message
news:764CC7E2-9AFA-483D-93DB-(E-Mail Removed)...
>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...
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> 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.
>>
>> "T. Schissler" <(E-Mail Removed)> wrote in message
>> news:4619E56A-AA3C-43C5-8483-(E-Mail Removed)...
>> >I found a sampel to create a custom input method for mobiel
>> > devices(http://www.pocketpcdn.com/articles/im.html) , but it is written
>> > in
>> > Microsoft eMbedded Visual C++ 3.0. I want to do the same with .Net
>> > Compact
>> > Framework 2.0 in C#. Has anybody a sample or a hint how to do this?
>> >
>> > Thanks
>> > Thomas
>> >
>> >

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a collection of custom classes in another custom class kagard Microsoft Access 3 12th Jun 2011 07:57 PM
Custom Views - Why am I unable to create a custom View? Mike C Microsoft Excel Discussion 1 5th Sep 2008 08:47 PM
In Outlook, how do I create and add a custom command to custom men =?Utf-8?B?Q3JlYXRlIGFuZCBhZGQgY3VzdG9tIGNvbW1hbmQg Microsoft Outlook Discussion 0 9th Nov 2007 01:08 AM
How to create custom profiles for windows Movie Maker(with custom bitrate, FPS, resolution) mistral Windows XP MovieMaker 2 5th Jan 2007 05:50 PM
Mini Problem: A custom mail-form create a custom task-form Christoph Sbach Microsoft Outlook Form Programming 4 5th Nov 2003 04:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 AM.