How t oshare a varible between two MFC dll?

cpp , mfc , dll India
  • 8 years ago
    hello Friends I m creating two dll in MFC and i m exporting a variable from one dll and importing same varible in other dll.The problem is if I update that variable in first dll then i m not getting that updated value of variable in second dll.o got the same that i initialize. I did all settings means copy the lib and dll file to other dll,link the lib file settings also and copied d header file too. Do i need to make any other changes or m i doing something wrong? Thanks & Regards Yogesh

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Memory is like an orgasm. It's a lot better if you don't have to fake it.” - Seymour Cray