- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With IVF12, Can a module variable with dllexport or dllimport attribute be a threadprivate varaible, I tiried this without success. Is it a compiler problem? Thanks.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is a Windows restriction. Can't do it in C++ either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you know why this restriction is there?
Our app has thousands of exported module variables (I work with syddofe1). Other than the obvious - writing functions to access and change the variables - is there any other strategy you would recommend?
Our app has thousands of exported module variables (I work with syddofe1). Other than the obvious - writing functions to access and change the variables - is there any other strategy you would recommend?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's just something not implemented in the Microsoft linker and/or image loader. I can't say "why".
Access functions would seem appropriate to me.
Access functions would seem appropriate to me.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page