Re: how to export global variable in C dll?
- From: Cyrfer <cyrfer@xxxxxxxxx>
- Date: Thu, 10 Apr 2008 15:17:13 -0700 (PDT)
On Apr 10, 11:27 am, "Alex Blekhman" <tkfx.REM...@xxxxxxxxx> wrote:
"Cyrfer" wrote:
Your reply was very helpful.
You're welcome. :)
Well, I thought I was done, but not completely.
My DLL's implementation has problems now that I tried to make a 2nd
implementation file in the DLL "touch" the global variables. Now the
DLL will not link. The problem is probably because I am not using
'extern', which also causes my DLL not to link. I'm really confused
about what is happening. I have made a simple MSVC 2005 project which
shows the problem. You can find the short code sample here:
http://cyrf.com/temp/test_linking.zip
Would someone show that it is possible to export global variables?
Thanks!
.
- Follow-Ups:
- Re: how to export global variable in C dll?
- From: Alex Blekhman
- Re: how to export global variable in C dll?
- From: Vincent Fatica
- Re: how to export global variable in C dll?
- References:
- how to export global variable in C dll?
- From: Cyrfer
- Re: how to export global variable in C dll?
- From: Cyrfer
- Re: how to export global variable in C dll?
- From: Alex Blekhman
- Re: how to export global variable in C dll?
- From: Cyrfer
- Re: how to export global variable in C dll?
- From: Alex Blekhman
- how to export global variable in C dll?
- Prev by Date: Re: wprintf() and large exact floats?
- Next by Date: Re: C or C++
- Previous by thread: Re: how to export global variable in C dll?
- Next by thread: Re: how to export global variable in C dll?
- Index(es):
Relevant Pages
|