Common Resource in multiple applications
Hi Guys,
Just want to get some opinions on this. Say I have a dialog box that is
used in more than one application, as we all know, I can simply put the cpp
and h file in a common folder and add it to the project of both
applications.
The resource is a different story, would you simply copy and paste the
resource from one app into another, or would you create a common resource
that both projects would have to include?
Now multiply this question by 5 or 6. There are 6 applications that share
the same resources, but not everyone will need the same resources. Hopefully
everyone can follow what I'm saying. Say app 1, 2 , and 4 use resource X,
app 1, 3, and 6 use resource Y, and Apps 2, 5, and 6 use Resource Z. (I'm
not there yet, but it could come this soon).
The copy and paste is very ugly, and I'm starting to think about common
resource file, but how would you keep the resources ids from overlapping?
As I was typing I started thinking, "Maybe I should be using a resource
dll?"
But hey this is why I'm posting this message. To get ideas on how to do this
right.
Thanks
AliR.