SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    May 2002
    Location
    France
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dll Call with SILK INTL

    Hi everyone,
    I'm having pb using the dll calls with SILK International(Though I have no problem with the "standard" SILK)
    I read in a post that it was due to SILK passing unicode string to dlls.
    Is there anyway to make it work in both cases?? (like an option/piece of code that tells silk not to pass multibyte strings to those dlls?)
    That pb occurs with any dll call (home-made or win dll such as kernel32)

    If anyone ever had this pb any help is gladly welcome )

    Rascal

    ------------------

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dll Call with SILK INTL

    wrap the dll in a function. Call the unicode version if running on a multibyte o/s and the ansi version not.

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    Junior Member
    Join Date
    May 2002
    Location
    France
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dll Call with SILK INTL

    ok great...thx for the quick reply )

    i just noticed any win dll fonction had aliases like "functionA" and "functionW" that can be used...switching to the "functionW" in my silk dll declaration makes it work fine with INTL.

    Is it a good guess to say the W stands for Wrapped?)...in any case i think I'll have to give the dev the home-made dlls to "wrap" them and expose both aliases for me..

    Thx again for the answer

    ------------------

  4. #4
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dll Call with SILK INTL

    actually the W stands for wide

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:14 AM.

Copyright BetaSoft Inc.