CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    123

    Linking for Japanese shared libraries

    I am developing an application for the Japanese market. I deliver both a _mbcs and a _unicode version.

    I was linking using the static library option. That approach resulted in English dialog control warning messages when values were out of range and English dialog titles for File > Open and File > Save (as reported by my Japanese testers).

    I switched to using the shared library option. That approach caused major runtime errors (as reported by my Japanese testers):

    a) Under WinNT 4, an alert shows up saying something
    like "Could not find a divisor 6871 from
    Dynamic Library MFC42u.DLL".

    b) Under Win95, firstly, a blank alert shows up and
    then, an error dialog follows saying something like
    "CreateProcess Error Code 1157, one of liblary files
    required to run this application could not be found".

    c) Plus other weird behavior

    So, I am between a rock and hard place.

    Any suggestions?

    Should I download Japanese mfc dlls from Microsoft (and where would that be?) and include them in the installation?

  2. #2
    Join Date
    Apr 1999
    Posts
    123
    In doing some research, I see that there are localized dlls called MFC LOC DLL. The Microsoft article says that they can be found on the Visual C++ disk under OS\System that came with the purchase.

    Do you think that static linking using MFC42JPN.dll will solve my problem? And, why isn't it on the disk (mine is the professional edition -- maybe it is only on the enterprise edition)?

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

    I found MFC42JPN.dll. For some reason, I had difficulty viewing the contents of the CD on my XP machine but could easier find it with my ME machine. Also, I was not correctly linking with l.jpn\afxres.rc. The combination of these two should go a long way towards solving my problem.
    Last edited by Bob H; November 2nd, 2002 at 09:04 AM.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured