Can you help me create B4P lib?

Discussion in 'Questions (Windows Mobile)' started by conf, Jun 4, 2007.

  1. conf

    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
     

    Attached Files:

  2. Erel

    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.
     
  3. conf

    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.
     
  4. Erel

    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.
     

    Attached Files:

  5. conf

    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 :)
     
  6. Erel

    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.
     
  7. conf

    conf Member

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

    What's the problem ? Anybody help me ?
     
  8. Cableguy

    Cableguy Expert Licensed User

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