Link to home
Start Free TrialLog in
Avatar of sram
sram

asked on

Multiple files

If many people were working on a task and all on differant views like one person on Dialogs the other person on a graph interface playing with the OnDraw function. If the graph interface has to be brought into the dialog project by not modifying the dialog project and only including the files of the graph task. How do I do it ? Since both use the CMyView class there is bound to be sharing or multiple declaratins problems How do I solv ethis problem. And does the Invalidate function work with a constructor?
Avatar of kinkajou
kinkajou

Could you simplify your question and use shorter sentences. Your question is confusing. It does sound like this is a case for multi-threading your functions to handle your dialog and graph interface so that they are not using the same instance of the OnDraw() function.
Avatar of sram

ASKER

There are two people working in the task 1) Working on the Dialogs. 2) Working on Graph task. What has to be done to pull the graph task (which uses the OnDraw()) into the Dialog project?
This had to be done only by adding the graph task files to the dialog project.Since both use the view class there is a linking error.(LNK2005).
ASKER CERTIFIED SOLUTION
Avatar of Priyesh
Priyesh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial