Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with the GetCurrentDirectory function !! Pin
Cris10-Mar-03 1:36
Cris10-Mar-03 1:36 
GeneralRe: Problem with the GetCurrentDirectory function !! Pin
kirk he10-Mar-03 1:09
susskirk he10-Mar-03 1:09 
Questionhow can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 0:23
susskirk he10-Mar-03 0:23 
AnswerRe: how can i use a straight c function in a C++ program? Pin
Christian Graus10-Mar-03 0:27
protectorChristian Graus10-Mar-03 0:27 
GeneralRe: how can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 0:37
susskirk he10-Mar-03 0:37 
GeneralRe: how can i use a straight c function in a C++ program? Pin
Christian Graus10-Mar-03 0:46
protectorChristian Graus10-Mar-03 0:46 
GeneralRe: how can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 0:53
susskirk he10-Mar-03 0:53 
AnswerRe: how can i use a straight c function in a C++ program? Pin
Baris Kurtlutepe10-Mar-03 0:51
Baris Kurtlutepe10-Mar-03 0:51 
Have you tried this way, it compiles fine under VC++6.0, if not it could be a c++ builder specific problem.

in my_c_func.h:
int a_c_func(void);

and in your cpp file:
extern "C" {
#include "my_c_func.h"
}
GeneralRe: how can i use a straight c function in a C++ program? Pin
kirk he10-Mar-03 1:05
susskirk he10-Mar-03 1:05 
GeneralRe: how can i use a straight c function in a C++ program? Pin
Baris Kurtlutepe10-Mar-03 1:13
Baris Kurtlutepe10-Mar-03 1:13 
GeneralCustom Formatting in VC++ Pin
Iain Clarke, Warrior Programmer10-Mar-03 0:09
Iain Clarke, Warrior Programmer10-Mar-03 0:09 
QuestionTree/List Ctrl question? Pin
Preky9-Mar-03 23:31
Preky9-Mar-03 23:31 
AnswerRe: Tree/List Ctrl question? Pin
TomKat14-Mar-03 16:26
TomKat14-Mar-03 16:26 
GeneralRe: Tree/List Ctrl question? Pin
Preky16-Mar-03 20:42
Preky16-Mar-03 20:42 
Generalclearing debug window statements thru code Pin
yourbuddy779-Mar-03 23:28
yourbuddy779-Mar-03 23:28 
GeneralIAMVideoAccelerator Pin
olivier9-Mar-03 22:37
olivier9-Mar-03 22:37 
Generala very wierd problem Pin
r i s h a b h s9-Mar-03 22:04
r i s h a b h s9-Mar-03 22:04 
GeneralRe: a very wierd problem Pin
João Paulo Figueira9-Mar-03 22:13
professionalJoão Paulo Figueira9-Mar-03 22:13 
GeneralSet the WS_EX_LAYERED for child window Pin
sanskypotov9-Mar-03 21:50
sanskypotov9-Mar-03 21:50 
GeneralRe: Set the WS_EX_LAYERED for child window Pin
Brian Shifrin10-Mar-03 2:20
Brian Shifrin10-Mar-03 2:20 
GeneralRe: Set the WS_EX_LAYERED for child window Pin
sanskypotov10-Mar-03 23:51
sanskypotov10-Mar-03 23:51 
Generalpacket info Pin
summo9-Mar-03 20:42
summo9-Mar-03 20:42 
GeneralRe: packet info Pin
Johnny ²9-Mar-03 21:48
Johnny ²9-Mar-03 21:48 
GeneralRe: packet info Pin
summo9-Mar-03 22:27
summo9-Mar-03 22:27 
GeneralRe: packet info Pin
Johnny ²9-Mar-03 22:36
Johnny ²9-Mar-03 22:36 

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.