Click here to Skip to main content
16,016,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: To disable a tab Pin
Naveen24-Oct-06 0:44
Naveen24-Oct-06 0:44 
GeneralRe: To disable a tab Pin
shibumong24-Oct-06 0:49
shibumong24-Oct-06 0:49 
GeneralRe: To disable a tab Pin
tanvon malik24-Oct-06 1:03
tanvon malik24-Oct-06 1:03 
GeneralRe: To disable a tab [modified] Pin
Naveen24-Oct-06 1:11
Naveen24-Oct-06 1:11 
GeneralRe: To disable a tab Pin
Hamid_RT24-Oct-06 2:35
Hamid_RT24-Oct-06 2:35 
AnswerRe: To disable a tab Pin
Hamid_RT24-Oct-06 2:35
Hamid_RT24-Oct-06 2:35 
AnswerRe: To disable a tab Pin
David Crow24-Oct-06 2:51
David Crow24-Oct-06 2:51 
QuestionCPPUNIT_PLUGIN_IMPLEMENT linker error in .NET VC7 Pin
jayart24-Oct-06 0:36
jayart24-Oct-06 0:36 
Hi,
I am writing unit test cases using CPPUnit framework.
typically a unit testing project includes two modules.
1) Test cases module
2) A Test runner to run these test cases.
Most of the examples seen demonstrate the test cases and the test runner existing in the same project/application.
My project has most of the critical code in a dll. In order to do a unit testing I need to write testcases inside this dll for Module 1. For Module 2, I have written a simple testRunner application. This Tester application should run the testcases using the registryfactory.
The gaol is not to expose the testclassses in the dll and still run these testcases from outside application.
To achieve this I referred this link http://cppunit.sourceforge.net/doc/lastest/group___writing_test_plug_in.html.

PROBLEM: (Module 1)
I get following linker error when I write "CPPUNIT_PLUGIN_IMPLEMENT" in my testclass cpp class in the dll.

mfcs71d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in CTestClass.obj

Has any one come across such kind of error. Any help would be great.




Arti Gujare
AnswerRe: CPPUNIT_PLUGIN_IMPLEMENT linker error in .NET VC7 Pin
Naveen24-Oct-06 0:47
Naveen24-Oct-06 0:47 
GeneralRe: CPPUNIT_PLUGIN_IMPLEMENT linker error in .NET VC7 Pin
jayart24-Oct-06 1:00
jayart24-Oct-06 1:00 
GeneralRe: CPPUNIT_PLUGIN_IMPLEMENT linker error in .NET VC7 Pin
Naveen24-Oct-06 1:06
Naveen24-Oct-06 1:06 
Questionfrom windows to linux Pin
dorbeck24-Oct-06 0:21
dorbeck24-Oct-06 0:21 
AnswerRe: from windows to linux Pin
Naveen24-Oct-06 0:37
Naveen24-Oct-06 0:37 
AnswerRe: from windows to linux Pin
kakan24-Oct-06 2:50
professionalkakan24-Oct-06 2:50 
GeneralRe: from windows to linux Pin
dorbeck24-Oct-06 2:56
dorbeck24-Oct-06 2:56 
QuestionCheckbox control Pin
fabiotriolo23-Oct-06 23:53
fabiotriolo23-Oct-06 23:53 
AnswerRe: Checkbox control Pin
Cedric Moonen24-Oct-06 0:06
Cedric Moonen24-Oct-06 0:06 
AnswerRe: Checkbox control Pin
Mila02524-Oct-06 0:31
Mila02524-Oct-06 0:31 
Questionhelp me Pin
alphaxz23-Oct-06 23:21
alphaxz23-Oct-06 23:21 
AnswerRe: help me Pin
fat_boy23-Oct-06 23:33
fat_boy23-Oct-06 23:33 
Questionfatal error C1083 : Cannot open include file: 'uxtheme.h' Pin
NiceNaidu23-Oct-06 23:10
NiceNaidu23-Oct-06 23:10 
AnswerRe: fatal error C1083 : Cannot open include file: 'uxtheme.h' Pin
Naveen24-Oct-06 0:41
Naveen24-Oct-06 0:41 
AnswerRe: fatal error C1083 : Cannot open include file: 'uxtheme.h' Pin
Hamid_RT24-Oct-06 2:43
Hamid_RT24-Oct-06 2:43 
Questiontabstop2 Pin
Desmo1623-Oct-06 22:38
Desmo1623-Oct-06 22:38 
AnswerRe: tabstop2 Pin
tanvon malik24-Oct-06 0:03
tanvon malik24-Oct-06 0:03 

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.