Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Can you help me create B4P lib?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-04-2007, 07:31 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default Can you help me create B4P lib?

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
Attached Files
File Type: zip TTS_WCE.zip (19.7 KB, 32 views)
Reply With Quote
  #2 (permalink)  
Old 06-04-2007, 03:47 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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.
Reply With Quote
  #3 (permalink)  
Old 06-04-2007, 04:48 PM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

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.
Reply With Quote
  #4 (permalink)  
Old 06-04-2007, 07:21 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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.
Attached Files
File Type: zip TTSWrapper.zip (1.3 KB, 44 views)
Reply With Quote
  #5 (permalink)  
Old 06-05-2007, 04:33 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

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
Reply With Quote
  #6 (permalink)  
Old 06-05-2007, 04:51 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I didn't hear anything too.
The wrapper is very simple. I think that there is a problem with the native dll.
Reply With Quote
  #7 (permalink)  
Old 06-05-2007, 06:08 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

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

What's the problem ? Anybody help me ?
Reply With Quote
  #8 (permalink)  
Old 08-20-2007, 07:41 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

This lib is great.....too bad is a viet dedicated tts....
any english lib (EN TTS) wrappable out there?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No way to create a recurring appointment? kolbe Questions (Windows Mobile) 4 12-19-2010 04:15 PM
how to create a trial program ? gjoisa Questions (Windows Mobile) 5 06-23-2008 11:16 AM
Create an array of structures serge Questions (Windows Mobile) 1 06-21-2008 07:55 PM
How to create a new appointment willisgt Questions (Windows Mobile) 2 05-15-2008 08:21 PM
how to create a database ? gjoisa Questions (Windows Mobile) 27 02-14-2008 05:38 PM


All times are GMT. The time now is 03:32 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0