[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Hello everybody!
I just downloaded the precompiled MSVC DLL and the current WIP (3922)
distribution...
I coded a Delphi wrapper for the "all3922.dll" functions and am working
on all the macros and structs defined in "allegro.h".
Then I created a new Delphi project tried to initialize Allegro in
the event handler of a simple Button, but the main window just terminates?!?
Can someone briefly explain me how the "magic" of _WinMain & Co works?
and/or
Is it possible to implement an Allegro-MSVC-DLL method that takes a window
handle (HWND) and starts the library assigned to this handle?
Thanks,
Christian Stein.
PS: The windemo.exe (from the precompiled dll site) says:
" Error initialising sound
Failed to init MIDI music driver "
on a system with DX 6.1 and a Creative SB AWE64 Gold...