EXE resources
-
hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Question: -how to insert one of these resources (for example a complex dialog to use it as a starting point for layout a similar one) into an existing project? thanks in advance for any tip best regards
-
hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Question: -how to insert one of these resources (for example a complex dialog to use it as a starting point for layout a similar one) into an existing project? thanks in advance for any tip best regards
In VC 6, resources were a text format which you could copy between projects. I dunno if this is still the case tho. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
-
hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Question: -how to insert one of these resources (for example a complex dialog to use it as a starting point for layout a similar one) into an existing project? thanks in advance for any tip best regards
lbc wrote: hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. Now if you are using VC++7 with a managed C++ project, it's of course a different matter. You can't copy/paste resources from/to a .rc to a .resx In fact, what you need is a VC add-in. But I wonder how many years you have to wait before someone comes with such a useful tool (which should have been provided by the way by MS). These days, people on Cp seem to love articles for instance explaining how to crack a url, even though at the end they just use ::InternetCrackUrl(). As long as we are stuffed with this kind of shit, I am afraid you are unlikely to see anything good for you or for the overall dev community. Good luck!
Back to real work : D-16.
-
lbc wrote: hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. Now if you are using VC++7 with a managed C++ project, it's of course a different matter. You can't copy/paste resources from/to a .rc to a .resx In fact, what you need is a VC add-in. But I wonder how many years you have to wait before someone comes with such a useful tool (which should have been provided by the way by MS). These days, people on Cp seem to love articles for instance explaining how to crack a url, even though at the end they just use ::InternetCrackUrl(). As long as we are stuffed with this kind of shit, I am afraid you are unlikely to see anything good for you or for the overall dev community. Good luck!
Back to real work : D-16.
add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required hope it solves your problem
-
add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required hope it solves your problem
udayGovekar wrote: add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required :confused: What do you mean ? Aren't you saying that although you can copy/paste resources from two projects, it won't work in the end ? udayGovekar wrote: hope it solves your problem Not mine, eh.
Back to real work : D-16.
-
udayGovekar wrote: add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required :confused: What do you mean ? Aren't you saying that although you can copy/paste resources from two projects, it won't work in the end ? udayGovekar wrote: hope it solves your problem Not mine, eh.
Back to real work : D-16.
you copy and pasted the rsource but still it might give you a compilation error because of ID not defined. I have done simillar kind of work in one of my projects, it gave compilation error. Delete the resouce you have added for copying into ur current project
-
you copy and pasted the rsource but still it might give you a compilation error because of ID not defined. I have done simillar kind of work in one of my projects, it gave compilation error. Delete the resouce you have added for copying into ur current project
It might giving u error saying some resource not defined, chek for that and update your string table If still there is a problem then tell me what exaclty the error message is
-
It might giving u error saying some resource not defined, chek for that and update your string table If still there is a problem then tell me what exaclty the error message is
I have to disagree then. I have just done a test and when I pasted the dialog and menus from another project, all the missing resource IDs in resource.h have been created. At least it works for dialogs and menus. What are the kind of resources which raised issues for you ?
Back to real work : D-16.
-
lbc wrote: hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. Now if you are using VC++7 with a managed C++ project, it's of course a different matter. You can't copy/paste resources from/to a .rc to a .resx In fact, what you need is a VC add-in. But I wonder how many years you have to wait before someone comes with such a useful tool (which should have been provided by the way by MS). These days, people on Cp seem to love articles for instance explaining how to crack a url, even though at the end they just use ::InternetCrackUrl(). As long as we are stuffed with this kind of shit, I am afraid you are unlikely to see anything good for you or for the overall dev community. Good luck!
Back to real work : D-16.
Thank you both guys >>Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. you are rigth, i have tried again and this time it works as advertised for some strange reason the 'paste' action was grayed before on the resource tree inside my vc7 IDE thanks again! best regards