Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed 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, 19 views)
Reply With Quote
  #2 (permalink)  
Old 06-04-2007, 03:47 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,820
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: 2,820
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, 33 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: 2,820
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: 1,112
Default

This lib is great.....too bad is a viet dedicated tts....
any english lib (EN TTS) wrappable out there?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No way to create a recurring appointment? kolbe Questions & Help Needed 2 07-02-2008 06:43 PM
Create an array of structures serge Questions & Help Needed 1 06-21-2008 07:55 PM
How to create a Basic4ppc library Erel Code Samples & Tips 103 05-31-2008 01:43 PM
How to create a new appointment willisgt Questions & Help Needed 2 05-15-2008 08:21 PM
how to create a database ? gjoisa Questions & Help Needed 27 02-14-2008 05:38 PM


All times are GMT. The time now is 03:37 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0