how to use wcslen() in wine?

飞翔 gengjia.ding at qq.com
Mon Nov 15 02:39:58 CST 2010


hello, I'm developing under Wine environment.
    I'm using Unicode and I want to be able to use standard library call wcslen, but I don't know how to change my C library from the native glibc C library to the msvcrt C library.
    As it is described in "Winelib_User's_Guide":"In these cases you should use msvcrt to provide your C runtime calls. 
  import msvcrt.dll 
to your applications .spec file."
I'm using wineg++ to compile the .cpp & .h files, there is no .spec file, how can I import the DLL?
May you please help me? Thanks very much!


------------------
     Where there is a will, there is a way!
  ------------------
 丁耿佳

  Gavin-Ding
 Computer Science and Technology, South China University of Technology
 Email: gj.ding at mail.scut.edu.cn 
          gengjia.ding at gmail.com 
          gengjia.ding at qq.com
  Mailing Address: 339, Building C12, SCUT, Guangzhou Higher Education Mega Center, Guangzhou, China

 Postcode:510006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20101115/754449e8/attachment-0001.htm>


More information about the wine-devel mailing list