Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Using XML in Localization of MFC is advisable ?

Using XML in Localization of MFC is advisable ?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++xmlquestionlearning
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    karthik Tamizhmathi
    wrote on last edited by
    #1

    In Localization process of MFC application, Instead of writing satellite DLLs, using XML files as String resource is advisable ? I think .NET is flexible to XML Resouce files. But how about MFC with XML Resource ? Kindly suggest me. Regards, Karthik M

    T 1 Reply Last reply
    0
    • K karthik Tamizhmathi

      In Localization process of MFC application, Instead of writing satellite DLLs, using XML files as String resource is advisable ? I think .NET is flexible to XML Resouce files. But how about MFC with XML Resource ? Kindly suggest me. Regards, Karthik M

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      karthikoncodeproject wrote:

      But how about MFC with XML Resource ?

      AFAIK you can load XML file as file resource, which you have to read using RESOURCE api using FindResourceEx and related function!

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

      K 1 Reply Last reply
      0
      • T ThatsAlok

        karthikoncodeproject wrote:

        But how about MFC with XML Resource ?

        AFAIK you can load XML file as file resource, which you have to read using RESOURCE api using FindResourceEx and related function!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

        K Offline
        K Offline
        karthik Tamizhmathi
        wrote on last edited by
        #3

        Thanks Gupta, But i am keen to clarify that whether the XML resource can be used to supply string resource ? and it will be a optimal solution intead of satellite DLLs ? People in localization process! kindly suggest me . Regards, Karthik M

        T 1 Reply Last reply
        0
        • K karthik Tamizhmathi

          Thanks Gupta, But i am keen to clarify that whether the XML resource can be used to supply string resource ? and it will be a optimal solution intead of satellite DLLs ? People in localization process! kindly suggest me . Regards, Karthik M

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          karthikoncodeproject wrote:

          But i am keen to clarify that whether the XML resource can be used to supply string resource

          Just by common sense, AFAIK there is no support for XML resource in MFC DLL.XML File can only be added as file resource, which you have to find and load at runtime by api's i had mentioned in my previous post.

          karthikoncodeproject wrote:

          and it will be a optimal solution intead of satellite DLLs ?

          Now as there is no support for XML file, you have to read that Resource in Some String Var, manually parse it and reterive the required Data from it now i believe you can compares for it speed and security with Satellite Dll, as there would be no security as provided by Satelite dll in MFC resource DLL.

          karthikoncodeproject wrote:

          People in localization process! kindly suggest me .

          There are very few people here who have worked on Localization process.. you have to repost this problem in http://www.codeproject.com/script/comments/forums.asp?forumid=3785[^] might be some one able to help you!.. [ot] if you are same Karthik from Zenith.. you can ask you query on my mobile number... it hasn't changed yet!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups