Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSignificance of THIS_FILE[]=__FILE__ ? Pin
SherTeks24-Apr-08 0:59
SherTeks24-Apr-08 0:59 
GeneralRe: Significance of THIS_FILE[]=__FILE__ ? Pin
Cedric Moonen24-Apr-08 1:01
Cedric Moonen24-Apr-08 1:01 
GeneralRe: Significance of THIS_FILE[]=__FILE__ ? Pin
SherTeks24-Apr-08 1:12
SherTeks24-Apr-08 1:12 
GeneralRe: Significance of THIS_FILE[]=__FILE__ ? Pin
Cedric Moonen24-Apr-08 1:14
Cedric Moonen24-Apr-08 1:14 
GeneralRe: Significance of THIS_FILE[]=__FILE__ ? Pin
SherTeks24-Apr-08 1:35
SherTeks24-Apr-08 1:35 
Questionwhy VARIANT,BSTR in ActiveX? Pin
lgatcodeproject24-Apr-08 0:57
lgatcodeproject24-Apr-08 0:57 
GeneralRe: why VARIANT,BSTR in ActiveX? Pin
CPallini24-Apr-08 1:07
mveCPallini24-Apr-08 1:07 
GeneralRe: why VARIANT,BSTR in ActiveX? Pin
Matthew Faithfull24-Apr-08 1:11
Matthew Faithfull24-Apr-08 1:11 
VARIANT and BSTR get used because they are compatible with 'automation'. What this means in practice is the interfaces can be called from languages like Visual Basic which only have automatic marshalling and can be called from C++ without writing any marshalling code. BSTR is essentially the same as VBs internal String class so it can make using the control from VB easy enough that even a VB programmer might manage it. Big Grin | :-D
What type you use in your interface when creating ActiveX controls really depends on what clients you need to support.

"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)

Generalwhat would be the type is the client is c sharp? Pin
lgatcodeproject24-Apr-08 1:15
lgatcodeproject24-Apr-08 1:15 
AnswerRe: what would be the type is the client is c sharp? Pin
prasad_som24-Apr-08 1:58
prasad_som24-Apr-08 1:58 
GeneralRe: what would be the type is the client is c sharp? Pin
Matthew Faithfull24-Apr-08 2:56
Matthew Faithfull24-Apr-08 2:56 
GeneralRe: what would be the type is the client is c sharp? Pin
lgatcodeproject24-Apr-08 3:00
lgatcodeproject24-Apr-08 3:00 
GeneralDifferent types of classes in c++ Pin
Deepu Antony24-Apr-08 0:44
Deepu Antony24-Apr-08 0:44 
GeneralRe: Different types of classes in c++ Pin
Cedric Moonen24-Apr-08 0:52
Cedric Moonen24-Apr-08 0:52 
GeneralRe: Different types of classes in c++ Pin
Deepu Antony24-Apr-08 1:47
Deepu Antony24-Apr-08 1:47 
GeneralRe: Different types of classes in c++ Pin
Cedric Moonen24-Apr-08 1:54
Cedric Moonen24-Apr-08 1:54 
GeneralRe: Different types of classes in c++ Pin
Deepu Antony24-Apr-08 2:37
Deepu Antony24-Apr-08 2:37 
GeneralRe: Different types of classes in c++ Pin
Rajesh R Subramanian24-Apr-08 2:52
professionalRajesh R Subramanian24-Apr-08 2:52 
GeneralRe: Different types of classes in c++ PinPopular
David Crow24-Apr-08 3:55
David Crow24-Apr-08 3:55 
GeneralRe: Different types of classes in c++ Pin
Hamid_RT24-Apr-08 6:14
Hamid_RT24-Apr-08 6:14 
GeneralRe: Different types of classes in c++ Pin
ThatsAlok30-Jun-09 23:55
ThatsAlok30-Jun-09 23:55 
Generalcompisite class Pin
philiptabraham24-Apr-08 0:02
philiptabraham24-Apr-08 0:02 
QuestionRe: compisite class Pin
CPallini24-Apr-08 0:32
mveCPallini24-Apr-08 0:32 
GeneralRe: compisite class Pin
Deepu Antony24-Apr-08 0:40
Deepu Antony24-Apr-08 0:40 
QuestionRe: compisite class Pin
CPallini24-Apr-08 2:25
mveCPallini24-Apr-08 2:25 

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.