Click here to Skip to main content
15,902,445 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCTabCtrl frame background color Pin
alma5-Jul-04 8:46
alma5-Jul-04 8:46 
Generalhelp, style convert: Dialog -> MDI Pin
junhonguk5-Jul-04 6:51
junhonguk5-Jul-04 6:51 
GeneralRe: help, style convert: Dialog -> MDI Pin
Jaime Stuardo5-Jul-04 7:06
Jaime Stuardo5-Jul-04 7:06 
QuestionHow to take a snapshot from a (partially o fully) hidden window Pin
Member 1338885-Jul-04 6:48
Member 1338885-Jul-04 6:48 
AnswerRe: How to take a snapshot from a (partially o fully) hidden window Pin
Ravi Bhavnani5-Jul-04 7:56
professionalRavi Bhavnani5-Jul-04 7:56 
GeneralRe: How to take a snapshot from a (partially o fully) hidden window Pin
Scozturk5-Jul-04 9:22
professionalScozturk5-Jul-04 9:22 
GeneralRe: How to take a snapshot from a (partially o fully) hidden window Pin
Jijo.Raj5-Jul-04 21:34
Jijo.Raj5-Jul-04 21:34 
GeneralCalling C++ DLL ( not MFC) from another C++ DLL ( not MFC) Pin
chepuri_uk5-Jul-04 6:06
chepuri_uk5-Jul-04 6:06 
Hi,

I have a C++ DLL ( not MFC )which has a static method
say
class Test
{
static GetData();
Static GetParams();
bool TestDatat();



};

I am exporting this class and using in another DLL.

I built Test.dll,Test.lib.

Now i included in another DLL(say Samp.DLL):
Test.dll,Test.lib abd Test.h
in Samp.h file i inclued "Test.h" and linkedTest.lib and Placed Test.dll in Release/Debug folder.

I am calling Test::GetData() in Samp.DLL.
But after compiling Samp.DLL giving error like:

"error LNK 2001: unresolved external symbol. _declspec(dllimport) public:static bool _stdcall Test::GetDatta(char const *,bool)(_imp_?GetData@Test@SG_NPBD_N@Z)".

while building if i change project setttings "_cdecl*" in calling conventions, DLL is building fine,but failing to call a value from Samp.DLL by passing value to Test.DLL.

If i what to build my Samp.DLL by "_stdcall" convention how can i build this ?

Any help on this..

Thank you.




GeneralRe: Calling C++ DLL ( not MFC) from another C++ DLL ( not MFC) Pin
Jaime Stuardo5-Jul-04 8:13
Jaime Stuardo5-Jul-04 8:13 
GeneralRe: Calling C++ DLL ( not MFC) from another C++ DLL ( not MFC) Pin
Jeremy Falcon5-Jul-04 8:57
professionalJeremy Falcon5-Jul-04 8:57 
GeneralRe: Calling C++ DLL ( not MFC) from another C++ DLL ( not MFC) Pin
Jörgen Sigvardsson5-Jul-04 10:28
Jörgen Sigvardsson5-Jul-04 10:28 
GeneralRe: Calling C++ DLL ( not MFC) from another C++ DLL ( not MFC) Pin
Jeremy Falcon5-Jul-04 10:51
professionalJeremy Falcon5-Jul-04 10:51 
General"%1" %* Pin
Larsson5-Jul-04 5:45
Larsson5-Jul-04 5:45 
GeneralRe: "%1" %* Pin
Maximilien5-Jul-04 6:31
Maximilien5-Jul-04 6:31 
GeneralRe: "%1" %* Pin
Larsson5-Jul-04 6:34
Larsson5-Jul-04 6:34 
GeneralRe: "%1" %* Pin
Larsson5-Jul-04 6:47
Larsson5-Jul-04 6:47 
GeneralRe: "%1" %* Pin
Maximilien5-Jul-04 7:09
Maximilien5-Jul-04 7:09 
GeneralRe: "%1" %* Pin
Larsson5-Jul-04 7:12
Larsson5-Jul-04 7:12 
GeneralRe: "%1" %* Pin
Cobra4Ever5-Jul-04 13:43
Cobra4Ever5-Jul-04 13:43 
GeneralRe: "%1" %* Pin
Larsson6-Jul-04 2:53
Larsson6-Jul-04 2:53 
GeneralRe: "%1" %* Pin
Roger Allen6-Jul-04 4:32
Roger Allen6-Jul-04 4:32 
GeneralLR_DEFAULTSIZE|LR_LOADFROMFILE in WinCE Pin
Anonymous5-Jul-04 5:20
Anonymous5-Jul-04 5:20 
GeneralProgram Settings Pin
sweep1235-Jul-04 5:13
sweep1235-Jul-04 5:13 
GeneralRe: Program Settings Pin
blah2blah5-Jul-04 5:43
blah2blah5-Jul-04 5:43 
GeneralRe: Program Settings Pin
Jaime Stuardo5-Jul-04 5:51
Jaime Stuardo5-Jul-04 5:51 

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.