Click here to Skip to main content
15,890,557 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
Questionfrom c pointer function to good object design Pin
mp3butcher2-Sep-08 5:14
mp3butcher2-Sep-08 5:14 
GeneralRe: from c pointer function to good object design Pin
led mike2-Sep-08 5:23
led mike2-Sep-08 5:23 
GeneralRe: from c pointer function to good object design Pin
mp3butcher2-Sep-08 5:53
mp3butcher2-Sep-08 5:53 
GeneralRe: from c pointer function to good object design Pin
led mike2-Sep-08 6:37
led mike2-Sep-08 6:37 
General[Message Deleted] Pin
mp3butcher2-Sep-08 22:10
mp3butcher2-Sep-08 22:10 
General[Message Deleted] Pin
mp3butcher2-Sep-08 22:38
mp3butcher2-Sep-08 22:38 
GeneralRe: from c pointer function to good object design Pin
mp3butcher3-Sep-08 1:35
mp3butcher3-Sep-08 1:35 
GeneralRe: from c pointer function to good object design Pin
led mike3-Sep-08 5:30
led mike3-Sep-08 5:30 
mp3butcher wrote:
MSVC2008 Compiler tells that member pointer functions,pointer function and boost::function haven't the same signature


Well I don't know what you did since you posted no code. What I do know is that I successfully reproduced the concepts discussed in that article I linked to using MSVC2008

Also I am now confused as to what you are attempting to do. You originally seemed to be asking about design but in this last post you say:

mp3butcher wrote:
So, I can't pass to my c function otherthing than a static (member) pointer function


Your C function is what it is. If you are asking what you can use to match the parameters of that function that's not even a design question.

If you are asking about design, I suggest you look at using interfaces rather than function pointers or functors or any of those new mechanisms.

"All other things being equal, the simplest solution is the best."
GeneralRe: from c pointer function to good object design Pin
mp3butcher3-Sep-08 23:17
mp3butcher3-Sep-08 23:17 
GeneralRe: from c pointer function to good object design Pin
led mike4-Sep-08 8:55
led mike4-Sep-08 8:55 
GeneralRe: from c pointer function to good object design Pin
mp3butcher4-Sep-08 21:48
mp3butcher4-Sep-08 21:48 
QuestionRe: from c pointer function to good object design Pin
led mike5-Sep-08 4:29
led mike5-Sep-08 4:29 
AnswerRe: from c pointer function to good object design Pin
mp3butcher5-Sep-08 4:55
mp3butcher5-Sep-08 4:55 
Questionloading images and text Pin
netJP12L1-Sep-08 19:03
netJP12L1-Sep-08 19:03 
AnswerRe: loading images and text Pin
Pete O'Hanlon1-Sep-08 23:00
mvePete O'Hanlon1-Sep-08 23:00 
AnswerRe: loading images and text Pin
alex.barylski15-Sep-08 18:40
alex.barylski15-Sep-08 18:40 
GeneralRe: loading images and text Pin
netJP12L16-Sep-08 4:59
netJP12L16-Sep-08 4:59 
GeneralRe: loading images and text Pin
Pete O'Hanlon16-Sep-08 12:07
mvePete O'Hanlon16-Sep-08 12:07 
QuestionFather class in how to use the special sub-category of type Pin
huangrongchuan31-Aug-08 21:56
huangrongchuan31-Aug-08 21:56 
QuestionPhone Number Internationalization Pin
k_dasaprakash31-Aug-08 3:21
k_dasaprakash31-Aug-08 3:21 
AnswerRe: Phone Number Internationalization Pin
Paul Conrad31-Aug-08 5:40
professionalPaul Conrad31-Aug-08 5:40 
AnswerRe: Phone Number Internationalization Pin
Pete O'Hanlon31-Aug-08 8:40
mvePete O'Hanlon31-Aug-08 8:40 
AnswerRe: Phone Number Internationalization Pin
Ray Cassick31-Aug-08 14:33
Ray Cassick31-Aug-08 14:33 
AnswerRe: Phone Number Internationalization [modified] Pin
txjudo18-Nov-08 2:32
txjudo18-Nov-08 2:32 
Questiongive me a solusion Pin
simonsinxer30-Aug-08 1:47
simonsinxer30-Aug-08 1:47 

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.