path

Login to reply to this topic.
Tue, 2006-05-09 13:50
Joined: 2005-03-30
Forum posts: 206
hi,


how can i know the path from wich a recognizer isbeeing loaded... i mean in recognizer's contructor  what should i use to get the location from which the recognizer is being loaded?

thanks

guda


Tue, 2006-05-09 15:55
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: path
Recog files (i.e. those having .mdl extension) are located under \System\Recogs directory.

Tote

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Tue, 2006-05-09 16:00
Joined: 2005-03-30
Forum posts: 206
Re: path
yeah i know but what about c: or e:?


guda

Tue, 2006-05-09 16:06
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: path
It depends on where the user has installed the recog. If you don't know that, but know the name of the recog, then you have to search for the file on both drives.  Tongue

Note: system recogs are naturally on Z: drive.

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Tue, 2006-05-09 16:28
Joined: 2005-03-30
Forum posts: 206
Re: path
i am talking about my own custon recognizer... and by code i whant to know where did the user choose to install the application during instalation ... i don't what to see if it exists on both location..

guda

Tue, 2006-05-09 22:10
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: path
I see. Do you want to know only the drive letter (c: or e:) or something else, too? Have you already checked out RProcess::FileName()? I'm not sure if the default constructor of RProcess gives you a handle to the current process, but if it is, then this FileName method could be used, I guess.

Tote

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Wed, 2006-05-10 01:39
Joined: 2005-03-30
Forum posts: 206
Re: path
i tryed this... but unfortunately .. recogs are being run in some application server i gues ... and i get the name of that process filename .. other sugestions?

guda

Wed, 2006-05-10 09:07
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: path
What's the name of that process, btw?

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Wed, 2006-05-10 14:05
Joined: 2005-03-30
Forum posts: 206
Re: path
AppArcServ

guda

Wed, 2006-05-10 15:13
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: path
Pfff, then I'm afraid there is no way.  Embarassed

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Thu, 2006-05-11 11:09
Joined: 2005-03-30
Forum posts: 206
Re: path
my mistake ..  the name is EikSrv... Smiley

guda

Thu, 2006-05-11 12:53
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: path
Imho, it's the same: afaik there is no way of getting the name of the process for which recognition is taking place.  Cry

Tote

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

  • Login to reply to this topic.