Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Statically-linked MFC has trouble loading string r
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Statically-linked MFC has trouble loading string r

 Post Reply Post Reply
mikeblas View Drop Down

Joined: 29 June 2017
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mikeblas Quote  Post ReplyReply Direct Link To This Post Topic: Statically-linked MFC has trouble loading string r
    Posted: 18 December 2018 at 7:11pm

We have a statically-linked MFC application that uses CodeJock ToolkitPro. After upgrading from 18.3 to 18.6, I find that some of my applications don't load. In release builds, they crash. In debug builds, they pitch an exception because an untitled MFC doc/view document can't load the AFX_IDS_UNTITLED string resource.

I've debugged the issue pretty deeply, and I believe this problem to be caused by the upgrade to 18.6. Against this build, my application ends up with two string tables: one that's neutral, and one that's US/English. When building against 18.3, I have only one US/English string table. The desired  AFX_IDS_UNTITLED string resource is in the neutral string table, and MFC can't find it because it's looking for US/English strings (by design).

I see that the release notes include this item: "Inability to use some MFC resources in static configurations fixed for all localized modules"

Where can I read more about that issue? It sounds like it's directly related to the issue that I'm experiencing.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.094 seconds.