Click here to Skip to main content
15,904,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Display tooltip for each listbox item on combobox using ctooltipctrl Pin
_Flaviu23-Nov-18 2:53
_Flaviu23-Nov-18 2:53 
GeneralRe: Display tooltip for each listbox item on combobox using ctooltipctrl Pin
Member 1031536525-Nov-18 21:32
professionalMember 1031536525-Nov-18 21:32 
GeneralRe: Display tooltip for each listbox item on combobox using ctooltipctrl Pin
_Flaviu25-Nov-18 23:04
_Flaviu25-Nov-18 23:04 
Questiongcc configure for hardware Pin
Vaclav_20-Nov-18 6:50
Vaclav_20-Nov-18 6:50 
AnswerRe: gcc configure for hardware Pin
leon de boer20-Nov-18 18:17
leon de boer20-Nov-18 18:17 
GeneralRe: gcc configure for hardware Pin
Vaclav_21-Nov-18 4:44
Vaclav_21-Nov-18 4:44 
GeneralRe: gcc configure for hardware Pin
leon de boer21-Nov-18 5:26
leon de boer21-Nov-18 5:26 
GeneralRe: gcc configure for hardware Pin
Vaclav_21-Nov-18 7:12
Vaclav_21-Nov-18 7:12 
GeneralRe: gcc configure for hardware Pin
leon de boer21-Nov-18 12:11
leon de boer21-Nov-18 12:11 
GeneralRe: gcc configure for hardware Pin
Vaclav_21-Nov-18 15:01
Vaclav_21-Nov-18 15:01 
GeneralRe: gcc configure for hardware Pin
Vaclav_21-Nov-18 15:13
Vaclav_21-Nov-18 15:13 
GeneralRe: gcc configure for hardware Pin
leon de boer22-Nov-18 5:10
leon de boer22-Nov-18 5:10 
GeneralRe: gcc configure for hardware Pin
Vaclav_22-Nov-18 6:26
Vaclav_22-Nov-18 6:26 
GeneralRe: gcc configure for hardware Pin
Richard Andrew x6422-Nov-18 10:08
professionalRichard Andrew x6422-Nov-18 10:08 
GeneralRe: gcc configure for hardware Pin
Vaclav_22-Nov-18 17:28
Vaclav_22-Nov-18 17:28 
GeneralRe: gcc configure for hardware Pin
leon de boer22-Nov-18 21:48
leon de boer22-Nov-18 21:48 
GeneralRe: gcc configure for hardware Pin
Vaclav_26-Nov-18 4:09
Vaclav_26-Nov-18 4:09 
GeneralRe: gcc configure for hardware Pin
Vaclav_26-Nov-18 6:54
Vaclav_26-Nov-18 6:54 
GeneralRe: gcc configure for hardware Pin
Vaclav_29-Nov-18 17:11
Vaclav_29-Nov-18 17:11 
GeneralRe: gcc configure for hardware Pin
Vaclav_30-Nov-18 4:44
Vaclav_30-Nov-18 4:44 
Questionproblems with pointer to struct Pin
Mohammad Ali Bahar18-Nov-18 23:15
Mohammad Ali Bahar18-Nov-18 23:15 
AnswerRe: problems with pointer to struct Pin
CPallini19-Nov-18 0:20
mveCPallini19-Nov-18 0:20 
AnswerRe: problems with pointer to struct Pin
leon de boer19-Nov-18 5:19
leon de boer19-Nov-18 5:19 
GeneralRe: problems with pointer to struct Pin
Mohammad Ali Bahar19-Nov-18 8:47
Mohammad Ali Bahar19-Nov-18 8:47 
GeneralRe: problems with pointer to struct Pin
leon de boer19-Nov-18 14:13
leon de boer19-Nov-18 14:13 
You are missing the point nothing I have done stops you using pointers on the interface Smile | :)

In my code above you could do
C++
/* This is called a static allocation */
/* You use the & symbol to make a pointer to the allocation */
static ECU_t ecu_test;
ECU_DoTask(&ecu_test);

Or you could do this
C++
/* This is called a dynamic allocation */
/* malloc makes space for the structure on the heap and gives you a pointer */
ECU_t* ecu_test = malloc(sizeof(ECU_t));
ECU_DoTask(ecu_test);

However none of that has anything remotely to do with what is in the structure and removing the pointers
and internally you have no way to know how I did the allocation externally Smile | :)

I think what has thrown you is me creating one of your structures without having to create it like
you want, but that is just me being tricky with C literals to give you something to test.
In vino veritas


modified 19-Nov-18 20:25pm.

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.