Click here to Skip to main content
16,015,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDLL and STL in function parameters Pin
beko16-Aug-10 21:02
beko16-Aug-10 21:02 
AnswerRe: DLL and STL in function parameters Pin
Aescleal16-Aug-10 21:28
Aescleal16-Aug-10 21:28 
AnswerRe: DLL and STL in function parameters Pin
Moak17-Aug-10 0:28
Moak17-Aug-10 0:28 
GeneralRe: DLL and STL in function parameters Pin
beko17-Aug-10 1:08
beko17-Aug-10 1:08 
GeneralRe: DLL and STL in function parameters Pin
Moak17-Aug-10 1:27
Moak17-Aug-10 1:27 
GeneralRe: DLL and STL in function parameters Pin
beko17-Aug-10 2:10
beko17-Aug-10 2:10 
GeneralRe: DLL and STL in function parameters Pin
Aescleal17-Aug-10 2:54
Aescleal17-Aug-10 2:54 
GeneralRe: DLL and STL in function parameters Pin
beko17-Aug-10 3:22
beko17-Aug-10 3:22 
Dear Ash,

Thank you for such a detailed answer, at first i thought i can have data set and implement different operations on that data set (Area, Perimeter and some clipping operations)

Defining an interface and hide the data in concrete classes and use interface functions to operate on is another perhaps better way. I had already looked into below link. Mature Approach part is similar to yours except virtual destructor is replaced by a Release() method and Smart Pointer calls that function for clean-up.

HowTo: Export C++ classes from a DLL[^]

Again thank you for the answers.

Best Regards.
GeneralRe: DLL and STL in function parameters Pin
Aescleal17-Aug-10 3:28
Aescleal17-Aug-10 3:28 
Questionprocessor time Pin
AbhiHcl16-Aug-10 19:51
AbhiHcl16-Aug-10 19:51 
AnswerRe: processor time Pin
Aescleal16-Aug-10 21:03
Aescleal16-Aug-10 21:03 
AnswerRe: processor time Pin
Moak17-Aug-10 0:55
Moak17-Aug-10 0:55 
QuestionHow to rotate a rectangle in Bitmap Pin
raju_shiva16-Aug-10 19:27
raju_shiva16-Aug-10 19:27 
AnswerRe: How to rotate a rectangle in Bitmap Pin
Peter_in_278016-Aug-10 20:32
professionalPeter_in_278016-Aug-10 20:32 
GeneralRe: How to rotate a rectangle in Bitmap Pin
raju_shiva16-Aug-10 22:57
raju_shiva16-Aug-10 22:57 
QuestionReading Directory Pin
Fareed Rizkalla16-Aug-10 16:18
Fareed Rizkalla16-Aug-10 16:18 
AnswerRe: Reading Directory Pin
Cool_Dev16-Aug-10 18:09
Cool_Dev16-Aug-10 18:09 
AnswerRe: Reading Directory Pin
«_Superman_»16-Aug-10 18:16
professional«_Superman_»16-Aug-10 18:16 
GeneralRe: Reading Directory Pin
Aescleal16-Aug-10 21:06
Aescleal16-Aug-10 21:06 
GeneralRe: Reading Directory Pin
«_Superman_»16-Aug-10 21:43
professional«_Superman_»16-Aug-10 21:43 
GeneralRe: Reading Directory Pin
Aescleal17-Aug-10 5:30
Aescleal17-Aug-10 5:30 
QuestionReading CPU Temperature (including each core temperature) without third party tools Pin
ant-damage16-Aug-10 11:21
ant-damage16-Aug-10 11:21 
AnswerRe: Reading CPU Temperature (including each core temperature) without third party tools Pin
Fareed Rizkalla16-Aug-10 16:18
Fareed Rizkalla16-Aug-10 16:18 
GeneralRe: Reading CPU Temperature (including each core temperature) without third party tools [modified] Pin
ant-damage17-Aug-10 1:17
ant-damage17-Aug-10 1:17 
QuestionRe: Reading CPU Temperature (including each core temperature) without third party tools Pin
David Crow17-Aug-10 8:44
David Crow17-Aug-10 8:44 

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.