Speech SDK and copy protection

  • Thread starter Thread starter Atz
  • Start date Start date
A

Atz

Hi!

I'm writing some program for voice commands ( for opening some programs (
word, excel )), i
have some problems in this part.

I'v downloaded MS Speech SDK for VC++6 but im using .NET.

Q. 1 .) Can i use this MS speech SDK or must i use the beta version for .NET
?
I'm writing the code in MFC (under VC++ .NET), thefore i think
that i can use the old
version...
---------
Copy protection:

Well, i have spend sooome time for writing this program and, well... i want
to make some kind of copy protection.

Scenario:

1.) Small Client / Server program who can check ( thru internet ) the number
of installed programs ( on several computers ).

2.) Every shiped programm has his own ID. This id should be the same as the
ID on the server part of the client/server applicaton. But there's no help
for me if someone will make copy of the whole program or if someone will
tell the registration ID to someone else.

Thefore i found some other solution :--). Unique computer name or MAC
adress.

After the user has install the program for voice commands i should start
some service ( which will be auto started everytime on computer boot). User
will make connection to internet, service will send the computer ID and this
ID will be writen into server part of the client/server app. Server part
will count the number of installed services and if the number
is greater then 5 the client service part ( the 6. one ) should start some
programs or delete the instaled voice commader.

WOOOOOOOUUUUUUUU

What i need:

0.) How to write a service which will be started on computer boot ?

1.) How to get MAC adress (maybe just computer name) of the computer so that
i can find how many copies are instaled ?? The platform is win 2000 / xp.

2.) How to send this adress or ID to server part ?

On the server part will be php script. This script shoud recognize the ID
sended from the client computer.

OK, that's it.

The part from 0 to 2 is a bit tricky for me ( i will use VC++ for this
part ), so if someone can take some time to read this and to write some
answers, i can say nothing else accept T H A N X :--).
 
Atz said:
Q. 1 .) Can i use this MS speech SDK or must i use the beta version for
..NET

The Speech Appliations SDK for .Net just came out of the beta cycle. It
requires IIS and ASP.NET and uses SALT markup.

On the pther hand the SAPI SDK v5.1 is based on COM and provides an
Automation interface for the likes of VB and an COM w/ATL interface to be
used in C++.
Well, i have spend sooome time for writing this program and, well... i want
to make some kind of copy protection.

I suggest that instead of building your own solution you take a look at
products for Armadillo, CryptoKey, Hasp, Sentinel etc.
0.) How to write a service which will be started on computer boot ?

Download and install the Platform SDK. Navigate to this subdirectory:

Samples\winbase\Service

There you will find the skeleton of a service.
1.) How to get MAC adress (maybe just computer name) of the computer
http://support.microsoft.com/?id=118623

2.) How to send this adress or ID to server part ?

With COM, DCOM, Named Pipes, Sockets, Mail slots, Windows messages, shared
memory, shared files, whatever is your pleasure ...

Regards,
Will
 
Hi !

Tell my , do you know where can i find some tutorials for opening a program
( like notepad )thru voice command. All i can find are the tutorials on how
to use voice commands in MS Word ... And all i need is the way how to start
a program with let's say : "Open Notepad"...
command..

Anyway , thanx for the given answers !!
 
Atz said:
Hi !

Tell my , do you know where can i find some tutorials for opening a program
( like notepad )thru voice command. All i can find are the tutorials on how
to use voice commands in MS Word

Where have you looked?

.... And all i need is the way how to start
a program with let's say : "Open Notepad"...
command..

Anyway , thanx for the given answers !!

Did you look at the Coffee* samples in the SDK (SAPI 5.1)?

Sarat Venugopal
www.huelix.com
 
Hi !

Where have you looked?
*** Microsoft sites, CodeGuru Sites ...
All those examples are for voice commands under MS Word and none of them
shows how to
open / close some program.

Did you look at the Coffee* samples in the SDK (SAPI 5.1)?
*** Yes. This is the part that im trying now. But it's a bit tricky to
understand...


Do you have some examples or tutorials, where can a take a look ?


Thanx in advance
 
Back
Top