|
-
April 9th, 2008, 04:40 AM
#1
global and static variable in a class delivered in a DLL
Hello everyone,
If we define global variable and static variable of a class, which are implemented in a DLL. My questions are,
1. All instances of class share the single copy of global variable and static variable of class? If yes, I need to have some synchronization approach on them.
2. Is it safe to use global variable and static (public) variable after DLL unloads?
thanks in advance,
George
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|