 |
|
 |
Good call Teis - changing the active configuration to 'Release' solved the problem for me.
--Bill
|
|
|
|
 |
|
 |
I switched from using MFC as a shared DLL to a static library and debug builds worked.
|
|
|
|
 |
|
 |
Santosh,
The demo source compiled with no problem with VC++6 and I found your coding and inline documentation to be very clean. Thanks much for sharing this with the world anbd the great job!
Regards,
Paul Kissel
|
|
|
|
 |
|
 |
I am a new MS Agent programmer (With VB)
I need someone to create me a character
for MS Agent, or at least all the bitmaps
for it, then ill put it together.
Thanks,
Chris
|
|
|
|
 |
|
 |
After I added ActiveX control to this demo project ,
I can't run the project because of "Assertion failed"
dialog.
Please tell me why this happens.
I think that this is because this project itself doesn't
support ActiveX control.
saru
|
|
|
|
 |
|
 |
Hello,
i've tried to integrate MS Agent into MS Access 2002. Propably i do something wrong because it don't work at all. However everything is installed propperly and the ActiveX control is also into the library.
Can someone give me a demo or a good documentated explanation that will work in Access2002 so that i can see what i doing wrong and learn out it.
Many thanks and best regards,
Robert
|
|
|
|
 |
|
 |
Compiling...
Hi
given below is the error that is generated on compiling your code
Please help me out
also what is the format of acf file, etc
i need to do speech regognition using MS agent in cpp. How do go about it
thanks
Abhishek Jain
MsAgentWrapper.cpp
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(226) : error C2065: 'UserHidViaCharacterMenu' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(310) : error C2065: 'BALLOON_STYLE_BALLOON_ON' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(313) : error C2065: 'BALLOON_STYLE_SIZETOTEXT' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(316) : error C2065: 'BALLOON_STYLE_AUTOPACE' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(319) : error C2065: 'BALLOON_STYLE_AUTOHIDE' : undeclared identifier
Error executing cl.exe.
MsAgentHelp.exe - 5 error(s), 0 warning(s)
|
|
|
|
 |
|
 |
you should download the new header files from microsoft site.
http://www.microsoft.com/msagent/dev/code/vstudio.asp#VC
Copy the files to your Visual Studio include-directory.
The sample should compile without any further error.
|
|
|
|
 |
|
 |
Compiling...
Hi
given below is the error that is generated on compiling your code
Please help me out
i need to do speech regognition using MS agent in cpp. How do go about it
thanks
Abhishek Jain
MsAgentWrapper.cpp
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(226) : error C2065: 'UserHidViaCharacterMenu' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(310) : error C2065: 'BALLOON_STYLE_BALLOON_ON' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(313) : error C2065: 'BALLOON_STYLE_SIZETOTEXT' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(316) : error C2065: 'BALLOON_STYLE_AUTOPACE' : undeclared identifier
C:\csidc\speech\MSAgentCtrl_src\MsAgentWrapper.cpp(319) : error C2065: 'BALLOON_STYLE_AUTOHIDE' : undeclared identifier
Error executing cl.exe.
MsAgentHelp.exe - 5 error(s), 0 warning(s)
|
|
|
|
 |
|
 |
Does anyone knows where to change ??
I meet the same errors with Abhishek Jain !!
|
|
|
|
 |
|
 |
Where can i get the Agent Interface Files, i need to build fine.
|
|
|
|
 |
|
 |
Hi,
How to know whether or not MS Agent is installed?
-BHKien
|
|
|
|
 |
|
 |
How do I add buttons and hyperlinks to baloon text like in Office Assistant? Any ideas on how to do this?
Thanks.
I'm an alien, I'm an alien
it's a beautiful life....
Bush
|
|
|
|
 |
|
|
 |
|
 |
I'm using class CMsAgentWrapper by this way ( on button click ) :
void CAboutDlg::OnOK()
{
CMsAgentWrapper myAgent;
myAgent.Create(1001, this);
if ( myAgent.LoadCharacter( _T("Robby.acs")) )
{
myAgent.ActivateApp(TRUE);
myAgent.SetStopBeforePlay(FALSE);
myAgent.Show();
myAgent.Move(800, 600);
myAgent.Speak(_T("Nice to meet You!"), FALSE, FALSE, FALSE, TRUE);
// *************************************************************
// *** here I need wait until Agents request queue is empty ****
// *************************************************************
myAgent.Hide();
myAgent.Exit();
}
}
Frantisek Urbanek
|
|
|
|
 |
