View previous topic :: View next topic |
Author |
Message |
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Sat Feb 02, 2008 10:55 am Post subject: How to start a windows project? |
|
|
I just want to make an OpenGL application, for that I need to create a window application, but I am not able to launch the Window. How I need create the project to remove the console and active the window?
I am using the basic window sample from Digital mars. |
|
Back to top |
|
|
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Sat Feb 02, 2008 12:17 pm Post subject: |
|
|
I finaly find a way to build the sample of digital mars.
Now I need find how to use OpenGL.
How can I debug my program? I can put break points, but when I launch the "Run Debugger" Poseidon freeze.
I set the debugger path to :
dmd\bin\windbg.exe |
|
Back to top |
|
|
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Sat Feb 02, 2008 7:30 pm Post subject: |
|
|
I have build the openGL lib.
I get the tool implib (basic tools of dm), use .def from the SVN of Bindings project.
I have to try the openGL now. |
|
Back to top |
|
|
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Sun Feb 03, 2008 5:02 am Post subject: |
|
|
I finally download the delerict project. Now I am able to build and link openGL functions in my MFC project.
I have change the WinMain entry point to a classic main.
I'll try to attach the openGL render to the MFC context.
After that I'll post my project with an installation guide. |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Wed Feb 20, 2008 12:47 am Post subject: |
|
|
flamaros wrote: | How can I debug my program? I can put break points, but when I launch the "Run Debugger" Poseidon freeze.
I set the debugger path to :
dmd\bin\windbg.exe |
Freeze? You mean Poseidon crash? or you can push run/resume button to strat debug. |
|
Back to top |
|
|
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Wed Feb 20, 2008 12:34 pm Post subject: |
|
|
It's like a crash, I need kill poseidon, because I can't quit the debugger. |
|
Back to top |
|
|
|