i wrote code.
but show errors..
--------
Assertion failed!
Program: ...nts\projects\nginx\x64\Debug\allegro-debug-5.2.dll
File: C:\dev\allegro_winpkg\universal\all...\transfo...tions.c
Line: 32
Expression: src
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
--------
what should i check?
For some reason your bitmap is NULL.
Make sure it loaded correctly, and that you're not destroying it early.
the same problem occurs in the this code.
and bitmap is not NULL
-----------
in main.c ( work )
movement_character(.....);
but,
in sock_client_framework.c ( error )
movement_character(.....);
Most likely you're using a shadowed variable instead of an extern one.
Show more code, like where you declare and define the bitmap objects.
EDIT
Wait, I didn't see the difference between code at first.
If the bitmap is NULL on loading, then you have a problem with the current working directory or filename.
sock_client_framework.c
on ERROR.
but main.c
worked.
and currently movement_character function in player.c
------------
so...Could this be a problem?
code is in void __cdecl RecvThread(void* p);
and RecvThread called with beginthread.
Can you post a zip file of your source code and resources please?
It's failing an assertion inside transformations.c in al_copy_transform where the source transform is NULL.
I need to debug this to know exactly why.
I'm guessing it's something to do with threading and displays but I can't say for sure.
Oh i solved that.
I fixed that implement Without Thread.
But i have other problem.....:(
You can make another post or you can just add it here.