|
 |
i use yourCMsAgentWrapper in my own application just as you use,but VC compiler tell me CMsAgentWrapper is undefined and i use the undefined class? How to do with this error?
when i delete all the CMsAgentWrapper object ,the compiler give out more than 100 link errors.
benben
|
|
|
|
 |
|
 |
I think it is basically a simple VC ++ compiler error, I believe u have not included the header and source files properly.
Just check that out. It is surely a very simple error generating all those 100 errors
|
|
|
|
 |
|
 |
Hi,
very nice work - but how can i get userinput ? I dont see how i can do this ...
1. how to show a edit control in the balloon to get a text entered from user ?
2. how can i show a OK / Cancel button in the balloon ?
thanks
Dan
|
|
|
|
 |
|
 |
Found it here:http://www.codeproject.com/KB/COM/msagent.aspx
Unfortunately, it's more complicated than I had imagined
/Fredrik
|
|
|
|
 |
|
 |
This is just a note to a slight addition that was required (at least for my installation - NT4 SP6)
Thanks for the sample.
With the download from MS as of 25 Sept 2000 I was missing the declarations for:
// Additions for Agent Variables???? added by MAB
const unsigned short NeverShown = 0;// Character has not been shown.
const unsigned short UserHid = 1; //User hid the character with the character's taskbar icon pop-up menu or using speech input.
const unsigned short UserShowed = 2; //User showed the character.
const unsigned short ProgramHid = 3; //Your application hid the character.
const unsigned short ProgramShowed = 4; //Your application showed the character.
const unsigned short OtherProgramHid = 5; //Another application hid the character.
const unsigned short OtherProgramShowed = 6; //Another application showed the character.
const unsigned short UserHidViaCharacterMenu = 7;// User hid the character with the character's pop-up menu.
const unsigned short UserHidViaTaskbarIcon = UserHid;
const unsigned short BALLOON_STYLE_BALLOONON = 0x00000001;// The balloon is supported for output.
const unsigned short BALLOON_STYLE_SIZETOTEXT = 0x0000002;// The balloon height is sized to accommodate the text output.
const unsigned short BALLOON_STYLE_AUTOHIDE = 0x00000004;// The balloon is automatically hidden.
const unsigned short BALLOON_STYLE_AUTOPACE = 0x00000008;// The text output is paced based on the output rate.
// End AGent
These are in the documentation but I did not find values declared so I added them to the Agent.h header
|
|
|
|
 |
|
 |
The following uses for Microsoft Agent version 2.0 are currently royalty-free. They are subject to the End-User License Agreement displayed when the Microsoft Agent installation file is run, and do not require a distribution license:
1. You can automatically cause Microsoft Agent to download from the Microsoft site by including the CLSID for Microsoft Agent in an HTML <OBJECT> tag on one of your site's pages, as described on the Download Page for Developers.
2. You can automatically cause the speech engines to download from the Microsoft site by including their CLSIDs in an HTML <OBJECT> tag on one of your site's pages, as described on the Download Page for Developers, provided that these engines are only downloaded and installed for use with Microsoft Agent.
3. You can load Microsoft's designated characters or images from the Microsoft Web site in your script code using the Microsoft Agent Load and Get (Prepare) methods, as described on the Character Data page.
However, to add or include Microsoft Agent and any of its components to or with an application, or post Microsoft Agent and any of its components on a server, or distribute Microsoft Agent and any of its components using other electronic media, you must first obtain a distribution license for Microsoft Agent. The license does not include the Microsoft Agent Character Editor or the Microsoft Linguistic Sound Editing Tool. The Microsoft Agent character files and their images and designated speech engines cannot be used or distributed without Microsoft Agent and only as part of a Microsoft Agent-enabled page or application.
|
|
|
|
 |
|
 |
Thanks Paul,
I think every one should go through this
note before considering any deployment of
the control
Regards
Santosh Rao
|
|
|
|
 |
|
 |
Where can i get them ????
|
|
|
|
 |