Click here to Skip to main content
15,920,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Unicode support Pin
Stuart Dootson9-Feb-10 22:21
professionalStuart Dootson9-Feb-10 22:21 
QuestionHow can i read/write CD using MFC classes..? Pin
Abhijit D. Babar9-Feb-10 18:55
Abhijit D. Babar9-Feb-10 18:55 
AnswerRe: How can i read/write CD using MFC classes..? Pin
CPallini9-Feb-10 20:40
mveCPallini9-Feb-10 20:40 
GeneralRe: How can i read/write CD using MFC classes..? Pin
Abhijit D. Babar9-Feb-10 21:49
Abhijit D. Babar9-Feb-10 21:49 
GeneralRe: How can i read/write CD using MFC classes..? Pin
CPallini9-Feb-10 21:54
mveCPallini9-Feb-10 21:54 
GeneralRe: How can i read/write CD using MFC classes..? Pin
Abhijit D. Babar9-Feb-10 22:17
Abhijit D. Babar9-Feb-10 22:17 
GeneralRe: How can i read/write CD using MFC classes..? Pin
CPallini9-Feb-10 22:27
mveCPallini9-Feb-10 22:27 
GeneralRe: How can i read/write CD using MFC classes..? Pin
Stuart Dootson9-Feb-10 22:36
professionalStuart Dootson9-Feb-10 22:36 
GeneralRe: How can i read/write CD using MFC classes..? [modified] Pin
Abhijit D. Babar10-Feb-10 1:20
Abhijit D. Babar10-Feb-10 1:20 
AnswerRe: How can i read/write CD using MFC classes..? Pin
David Crow10-Feb-10 4:01
David Crow10-Feb-10 4:01 
QuestionSoftware Tools Pin
Anil Kumar.Arvapalli9-Feb-10 17:44
Anil Kumar.Arvapalli9-Feb-10 17:44 
AnswerRe: Software Tools Pin
«_Superman_»9-Feb-10 18:17
professional«_Superman_»9-Feb-10 18:17 
AnswerRe: Software Tools Pin
CPallini9-Feb-10 20:36
mveCPallini9-Feb-10 20:36 
QuestionMultiple #define with same name Pin
dipuks9-Feb-10 10:44
dipuks9-Feb-10 10:44 
AnswerRe: Multiple #define with same name Pin
LunaticFringe9-Feb-10 10:50
LunaticFringe9-Feb-10 10:50 
AnswerRe: Multiple #define with same name Pin
Abhi Lahare9-Feb-10 10:52
Abhi Lahare9-Feb-10 10:52 
AnswerRe: Multiple #define with same name Pin
loyal ginger9-Feb-10 11:15
loyal ginger9-Feb-10 11:15 
AnswerRe: Multiple #define with same name Pin
Maximilien9-Feb-10 11:17
Maximilien9-Feb-10 11:17 
AnswerRe: Multiple #define with same name Pin
Luc Pattyn9-Feb-10 11:38
sitebuilderLuc Pattyn9-Feb-10 11:38 
GeneralRe: Multiple #define with same name Pin
Maximilien9-Feb-10 15:15
Maximilien9-Feb-10 15:15 
AnswerRe: Multiple #define with same name Pin
T21029-Feb-10 20:56
T21029-Feb-10 20:56 
AnswerRe: Multiple #define with same name Pin
David Crow10-Feb-10 4:03
David Crow10-Feb-10 4:03 
QuestionFile Input/Output [solved] Pin
Eugén Jung9-Feb-10 8:33
Eugén Jung9-Feb-10 8:33 
AnswerRe: File Input/Output Pin
Maximilien9-Feb-10 9:03
Maximilien9-Feb-10 9:03 
QuestionHow to call global functions of dll with void* (or some more generic pointer) Pin
glitteringsound9-Feb-10 7:35
glitteringsound9-Feb-10 7:35 
Hello,

I need to call all global functions(probably several) that are exported in a DLL but using only single generic pointer.
I am loading dll with LoadLibrary function and getting all exports with GetProcAddress, this needs to be type casted with that function pointer of which type the function is really itself.

I don't know how many exported functions are there in DLL and how many no of parameters on which they are operating.This prevents me to define generic type of pointer for every function call working for GetProcAddress.(void* is possible but still we cannot generate function call, gives compile time error)

This problem can be resolved when you have all member functions of some class. You can rely on 'this' of that class and function pointer can be declared of that class. Moreover all functions with single function pointer can be called with some boost API bindings.

But for all global and EXPORTED functions of DLL, how this problem can be solved.

Regards
Muhammad Usman Khalil

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.