Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPlease Help-Device Driver Development in VC++ Pin
Mirza Faizan10-Nov-04 20:57
Mirza Faizan10-Nov-04 20:57 
GeneralRemote Desktop Access Pin
Anshul Mehra10-Nov-04 20:15
professionalAnshul Mehra10-Nov-04 20:15 
GeneralTiling jpeg as dialog backgroung Pin
Tariq87810-Nov-04 19:43
Tariq87810-Nov-04 19:43 
GeneralRe: Tiling jpeg as dialog backgroung Pin
ThatsAlok10-Nov-04 22:06
ThatsAlok10-Nov-04 22:06 
Generalpointer to function from its name Pin
fickdb10-Nov-04 18:16
fickdb10-Nov-04 18:16 
Generaltake alook Pin
Anonymous10-Nov-04 19:47
Anonymous10-Nov-04 19:47 
GeneralRe: take alook Pin
fickdb11-Nov-04 4:42
fickdb11-Nov-04 4:42 
GeneralRe: pointer to function from its name Pin
jan larsen10-Nov-04 23:47
jan larsen10-Nov-04 23:47 
The only way I know of, is to get the pointer to a function exported in a dll.

The C/C++ compiler takes the name of your function and translates it to an adress, no meta information is preserved when the application is compiled.
That's why we got file specifications like dll and elf, they describe a format that allows for exporting function tables.

If it's a feature you really need, then you could use a Hashtable to store pointers to your functions mapped by their name.

"After all it's just text at the end of the day. - Colin Davies

"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
GeneralRe: pointer to function from its name Pin
fickdb11-Nov-04 4:46
fickdb11-Nov-04 4:46 
GeneralRe: Templates? Pin
Budric B.11-Nov-04 5:45
Budric B.11-Nov-04 5:45 
GeneralRe: Templates? Pin
fickdb11-Nov-04 6:59
fickdb11-Nov-04 6:59 
GeneralRe: pointer to function from its name Pin
jan larsen12-Nov-04 0:21
jan larsen12-Nov-04 0:21 
GeneralSolution ? Seems to work ;) Pin
fickdb12-Nov-04 0:49
fickdb12-Nov-04 0:49 
GeneralRe: Solution ? Seems to work ;) Pin
Anonymous12-Nov-04 10:22
Anonymous12-Nov-04 10:22 
GeneralCreating Dialog Based Application which takes Paramters as input. Pin
Anonymous10-Nov-04 17:52
Anonymous10-Nov-04 17:52 
GeneralRe: Creating Dialog Based Application which takes Paramters as input. Pin
Kapoor Vikrant11-Nov-04 0:39
Kapoor Vikrant11-Nov-04 0:39 
QuestionHow to do Insert ,delete actions in SQL Database using C++? Pin
pubududilena10-Nov-04 17:18
pubududilena10-Nov-04 17:18 
AnswerRe: How to do Insert ,delete actions in SQL Database using C++? Pin
Steve S11-Nov-04 0:44
Steve S11-Nov-04 0:44 
QuestionCan I export BC++4.5 project to VC++? Pin
alexdai10-Nov-04 16:03
alexdai10-Nov-04 16:03 
Generalactivex Pin
hou_12610-Nov-04 13:54
hou_12610-Nov-04 13:54 
GeneralRe: activex Pin
bryce10-Nov-04 14:59
bryce10-Nov-04 14:59 
GeneralRe: activex Pin
hou_12610-Nov-04 15:09
hou_12610-Nov-04 15:09 
GeneralVisual C++ test Pin
act_x10-Nov-04 12:57
act_x10-Nov-04 12:57 
GeneralRe: Visual C++ test Pin
Christian Graus10-Nov-04 13:17
protectorChristian Graus10-Nov-04 13:17 
GeneralRe: Visual C++ test Pin
Anonymous10-Nov-04 13:23
Anonymous10-Nov-04 13:23 

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.