Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory functions? I'd like to know how much free memory remains... Pin
Ravi Bhavnani18-Mar-03 2:23
professionalRavi Bhavnani18-Mar-03 2:23 
GeneralRe: Memory functions? I'd like to know how much free memory remains... Pin
Joan M18-Mar-03 2:58
professionalJoan M18-Mar-03 2:58 
GeneralVC++ project/workspace question Pin
7stud18-Mar-03 0:15
7stud18-Mar-03 0:15 
GeneralRe: VC++ project/workspace question Pin
Pavel Klocek18-Mar-03 0:26
Pavel Klocek18-Mar-03 0:26 
GeneralRe: VC++ project/workspace question Pin
7stud18-Mar-03 9:28
7stud18-Mar-03 9:28 
GeneralUsing C functions in Visual C++ Pin
Geert Craessaerts17-Mar-03 23:24
Geert Craessaerts17-Mar-03 23:24 
GeneralRe: Using C functions in Visual C++ Pin
_Theo_17-Mar-03 23:53
_Theo_17-Mar-03 23:53 
GeneralRe: Using C functions in Visual C++ Pin
Vimal Earnest17-Mar-03 23:58
Vimal Earnest17-Mar-03 23:58 
Your problem is not clear from the posted message. You can use c functions from Visual C++(Visual C++ is a tool built on c++ and c++ is backward compatible with c ).

If you have problems with using c functions from a library(link error most probably), that may be due to the name mangling brought about by the c++ compiler. You can ask the compiler to turn off name mangling for the library functions by doing the following :

extern "C"
{
#include "yourheader.h"
}

This asks the compiler not to mangle the names in the header file.

HTH


~ Vimal
GeneralRe: Using C functions in Visual C++ Pin
Geert Craessaerts18-Mar-03 0:12
Geert Craessaerts18-Mar-03 0:12 
GeneralRe: Using C functions in Visual C++ Pin
jhwurmbach18-Mar-03 1:54
jhwurmbach18-Mar-03 1:54 
GeneralRe: Using C functions in Visual C++ Pin
Jambolo23-Mar-03 10:17
Jambolo23-Mar-03 10:17 
GeneralCSplitterWnd nesting Pin
terazac17-Mar-03 23:18
terazac17-Mar-03 23:18 
GeneralWindows 2000 DDK Pin
steve_hsk17-Mar-03 22:49
steve_hsk17-Mar-03 22:49 
GeneralRe: Windows 2000 DDK Pin
Scott H. Settlemier18-Mar-03 2:29
Scott H. Settlemier18-Mar-03 2:29 
GeneralRe: Windows 2000 DDK Pin
steve_hsk18-Mar-03 8:01
steve_hsk18-Mar-03 8:01 
GeneralCTabCtrl problem Pin
Brian van der Beek17-Mar-03 22:44
Brian van der Beek17-Mar-03 22:44 
GeneralRe: CTabCtrl problem Pin
Ravi Bhavnani18-Mar-03 2:28
professionalRavi Bhavnani18-Mar-03 2:28 
GeneralRe: CTabCtrl problem Pin
Brian van der Beek18-Mar-03 19:54
Brian van der Beek18-Mar-03 19:54 
GeneralMessageBox from a service ... Pin
Vimal Earnest17-Mar-03 21:16
Vimal Earnest17-Mar-03 21:16 
GeneralRe: MessageBox from a service ... Pin
geo_m17-Mar-03 21:20
geo_m17-Mar-03 21:20 
GeneralRe: MessageBox from a service ... Pin
Vimal Earnest17-Mar-03 22:57
Vimal Earnest17-Mar-03 22:57 
GeneralRe: MessageBox from a service ... Pin
geo_m17-Mar-03 23:10
geo_m17-Mar-03 23:10 
GeneralRe: MessageBox from a service ... Pin
Vimal Earnest17-Mar-03 23:43
Vimal Earnest17-Mar-03 23:43 
GeneralRe: MessageBox from a service ... Pin
praveenpnayak20-Mar-03 21:50
praveenpnayak20-Mar-03 21:50 
GeneralMember list not shown Pin
JensB17-Mar-03 20:16
JensB17-Mar-03 20:16 

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.