is it possible to create a class that is created by another program?

ie, get the class info with GetClassInfo, put it in a wc class, and create it? and is that possible or just restricted within the certain program that made it, since u probably wont have access to the wndproc for it

for example:

i made a class in my own program. while its running.

is it possible to call that class out of no where as long as its registered, while that program is running, and use its code? im askin cause i see how it register the class to window and such. i know u can get some of the window class like "button" and "static"
Posted on 2003-04-15 23:48:22 by xkardisx

is it possible to create a class that is created by another program

Yes, it is called MTS and COM ;)

But that is not the question you were asking.... No, you cannot access a window class registered by another process. If you really need to, then you should consider holding the class info somewhere central, like a dll, resource dll, ini file, registry, etc.
Posted on 2003-04-16 00:01:08 by sluggy