Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: need your help Pin
David Crow25-Jan-08 3:09
David Crow25-Jan-08 3:09 
GeneralOffice Open/Save dialog messages Pin
Nitheesh George24-Jan-08 16:54
Nitheesh George24-Jan-08 16:54 
GeneralRe: Office Open/Save dialog messages Pin
ShilpiP24-Jan-08 19:40
ShilpiP24-Jan-08 19:40 
Questionhow to change the windows current user password? Pin
sun_shb24-Jan-08 16:35
sun_shb24-Jan-08 16:35 
AnswerRe: how to change the windows current user password? Pin
Naveen24-Jan-08 18:43
Naveen24-Jan-08 18:43 
Generalcan you give me a demo? Pin
sun_shb24-Jan-08 19:34
sun_shb24-Jan-08 19:34 
GeneralRe: can you give me a demo? Pin
Naveen24-Jan-08 20:00
Naveen24-Jan-08 20:00 
GeneralLink Errors from Imports/Exports with C++ prog importing C exports Pin
ForNow24-Jan-08 13:01
ForNow24-Jan-08 13:01 
Hi,

I guess I tried in the subject matter to explain the problem

let me say before I describle the problem that I am using a few of the same headers .h files in both The C and C++

project

In the begining when I was getting unresolved extern __declspec from the link trying to import C symbols

into my C++ project I thought it had something to do with were I specfied my LIB file (I am using VS 2005 )

Linker -> General then the specfic .Lib under Linker -> Additional inputs

Now however I getting the Idea that a part of this problem is that I have C++ project importing C symmbols

When I declare the imports as extern "C" __declspec(dllimport) in the C++ project I resolve a few of the externs

However I still get unresolved ___impl_func

seems __impl is added to C export but linking the C++ project it doesn't see these names



would doing the following when building the C exports in the C++ projects Help

#ifdef __cplusplus

DLL_EXPORT __cdecl telling the C++ compiler that this is C export


Maybe there is simeple soultion to all of this if you know any please Share

Thankx
QuestionRe: Link Errors from Imports/Exports with C++ prog importing C exports Pin
Mark Salsbery24-Jan-08 13:37
Mark Salsbery24-Jan-08 13:37 
GeneralRe: Link Errors from Imports/Exports with C++ prog importing C exports Pin
ForNow24-Jan-08 15:43
ForNow24-Jan-08 15:43 
GeneralRe: Link Errors from Imports/Exports with C++ prog importing C exports Pin
CPallini24-Jan-08 21:37
mveCPallini24-Jan-08 21:37 
GeneralRe: Link Errors from Imports/Exports with C++ prog importing C exports Pin
ForNow25-Jan-08 10:55
ForNow25-Jan-08 10:55 
GeneralRe: Link Errors from Imports/Exports with C++ prog importing C exports Pin
Mark Salsbery25-Jan-08 5:58
Mark Salsbery25-Jan-08 5:58 
GeneralRe: Link Errors from Imports/Exports with C++ prog importing C exports Pin
ForNow25-Jan-08 10:53
ForNow25-Jan-08 10:53 
GeneralGDI+ RectF constructor Pin
bob1697224-Jan-08 9:34
bob1697224-Jan-08 9:34 
GeneralRe: GDI+ RectF constructor Pin
Mark Salsbery24-Jan-08 9:41
Mark Salsbery24-Jan-08 9:41 
GeneralRe: GDI+ RectF constructor Pin
bob1697224-Jan-08 9:57
bob1697224-Jan-08 9:57 
GeneralRe: GDI+ RectF constructor Pin
bob1697224-Jan-08 9:59
bob1697224-Jan-08 9:59 
GeneralRe: GDI+ RectF constructor Pin
Mark Salsbery24-Jan-08 10:01
Mark Salsbery24-Jan-08 10:01 
GeneralRe: GDI+ RectF constructor Pin
bob1697224-Jan-08 10:08
bob1697224-Jan-08 10:08 
QuestionAFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Wes Jones24-Jan-08 9:09
Wes Jones24-Jan-08 9:09 
AnswerRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
David Crow24-Jan-08 9:22
David Crow24-Jan-08 9:22 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Wes Jones24-Jan-08 9:41
Wes Jones24-Jan-08 9:41 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
David Crow24-Jan-08 9:45
David Crow24-Jan-08 9:45 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Wes Jones24-Jan-08 11:05
Wes Jones24-Jan-08 11:05 

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.