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

C / C++ / MFC

 
QuestionHow to expose BYTE pointer in ActiveX Control Pin
yaminisridaran1-Aug-07 17:51
yaminisridaran1-Aug-07 17:51 
AnswerRe: How to expose BYTE pointer in ActiveX Control Pin
Randor 1-Aug-07 21:14
professional Randor 1-Aug-07 21:14 
QuestionPCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 16:52
ForNow1-Aug-07 16:52 
AnswerRe: PCH files the answer fo Mixing C++ and C Pin
Mark Salsbery1-Aug-07 17:09
Mark Salsbery1-Aug-07 17:09 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 18:51
ForNow1-Aug-07 18:51 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
Mark Salsbery1-Aug-07 19:14
Mark Salsbery1-Aug-07 19:14 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 23:37
ForNow1-Aug-07 23:37 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
Roger Broomfield1-Aug-07 21:27
Roger Broomfield1-Aug-07 21:27 
I think the idea you have of using a .pch from one project in another project is not a good one.
If you cant or dont want to change the C header such that it looks like this
#ifdef __cplusplus
extern "C" {
#endif
lots of C stuff etc
#ifdef __cplusplus
}
#endif


then I cant see why using this in your C++ project wouldnt work
extern "C" {
#include "myCheader.h"
}

it essentially achieves the same end result after precompilation.
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow1-Aug-07 23:44
ForNow1-Aug-07 23:44 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
Roger Broomfield2-Aug-07 2:14
Roger Broomfield2-Aug-07 2:14 
GeneralRe: PCH files the answer fo Mixing C++ and C Pin
ForNow2-Aug-07 6:25
ForNow2-Aug-07 6:25 
QuestionHow to display IDispatch interface on Doc/View [modified] Pin
mcnam1-Aug-07 15:48
mcnam1-Aug-07 15:48 
Questionprogrammatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
ana_v1231-Aug-07 15:33
ana_v1231-Aug-07 15:33 
AnswerRe: programmatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
Randor 1-Aug-07 22:01
professional Randor 1-Aug-07 22:01 
AnswerRe: programmatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
David Crow2-Aug-07 3:27
David Crow2-Aug-07 3:27 
GeneralRe: programmatically check current (or selected) printer is dot-matrix printer, InkJet or Laser ? Pin
ana_v1232-Aug-07 10:23
ana_v1232-Aug-07 10:23 
QuestionMixed Language Build C/C++ Pin
ForNow1-Aug-07 14:52
ForNow1-Aug-07 14:52 
AnswerRe: Mixed Language Build C/C++ Pin
Roger Broomfield1-Aug-07 18:11
Roger Broomfield1-Aug-07 18:11 
GeneralRe: Mixed Language Build C/C++ Pin
ForNow1-Aug-07 18:56
ForNow1-Aug-07 18:56 
QuestionRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 10:25
Mark Salsbery1-Aug-07 10:25 
AnswerRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 10:32
alberthyc1-Aug-07 10:32 
GeneralRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 10:42
Mark Salsbery1-Aug-07 10:42 
GeneralRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 11:05
alberthyc1-Aug-07 11:05 
GeneralRe: Heap problem?? desperately need help. Pin
Mark Salsbery1-Aug-07 11:23
Mark Salsbery1-Aug-07 11:23 
GeneralRe: Heap problem?? desperately need help. Pin
alberthyc1-Aug-07 11:32
alberthyc1-Aug-07 11:32 

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.