Click here to Skip to main content
15,499,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Local / unique Variable Macro question Pin
ForNow19-Jun-17 6:52
MemberForNow19-Jun-17 6:52 
GeneralRe: Local / unique Variable Macro question Pin
leon de boer19-Jun-17 10:16
Memberleon de boer19-Jun-17 10:16 
AnswerRe: Local / unique Variable Macro question Pin
Bram van Kampen28-Jun-17 14:21
MemberBram van Kampen28-Jun-17 14:21 
GeneralRe: Local / unique Variable Macro question Pin
ForNow28-Jun-17 14:47
MemberForNow28-Jun-17 14:47 
GeneralRe: Local / unique Variable Macro question Pin
Bram van Kampen28-Jun-17 15:21
MemberBram van Kampen28-Jun-17 15:21 
QuestionDisecting a PE File Pin
Bram van Kampen16-Jun-17 15:19
MemberBram van Kampen16-Jun-17 15:19 
AnswerRe: Disecting a PE File Pin
leon de boer17-Jun-17 4:17
Memberleon de boer17-Jun-17 4:17 
GeneralRe: Disecting a PE File Pin
Bram van Kampen18-Jun-17 13:46
MemberBram van Kampen18-Jun-17 13:46 
GeneralRe: Disecting a PE File Pin
harold aptroot18-Jun-17 4:11
Memberharold aptroot18-Jun-17 4:11 
GeneralRe: Disecting a PE File Pin
Bram van Kampen18-Jun-17 14:05
MemberBram van Kampen18-Jun-17 14:05 
GeneralRe: Disecting a PE File Pin
harold aptroot18-Jun-17 14:39
Memberharold aptroot18-Jun-17 14:39 
GeneralRe: Disecting a PE File Pin
Bram van Kampen19-Jun-17 14:27
MemberBram van Kampen19-Jun-17 14:27 
GeneralRe: Disecting a PE File Pin
harold aptroot19-Jun-17 15:27
Memberharold aptroot19-Jun-17 15:27 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan19-Jun-17 21:57
mveRichard MacCutchan19-Jun-17 21:57 
GeneralRe: Disecting a PE File Pin
Bram van Kampen29-Jun-17 13:00
MemberBram van Kampen29-Jun-17 13:00 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan29-Jun-17 22:28
mveRichard MacCutchan29-Jun-17 22:28 
GeneralRe: Disecting a PE File Pin
Bram van Kampen30-Jun-17 15:19
MemberBram van Kampen30-Jun-17 15:19 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan30-Jun-17 22:30
mveRichard MacCutchan30-Jun-17 22:30 
GeneralRe: Disecting a PE File Pin
Bram van Kampen2-Jul-17 14:26
MemberBram van Kampen2-Jul-17 14:26 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan2-Jul-17 22:42
mveRichard MacCutchan2-Jul-17 22:42 
QuestionStreamin proc for Rich edit Pin
ForNow16-Jun-17 10:27
MemberForNow16-Jun-17 10:27 
QuestionRe: Streamin proc for Rich edit Pin
David Crow16-Jun-17 18:40
MemberDavid Crow16-Jun-17 18:40 
AnswerRe: Streamin proc for Rich edit Pin
ForNow17-Jun-17 16:43
MemberForNow17-Jun-17 16:43 
GeneralRe: Streamin proc for Rich edit Pin
David Crow17-Jun-17 17:09
MemberDavid Crow17-Jun-17 17:09 
ForNow wrote:
should the stream in proc be a member of a class ?
It's not required. As long as it has this signature, it won't matter.

Now depending on what you want to do with the data sent to the callback function would better determine if you needed to make it a stand-alone function, or a static member of a class.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: Streamin proc for Rich edit Pin
ForNow17-Jun-17 17:28
MemberForNow17-Jun-17 17:28 

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.