Click here to Skip to main content
15,887,477 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Michael Haephrati22-Oct-17 2:22
professionalMichael Haephrati22-Oct-17 2:22 
Questionusing /clr switch for ATL application raises an exception when the application is terminating. Pin
Vijjuuu.23-Aug-17 0:00
Vijjuuu.23-Aug-17 0:00 
QuestionGetUsbDrive letter error Pin
Member 101933363-Aug-17 0:27
Member 101933363-Aug-17 0:27 
QuestionRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 1:18
mveRichard MacCutchan3-Aug-17 1:18 
AnswerRe: GetUsbDrive letter error Pin
Member 101933363-Aug-17 2:26
Member 101933363-Aug-17 2:26 
GeneralRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 2:28
mveRichard MacCutchan3-Aug-17 2:28 
GeneralRe: GetUsbDrive letter error Pin
Member 101933363-Aug-17 2:36
Member 101933363-Aug-17 2:36 
GeneralRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 2:37
mveRichard MacCutchan3-Aug-17 2:37 
GeneralRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 2:32
mveRichard MacCutchan3-Aug-17 2:32 
QuestionUse ATL COM DLL in VB Script which written in C++ Pin
GTAVLover11-Jul-17 15:03
GTAVLover11-Jul-17 15:03 
AnswerRe: Use ATL COM DLL in VB Script which written in C++ Pin
Richard MacCutchan11-Jul-17 21:35
mveRichard MacCutchan11-Jul-17 21:35 
GeneralRe: Use ATL COM DLL in VB Script which written in C++ Pin
GTAVLover11-Jul-17 22:02
GTAVLover11-Jul-17 22:02 
GeneralRe: Use ATL COM DLL in VB Script which written in C++ Pin
Richard MacCutchan11-Jul-17 22:06
mveRichard MacCutchan11-Jul-17 22:06 
QuestionGet struct-members' names in Visual Studio console application? Pin
arnold_w25-Mar-17 0:11
arnold_w25-Mar-17 0:11 
AnswerRe: Get struct-members' names in Visual Studio console application? Pin
Richard MacCutchan25-Mar-17 0:35
mveRichard MacCutchan25-Mar-17 0:35 
GeneralRe: Get struct-members' names in Visual Studio console application? Pin
arnold_w25-Mar-17 0:58
arnold_w25-Mar-17 0:58 
GeneralRe: Get struct-members' names in Visual Studio console application? Pin
Richard MacCutchan25-Mar-17 1:01
mveRichard MacCutchan25-Mar-17 1:01 
GeneralRe: Get struct-members' names in Visual Studio console application? Pin
arnold_w25-Mar-17 1:33
arnold_w25-Mar-17 1:33 
GeneralRe: Get struct-members' names in Visual Studio console application? Pin
Richard MacCutchan25-Mar-17 1:42
mveRichard MacCutchan25-Mar-17 1:42 
AnswerRe: Get struct-members' names in Visual Studio console application? Pin
Richard Andrew x6425-Mar-17 1:01
professionalRichard Andrew x6425-Mar-17 1:01 
AnswerRe: Get struct-members' names in Visual Studio console application? Pin
Randor 21-Apr-17 17:40
professional Randor 21-Apr-17 17:40 
Hi,

Yes, I had to do this many years ago.

However you are not really giving me enough information. You need to be very specific when you ask for help. Do you need to do this on a Release build or Debug build? Do you need to do this at run-time or compile-time?

1.) Preprocessor abuse[^] that stores the variable name in an extra char field in the struct. Here is a partial example[^].
2.) If you are using C++ there are several boost libs[^] that allow you to implement some reflection.
3.) The Debug Interface Access SDK[^] can be used to get all of the structs and member variable names. If you go this route... you will need to generate a PDB.

Best Wishes,
-David Delaune
GeneralRe: Get struct-members' names in Visual Studio console application? Pin
arnold_w21-Apr-17 22:55
arnold_w21-Apr-17 22:55 
GeneralRe: Get struct-members' names in Visual Studio console application? Pin
Randor 25-Apr-17 12:11
professional Randor 25-Apr-17 12:11 
QuestionText editor in vc++ Pin
lolici13-Mar-17 1:04
lolici13-Mar-17 1:04 
AnswerRe: Text editor in vc++ Pin
Jochen Arndt13-Mar-17 2:24
professionalJochen Arndt13-Mar-17 2:24 

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.