Re: Global variable inside a DLL
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Wed, 7 Jun 2006 17:16:37 +0200
But that what op want IMHO.
Sometime we need simple but unsecure decision even in real systems( like
critical mission embedded system - no one can entrude it and all space is
our realm )
Arkady
"Skywing" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message
news:Oi%23c2sjiGHA.4512@xxxxxxxxxxxxxxxxxxxxxxx
Again, this method for sharing memory is deprecated and insecure because
it will allow everyone (even untrusted users) to write to that portion of
your address space. Use a file mapping object instead.
"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:e7PiomjiGHA.4368@xxxxxxxxxxxxxxxxxxxxxxx
No, you need to initiate it in shared data segment for that with #pragma
data_seg("name")
Arkady
"Harish" <Harish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:62620CCB-3E89-4AFD-9477-16D3E4C56E56@xxxxxxxxxxxxxxxx
Is the global variable is defined inside a DLL common to all the clients
that
access the DLL?
.
- Follow-Ups:
- Re: Global variable inside a DLL
- From: Skywing
- Re: Global variable inside a DLL
- References:
- Re: Global variable inside a DLL
- From: Arkady Frenkel
- Re: Global variable inside a DLL
- From: Skywing
- Re: Global variable inside a DLL
- Prev by Date: Re: C/C++ calling convention
- Next by Date: Re: C/C++ calling convention
- Previous by thread: Re: Global variable inside a DLL
- Next by thread: Re: Global variable inside a DLL
- Index(es):