Can you help me create B4P lib?

conf

Member
I have a lib (.dll file) but not the source code. Please help me create (wrap) a B4P lib (view the attach)

The function in C/C++ syntax:

- int VietTTS(char*s)
- int VietUniTTS(wchar_t*s)
- bool VietTTSStop()

Thank you very much :D
 

Attachments

Erel

Administrator
Staff member
Licensed User
First, I can't open the zip file (it says that the file is corrupted).
It is easy to use .Net dlls, as this is a native dll it will be more complicate.
If it wasn't compiled with EVC it will not be possible to use it from a device.
 

conf

Member
Thank Erel,

I zip file with WinRar (.rar file) but forum only accept .zip so I change the extension to .zip, please change back to .rar and unzip.
Please check again. Thank you so much.
 

Erel

Administrator
Staff member
Licensed User
I've attached the wrapper.
It wraps the second and the third functions (all strings are unicode on the WM OS).
You should put the original dll in the same folder.
 

Attachments

conf

Member
Thank Erel so much,

I put original dll in same folder, it work but I can't hear anything (this lib is text-to-speech). Can you give me example code? Please please :)
 

Erel

Administrator
Staff member
Licensed User
I didn't hear anything too.
The wrapper is very simple. I think that there is a problem with the native dll.
 

conf

Member
Original dll is ok, I have a program with original dll and it work.

What's the problem ? Anybody help me ?
 

Cableguy

Expert
Licensed User
This lib is great.....too bad is a viet dedicated tts....
any english lib (EN TTS) wrappable out there?
 
Top