   Using my window class #include<> style???
  I recently made a windows class now i''m wondering how I can make it so that it works if I were to do #include and make it work. I know I have to move it to the vc++ include folder. But what would I put in the .h file? I already wrote the class. Thanks,Cory   Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!| 
  You would use VC++ to create a .h file and then put it in the include folder, then you can use the #include <filename(or filename.h)> function.Hope this helps-Dark One   [edited by - DarkOneEntertainment on February 15, 2004 1:06:12 AM];  I know that but I need to know what goes in the .h file? How does a .h file with nothing in it do something. I have only a window class written in a c++ file. How do I make it so that I can use that class in other programs?Thanks,Cory   Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|;  Ouch, that makes me seem to people even dumber...I misread what you put, you would put your coding for your class in the .h file. Sorry for messing up.- Dark One ;  Thanks man I was thinking it was harder than it really is.   Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|;  You''ve got two choices. Either you can put the entire window class and code into the header, or you could just put the class definition in there and somehow link the code in seperate (a library, or just including the .cpp file).BTW, I wouldn''t recommend moving any of your own stuff into the VC++ include folder - instead, try creating your own ''includes'' folder, putting all your homebrewed headers in there, and then adding that folder to the include search path (in VC6, Tools->Options->Directories).   Richard "Superpig" Fine[TBRF|GP&T|Enginuity1|Enginuity2|Enginuity3|Enginuity4|Enginuity5];  I'm not sure if the preprocessor interprets it differently, but people tend to use quotation marks (#include "header.hpp") with their own headers, and the greater than / less than symbols (#include <header.hpp> ) with external libraries.   [edited by - psykr on February 15, 2004 11:36:40 AM];  to add to what psykr said, the only difference is where the files are searched from.  when you #include <>, vs will first look through its include files to find the appropriate file.  when you #include "", vs searches your directories first.  both methods search both locations, just in different orders.-brad 