|
|
 | | From: | Bjorn | | Subject: | DLL that can create Windows | | Date: | 19 Jan 2005 08:46:34 -0800 |
|
|
 | Where's the best place to ask this sort of question - is it here? It's about writing MS Windows DLLs that control windows itself. I tried posting in comp.lang.c++ but got told it was the wrong place to list, but no-one gave me any suggestion as to where it should go. As far as I can find, there is no MS Windows C++ development group that is any good here. I've tried experts exchange, but had no joy there. Anyway, here's the question....
I was using the Irrlicht 3D graphics engine on Windows and noticed that you only need a console application to control everything.
E.g. to create a window, all you need to do is include and link to the irrlicht library and call one function from a console app - how is this possible? How do you create a DLL that can open a window which is controllable from a simple console app?
e.g.
#include using namespace irr; using namespace core; using namespace scene;
#pragma comment(lib, "Irrlicht.lib") int main() { IrrlichtDevice *device = createDevice(EDT_SOFTWARE, dimension2d(512, 384), 16,false, false, false, 0);
while(1) { } }
See http://irrlicht.sourceforge.net/tut001.html
|
|
 | | From: | Programmer Dude | | Subject: | Re: DLL that can create Windows | | Date: | Wed, 19 Jan 2005 11:04:31 -0600 |
|
|
 | Bjorn writes:
> E.g. to create a window, all you need to do is include and link to the > irrlicht library and call one function from a console app - how is > this possible?
Even a "console" app in Windows is running "in Windows". The entire Windows API is available, including the part that controls windows.
> How do you create a DLL that can open a window which is > controllable from a simple console app?
Exactly the same as you'd create any Windows DLL.
|
|
 | | From: | CBFalconer | | Subject: | Re: DLL that can create Windows | | Date: | Wed, 19 Jan 2005 20:10:42 GMT |
|
|
 | Bjorn wrote: > > Where's the best place to ask this sort of question - is it here? > It's about writing MS Windows DLLs that control windows itself. > I tried posting in comp.lang.c++ but got told it was the wrong place > to list, but no-one gave me any suggestion as to where it should go. > As far as I can find, there is no MS Windows C++ development group > that is any good here.
Well, I see at least 15 groups under the heading comp.os.ms-windows.programmer. One of them is graphics.
-- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson
|
|
|