Click here to Skip to main content
15,886,963 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: memory leak!!!!!! Pin
David Crow15-Feb-06 4:15
David Crow15-Feb-06 4:15 
QuestionEncryption Pin
Tony Kurishunkal14-Feb-06 17:41
Tony Kurishunkal14-Feb-06 17:41 
AnswerRe: Encryption Pin
namaskaaram14-Feb-06 18:46
namaskaaram14-Feb-06 18:46 
AnswerRe: Encryption Pin
moodsey21114-Feb-06 19:22
moodsey21114-Feb-06 19:22 
QuestionApplication crashed on client side not on my side Pin
zahid_ash14-Feb-06 17:34
zahid_ash14-Feb-06 17:34 
AnswerRe: Application crashed on client side not on my side Pin
Ashutosh_shashi14-Feb-06 19:30
Ashutosh_shashi14-Feb-06 19:30 
AnswerRe: Application crashed on client side not on my side Pin
kakan14-Feb-06 20:40
professionalkakan14-Feb-06 20:40 
QuestionShared data, functions across DLL Pin
arunperi14-Feb-06 17:22
arunperi14-Feb-06 17:22 
Hi,
I have created a DLL which has certain shared variables/functions. I have accessed the same DLL in another workspace, when I run the application I am facing the following error. Can anone pls. help me out.

Linking...
AccessRegDLLDlg.obj : error LNK2005: _nVar_Subbu already defined in AccessRegDLL.obj
Debug/AccessRegDLL.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.


The code in the DLL is:
extern "C" {
__declspec(dllexport) int TestDLLFunction();

__declspec(dllexport) int GetValue();

#pragma data_seg("SHARED")
int nVar_Subbu = 1;
#pragma data_seg()

};

Rgds,
Arun.
AnswerRe: Shared data, functions across DLL Pin
Ryan Binns14-Feb-06 17:39
Ryan Binns14-Feb-06 17:39 
GeneralRe: Shared data, functions across DLL Pin
arunperi14-Feb-06 17:45
arunperi14-Feb-06 17:45 
GeneralRe: Shared data, functions across DLL Pin
Ryan Binns14-Feb-06 21:29
Ryan Binns14-Feb-06 21:29 
AnswerRe: Shared data, functions across DLL Pin
Naveen14-Feb-06 17:44
Naveen14-Feb-06 17:44 
GeneralRe: Shared data, functions across DLL Pin
arunperi14-Feb-06 17:47
arunperi14-Feb-06 17:47 
GeneralRe: Shared data, functions across DLL--Not Working Pin
arunperi14-Feb-06 18:11
arunperi14-Feb-06 18:11 
GeneralRe: Shared data, functions across DLL--Not Working Pin
Naveen14-Feb-06 19:27
Naveen14-Feb-06 19:27 
QuestionAbout Progress Bar Pin
LaHaHa14-Feb-06 16:53
LaHaHa14-Feb-06 16:53 
AnswerRe: About Progress Bar Pin
Michael Dunn14-Feb-06 16:59
sitebuilderMichael Dunn14-Feb-06 16:59 
AnswerRe: About Progress Bar Pin
PJ Arends14-Feb-06 17:01
professionalPJ Arends14-Feb-06 17:01 
GeneralRe: About Progress Bar Pin
LaHaHa14-Feb-06 17:10
LaHaHa14-Feb-06 17:10 
QuestionHow to Add the Needed classes Pin
ravi121714-Feb-06 16:48
ravi121714-Feb-06 16:48 
QuestionRe: How to Add the Needed classes Pin
David Crow15-Feb-06 4:18
David Crow15-Feb-06 4:18 
AnswerRe: How to Add the Needed classes Pin
ravi121717-Feb-06 17:46
ravi121717-Feb-06 17:46 
GeneralRe: How to Add the Needed classes Pin
David Crow18-Feb-06 7:24
David Crow18-Feb-06 7:24 
QuestionCom Port Dropping out Pin
mcb3614-Feb-06 15:51
mcb3614-Feb-06 15:51 
AnswerRe: Com Port Dropping out Pin
Joshua Quick14-Feb-06 17:37
Joshua Quick14-Feb-06 17:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.