zakro
April 22nd, 1999, 01:30 AM
I have to generate dialog template in the .RC file. For each dialog in this file exists section 'Dialog info'. In this section are included definitions of all OCX controls from the dialog. How can I generate such a control definition. Which of the OCX control inforfaces are used by VC++ to generate this info?
mihai
April 26th, 1999, 11:23 AM
If I understood your problem well, I am thinking that the LoadLibrary, FindResource, LoadResource APIs can be usefull. After, you load a resource file you can do what you need,
Sincerely, Mihai
zakro
April 27th, 1999, 12:03 AM
Thanks for response but I need something else. Imagine that you have instance of the ActiveX control and from this instance you have to generate definition of this control in the .RC file (just like VC++ do it). I need to generate definition just like in Dialog info section in .RC file.