Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: slider Pin
Roger Allen6-Jul-04 4:28
Roger Allen6-Jul-04 4:28 
GeneralGet process terminated another process Pin
Cobra4Ever5-Jul-04 11:54
Cobra4Ever5-Jul-04 11:54 
Generalscreen capture to jpg Pin
Anonymous5-Jul-04 11:40
Anonymous5-Jul-04 11:40 
GeneralRe: screen capture to jpg Pin
Christian Graus5-Jul-04 12:13
protectorChristian Graus5-Jul-04 12:13 
GeneralRe: screen capture to jpg Pin
Christian Graus15-Sep-04 11:43
protectorChristian Graus15-Sep-04 11:43 
GeneralEvents - How Many Pin
Grahamfff5-Jul-04 10:22
Grahamfff5-Jul-04 10:22 
GeneralRe: Events - How Many Pin
Blake Miller6-Jul-04 12:47
Blake Miller6-Jul-04 12:47 
GeneralReceiving File from Mobile phone Pin
steve chua5-Jul-04 10:14
steve chua5-Jul-04 10:14 
GeneralCustom Draw of TreeView-Control Pin
steven115-Jul-04 10:13
steven115-Jul-04 10:13 
GeneralRe: Custom Draw of TreeView-Control Pin
Roger Allen6-Jul-04 4:25
Roger Allen6-Jul-04 4:25 
GeneralRe: Custom Draw of TreeView-Control Pin
steven116-Jul-04 5:36
steven116-Jul-04 5:36 
GeneralAbout SAPI Pin
Member 12180445-Jul-04 9:36
Member 12180445-Jul-04 9:36 
GeneralAdding a toolbar button to Internet Explorer Pin
Member 12180445-Jul-04 9:24
Member 12180445-Jul-04 9:24 
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 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.