I'm trying to make a general plugin based on a standalone exe I have already made. The program has one window with 2 buttons on it. Maybe I'm missing something, but when I try to run it, nothing happens. I have all the CreateWindow() code in the init() function. I'm not that familiar with Windows programming (this is actually my first program written in C for Windows. I'm surprised the standalone version actually worked

). So my questions: How do you make a window in a DLL? Do you have to use a window class? Am I totally off and you can only use dialog boxes? Any help would be greatly appreciated.