|
| LoadCmdFromResource fails in Vista |
 |
Tue, 11 Mar 2008 02:09:17 -070 |
I am having a problem with LoadCmdFromResource or LoadCmdFromFile with
an InProcRecognizer engine in Vista. The LoadCmdFromResource works if
it is a SharedRecognizer in Vista. LoadCmdFromResource works well in
either in XP. I am not using LoadCmdFromResource in a DLL, it is a
simple exe just like the coffee example that comes with SDK.
What might be causing the problem?
|
| Post Reply
|
| Re: LoadCmdFromResource fails in Vista |
 |
Tue, 11 Mar 2008 02:15:56 -070 |
On Mar 11, 2:09 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
> I am having a problem with LoadCmdFromResource or LoadCmdFromFile with
> an InProcRecognizer engine in Vista. The LoadCmdFromResource works if
> it is a SharedRecognizer in Vista. LoadCmdFromResource works well in
> either in XP. I am not using LoadCmdFromResource in a DLL, it is a
> simple exe just like the coffee example that comes with SDK.
>
> What might be causing the problem?
>
> Thank You
Just to add the HRESULT value returned by LoadCmd function is
-2147200942 if that is of any help to you.
|
| Post Reply
|
| Re: LoadCmdFromResource fails in Vista |
 |
Tue, 11 Mar 2008 02:34:54 -070 |
On Mar 11, 2:15 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
> On Mar 11, 2:09 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
>
> > I am having a problem with LoadCmdFromResource or LoadCmdFromFile
with
> > an InProcRecognizer engine in Vista. The LoadCmdFromResource works if
> > it is a SharedRecognizer in Vista. LoadCmdFromResource works well in
> > either in XP. I am not using LoadCmdFromResource in a DLL, it is a
> > simple exe just like the coffee example that comes with SDK.
>
> > What might be causing the problem?
>
> > Thank You
>
> Just to add the HRESULT value returned by LoadCmd function is
> -2147200942 if that is of any help to you.
>
> Thank You
The problem has been solved. The problem was related to the grammar
language, although I don't know why it worked in Shared Engine
instance. The problem was being caused because of Vista engine being a
UK English and grammar being a US English grammar.
|
| Post Reply
|
| Re: LoadCmdFromResource fails in Vista |
 |
Tue, 11 Mar 2008 03:08:45 -070 |
On Mar 11, 2:34 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
> On Mar 11, 2:15 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
>
>
>
>
>
> > On Mar 11, 2:09 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
>
> > > I am having a problem with LoadCmdFromResource or LoadCmdFromFile
with
> > > an InProcRecognizer engine in Vista. The LoadCmdFromResource
works if
> > > it is a SharedRecognizer in Vista. LoadCmdFromResource works well
in
> > > either in XP. I am not using LoadCmdFromResource in a DLL, it is
a
> > > simple exe just like the coffee example that comes with SDK.
>
> > > What might be causing the problem?
>
> > > Thank You
>
> > Just to add the HRESULT value returned by LoadCmd function is
> > -2147200942 if that is of any help to you.
>
> > Thank You
>
> The problem has been solved. The problem was related to the grammar
> language, although I don't know why it worked in Shared Engine
> instance. The problem was being caused because of Vista engine being a
> UK English and grammar being a US English grammar.
>
> Thank You- Hide quoted text -
>
> - Show quoted text -
Now that the engine is up and running and also the grammar being
loaded there is another problem in Vista. No events are being fired. I
have called SetInterest function with SPFEI_ALL_EVENTS. Still no event
is fired in InProc mode. Again this is a problem in Vista only.
|
| Post Reply
|
| Re: LoadCmdFromResource fails in Vista |
 |
Tue, 11 Mar 2008 03:39:35 -070 |
On Mar 11, 3:08 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
> On Mar 11, 2:34 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
>
>
>
>
>
> > On Mar 11, 2:15 pm, nIgHtCrAwLeR <pranav...@gmail.com> wrote:
>
> > > On Mar 11, 2:09 pm, nIgHtCrAwLeR <pranav...@gmail.com>
wrote:
>
> > > > I am having a problem with LoadCmdFromResource or
LoadCmdFromFile with
> > > > an InProcRecognizer engine in Vista. The LoadCmdFromResource
works if
> > > > it is a SharedRecognizer in Vista. LoadCmdFromResource works
well in
> > > > either in XP. I am not using LoadCmdFromResource in a DLL,
it is a
> > > > simple exe just like the coffee example that comes with
SDK.
>
> > > > What might be causing the problem?
>
> > > > Thank You
>
> > > Just to add the HRESULT value returned by LoadCmd function is
> > > -2147200942 if that is of any help to you.
>
> > > Thank You
>
> > The problem has been solved. The problem was related to the grammar
> > language, although I don't know why it worked in Shared Engine
> > instance. The problem was being caused because of Vista engine being
a
> > UK English and grammar being a US English grammar.
>
> > Thank You- Hide quoted text -
>
> > - Show quoted text -
>
> Now that the engine is up and running and also the grammar being
> loaded there is another problem in Vista. No events are being fired. I
> have called SetInterest function with SPFEI_ALL_EVENTS. Still no event
> is fired in InProc mode. Again this is a problem in Vista only.
>
> Thank You- Hide quoted text -
>
> - Show quoted text -
Another Update. With InProc recognition the application does not get
|
| Post Reply
|
|
|
|
|
|
|
|
|
|