Elementary dll question

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Elementary dll question

Post by grovecat » Wed Aug 08, 2012 8:22 am

I have made a Mac app that has a text-to-speech component using revTalk and this works as expected. When I compile a Windows version, it all works OK (under Parallels) apart from the speech. This is undoubtedly because the IDE generates a revspeech.dll external that I don't know what to do with.

This is probably very elementary but I can't find anything in the manual about it.

Any advice would be much appreciated.

TIA
Don

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Elementary dll question

Post by shaosean » Wed Aug 08, 2012 8:46 am

The revspeech.dll should either be in the same folder as the executable or in a folder called "externals" in the same folder as the executable.. The standalone engine should see it and load it (so long as it was selected in the standalone builder settings or auto-detect was selected).. Now the next questions are: what error did you get? was the error during the build cycle or when running it in Parallels? do you get the error when running on a real Windows box?

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Elementary dll question

Post by grovecat » Wed Aug 08, 2012 10:10 am

I don't get any errors. The application works OK but there is no speech generated.

The IDE builds a .exe file in a folder, and in that folder it puts another called Externals that contains the revspeech.dll. So my question really is: Should I have to do anything with the dll when I load the .exe file into my Windows environment? You said the standalone engine should see it, but the engine actually produced it.

So as you can see I am but a babe in the woods when it comes to what is underneath Windows, although I have used it for several years in the past.

Currently I have no access to a Windows box but I'll try to borrow time on someone else's machine.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Elementary dll question

Post by Klaus » Wed Aug 08, 2012 11:16 am

Hi,

standalones (Mac or Win) should work out of the box, since the standalone builder will create the neccessary file/folder structure!

So all the DLLs (at least the LiveCode DLLs, theer is still a bug with non-LC externals/DLLs NOT copied to the standalone!) are at
the correct place in a folder "Externals" in the folder where the standalone (EXE) resides.

So there must be something else going wrong on your side.
What Windows version? Does SPEECH work in the OS itself?
(No idea how to check this on a Win machine :D )


Best

Klaus

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Elementary dll question

Post by shaosean » Wed Aug 08, 2012 12:22 pm

If you post a link to a download, we can test it for you on a windows box.. i run windows 7 ultimate on an intel-based laptop..

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Elementary dll question

Post by grovecat » Thu Aug 09, 2012 1:45 am

Thanks for the responses. I have got it working now and it was all involved with folders and copying stuff to the Parallels application.

Cheers
Don

Post Reply