Click here to Skip to main content
15,909,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to open an .trp file using thread? Pin
_AnsHUMAN_ 10-Aug-08 21:33
_AnsHUMAN_ 10-Aug-08 21:33 
QuestionCreate registration dialog in SDI mfc application. Pin
Le@rner10-Aug-08 19:52
Le@rner10-Aug-08 19:52 
AnswerRe: Create registration dialog in SDI mfc application. Pin
_AnsHUMAN_ 10-Aug-08 20:04
_AnsHUMAN_ 10-Aug-08 20:04 
QuestionRe: Create registration dialog in SDI mfc application. Pin
Rajesh R Subramanian10-Aug-08 20:11
professionalRajesh R Subramanian10-Aug-08 20:11 
Questionrun threads after a fix interval , this interval can be different for different threads Pin
anilaabc10-Aug-08 19:15
anilaabc10-Aug-08 19:15 
AnswerRe: run threads after a fix interval , this interval can be different for different threads Pin
Mark Salsbery10-Aug-08 20:55
Mark Salsbery10-Aug-08 20:55 
QuestionAdmin privillage in limited account Pin
pooja_friends10-Aug-08 19:14
pooja_friends10-Aug-08 19:14 
QuestionLinking C library in C++ application Pin
Yashusid10-Aug-08 18:57
Yashusid10-Aug-08 18:57 
I am linking a C library in C++ application.
i have declared function in my c.h
#ifdef __cplusplus

extern "C" {

#endif

int fun(int,int);

#ifdef __cplusplus

}

#endif

created my c.lib

now in my capp.cpp i have included this c.h as
#include "c.h"

and i have linked the c.lib and calling this fun function in my cpp application as

int x=fun(2,3); directly ...

would this work ??

how can i be sure that the library is linked propery ??
AnswerRe: Linking C library in C++ application Pin
Stephen Hewitt10-Aug-08 21:37
Stephen Hewitt10-Aug-08 21:37 
Questionallocating and deallocating memory Pin
anilaabc10-Aug-08 18:45
anilaabc10-Aug-08 18:45 
AnswerRe: allocating and deallocating memory Pin
Randor 10-Aug-08 18:53
professional Randor 10-Aug-08 18:53 
GeneralRe: allocating and deallocating memory Pin
anilaabc10-Aug-08 19:09
anilaabc10-Aug-08 19:09 
GeneralRe: allocating and deallocating memory Pin
Randor 10-Aug-08 19:21
professional Randor 10-Aug-08 19:21 
GeneralRe: allocating and deallocating memory Pin
anilaabc10-Aug-08 19:38
anilaabc10-Aug-08 19:38 
GeneralRe: allocating and deallocating memory Pin
Randor 10-Aug-08 19:57
professional Randor 10-Aug-08 19:57 
GeneralRe: why system restarted with message Pin
anilaabc10-Aug-08 20:18
anilaabc10-Aug-08 20:18 
GeneralRe: why system dump memory [modified] Pin
anilaabc10-Aug-08 21:10
anilaabc10-Aug-08 21:10 
Question[Message Deleted] Pin
knowvc10-Aug-08 18:34
knowvc10-Aug-08 18:34 
AnswerRe: USB Project Pin
knowvc10-Aug-08 20:09
knowvc10-Aug-08 20:09 
Questionerror LNK2019: unresolved external symbol question Pin
monsieur_jj10-Aug-08 17:01
monsieur_jj10-Aug-08 17:01 
QuestionRe: error LNK2019: unresolved external symbol question Pin
rp_suman10-Aug-08 18:28
rp_suman10-Aug-08 18:28 
AnswerRe: error LNK2019: unresolved external symbol question Pin
monsieur_jj10-Aug-08 18:33
monsieur_jj10-Aug-08 18:33 
GeneralRe: error LNK2019: unresolved external symbol question Pin
monsieur_jj10-Aug-08 19:11
monsieur_jj10-Aug-08 19:11 
Questiontwo basic questions about message pump in STA Pin
George_George10-Aug-08 15:26
George_George10-Aug-08 15:26 
Questionfile filter by shell extension Pin
greenfish77710-Aug-08 13:58
greenfish77710-Aug-08 13:58 

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.