From: <fd...@fr...> - 2001-10-10 14:06:38
|
Thank a very lot (french-english expression) IT WORKS NOW ! (very good feeling) But in doc may be it will be nice for other peoples to add all these informations about linking MSVC and static lib (i don't now whose "director" or member's communauty takes care of the allegro's doc) 1/ #define ALLEGRO_STATICLINK #include <allegro.h> 2/ in the setting / C C++/code generation/use run-time library / Debug Multithreaded DLL (Multithreaded DLL for release's one) 3/ in the setting / link/object library module link to the standard libs that's (the order is important) kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib \ dinput.lib ddraw.lib dxguid.lib winmm.lib dsound.lib \...(some other lib) ...\ alld_s.lib (or alleg_s.lib) very happy : the reason is that the wips are many and it is more easy to link with static libs Frédéric |