skip to main | skip to sidebar

Share Your Technical Stuff

Wednesday, December 5, 2007

How To Share Data Between Different Mappings of a DLL

#pragma data_seg(".shared")
int iSharedVar = 0;
#pragma data_seg()

In the .def file
SECTIONS
.shared READ WRITE SHARED
Posted by Rajesh at 5:34 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2007 (11)
    • ▼  December (7)
      • Agile/Process Questions1,What is a stand up meetin...
      • Source Control Questions
      • Debugging Questions1, What is the difference betwe...
      • Windows Programming QuestionsSECTION- MESSAGE HAND...
      • Windows Programming QuestionsSECTION- GDI and DRAW...
      • What is #pragma directive?
      • How To Share Data Between Different Mappings of a DLL
    • ►  September (3)
    • ►  July (1)

Contributors

  • Girish K S
  • Ki ki kiran.....:-)
  • Rajesh
  • sekhar