[ODE] MessageBox

Michal Bacik michal at lonelycatgames.com
Wed Feb 19 10:45:02 2003


> stehwn wrote:
> > when compiling i get the following error:
> >
> > ode.lib(error.obj) : error LNK2001: unsolved external symbol
> > __imp__MessageBoxA@16
> >
> > but the ode.lib is linked correctly.
>
> I had the same problem, I just commented out the calls to MessageBox in
> error.cpp.
> Maybe not really the way it should be solved, but hey, it works :)


You should link with user32.lib. Btw, read Win Platform SDK help from MSDN,
and you'll learn which import libraries each function requires.

- mb