Guest Hoa Bui Report post Posted 07/24/2015 06:09 PM How I can fix with this error? "Error 1 The command "copy C:\Program Files\VoiceGuide\System\dll\source\vgLib_SayNumbers\bin\Release\vgLib_SayNumbers.dll C:\ProjectsVgNet\bin\" exited with code 1. vgLib_SayNumbers" Share this post Link to post
SupportTeam Report post Posted 07/24/2015 08:53 PM Are you building a replacement vgLib_SayNumbers.dll for your system? It looks like an error that Visual Studio gives if you were building the vgLib_SayNumbers.dll project. To fix this error : in Visual Studio, in the Project's Properties' pages, on the 'Build Events' tab please amend or delete the 'Post-build event command line' entry. Note that after building the new vgLib_SayNumbers.dll you will need to place it in in VoiceGuide's \system\dll\ subfolder and restart the VoiceGuide service.The new vgLib_SayNumbers.dll will then be loaded in and used by VoiceGuide, and your new/amended functionality will then be available to be used from within the script designer and and the script itself. Are you adding another language or an additional type of number/date playback? Share this post Link to post
Guest Hoa Bui Report post Posted 09/09/2015 04:21 AM Yes, I want to add another language. I added new function which is built succeeded, but when I placed the new vgLib_SayNumbers.dll in VoiceGuide's \system\dll\ and restarted the VoiceGuide service, my new function was not able to use in the script designer. Share this post Link to post
SupportTeam Report post Posted 09/09/2015 04:53 AM Have you added entries for your new functions to the zSayNumberFunctionsInformation array in the vgLib_Sayumbers.dll file ? This is the array to which you need to add your entries: private SayNumber_WavGenerateFn_Details[] zSayNumberFunctionsInformation = new SayNumber_WavGenerateFn_Details[] { new SayNumber_WavGenerateFn_Details( Function_Digits, "Say the digits in the number", "Digits to be spoken" ), new SayNumber_WavGenerateFn_Details( Function_Number, "Say the number", "Number to be spoken" ), ... Then also add entries to Number_To_WavList : public string Number_To_WavList(string sDigitStringIn, string sSayNumberAs) { try { switch (sSayNumberAs) { case Function_Digits: return Digits(sDigitStringIn); case Function_Number: return Number(sDigitStringIn); ... and create relevant constants: private const string Function_Digits = "Digits"; private const string Function_Number = "Number"; ... If you can post a .ZIP of your vgLib_SayNumbers.dll project we can have a quick look at it. Share this post Link to post
Guest Hoa Bui Report post Posted 09/09/2015 05:29 AM Well, I added these entries and I uploaded my project on this link: http://www.mediafire.com/download/i40jx34f8jdmh1f/dll.zip . Share this post Link to post
SupportTeam Report post Posted 09/09/2015 10:36 AM OK, looks like reading in the details of supported functions in the .DLL does not work in current version of Script Designer. The workaround to make the Script Designer show additional names is a bit of a hack - it involves adding the additional function definitions to lib_num2vbs.vbs The Script Designer will read and shows the definitions from there - but the VoiceGuide service will call the DLL while playing the numbers to the caller. Note that only the function definitions need to be added - no functional code needs to be included in there. Please try adding this to the lib_num2vbs.vbs : '###### 'name : Digitsvn 'info : Say the digitsVN in the number 'arg1 : DigitsVN to be spoken : '###### Function Digitsvn(byval arg1) End Function and then open the Script Designer, save your script and then run VoiceGuide service and make a call into system to test. Please post vgEngine trace capturing system startup and incoming call. Share this post Link to post