I have a problem: after calling SDL_Init, if I call MessageBox, it doesn’t
work.
SDL_Init ends with a DInput error (need to upgrade)
but I want to tell the user this message.
and MessageBox(NULL,“test”,“test”,0) display nothing.
(I’ve tried with MB_TOPMOST, nothing…)
Gautier Portet
http://www.TLK.fr
I have a problem: after calling SDL_Init, if I call MessageBox, it doesn’t
work.
SDL_Init ends with a DInput error (need to upgrade)
but I want to tell the user this message.
and MessageBox(NULL,“test”,“test”,0) display nothing.
(I’ve tried with MB_TOPMOST, nothing…)
Are you linking with the SDLmain library?
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
The problem may be that you need to specify MB_OK or something similar for
the last parameter.> ----- Original Message -----
From: slouken@devolution.com (Sam Lantinga)
Newsgroups: loki.open-source.sdl
Sent: Monday, October 23, 2000 12:33 AM
Subject: Re: SDL_Init() problem on win32
I have a problem: after calling SDL_Init, if I call MessageBox, it
doesn’t
work.
SDL_Init ends with a DInput error (need to upgrade)
but I want to tell the user this message.
and MessageBox(NULL,“test”,“test”,0) display nothing.
(I’ve tried with MB_TOPMOST, nothing…)
Are you linking with the SDLmain library?
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software