[AD] Problem with allegro 3.9.30 and quicktime

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi,
I've tryed to post this message in the normal forum, but no one have
helped me.
Oh....sorry my poor english.
I'm not in the mailing list, then please reply to my mail (
stu5022@xxxxxxxxxx )

I'm an old user of winallegro.With the winallegro library i've added the
quicktime library to add support to mov and mp3 in my game.
With winallegro all was ok, only this warning compiling:


Linking...
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs; use /NODEFAULTLIB:library

I'm using visual c++ 5.

Beside this warning all was ok....the game runs with movie at the
beginning of the game and the allegro stuff after the movie.
The only problem was a slow down of mov in first 2 seconds, but all is
ok.
I've compiled the game with allegro 3.9.30  (31 have a bug with the
clear function, but my problem is the some).
The warning is the some of above.
The mov starts, all is perfect...no slowdowns!wow...problably a fix in
time rutine or sincronization of treads:)
The main screen load...all ok, i run the main game and crash...mmmm
I try to isolate the problem...the code crash in this call

 dat_obj[0]=getw(loader);

Strange...is a standard call.And this function is in LIBCMT...allegro
works fine with all calls, but if i try to use some call from libctm
i've this problem.
the some problem happens if dont' call the code of quicktime to start
the movie....if i add the quicktime lib the code crash.
Even if i don't use it.
In don't know how to solve the problem...can anyone help me?
The game crash without errors...no windows or message, only i'm trow in
the windows desktop.
I don't use softice, but if i run bound checker i've this in the program
transcript:
CREATE_PROCESS: 00400000
LOAD_DLL  base:7FBD0000  RPCRT4.dll
LOAD_DLL  base:BEAF0000  DSOUND.dll
LOAD_DLL  base:BFE90000  VERSION.dll
LOAD_DLL  base:82A22000  NTDLL.dll
LOAD_DLL  base:BAAA0000  DDRAW.dll
LOAD_DLL  base:BFE10000  WINMM.dll
LOAD_DLL  base:70000000  DINPUT.dll
LOAD_DLL  base:7FF30000  ole32.dll
LOAD_DLL  base:BFEA0000  ADVAPI32.dll
LOAD_DLL  base:BFF20000  GDI32.dll
LOAD_DLL  base:BFF50000  USER32.dll
LOAD_DLL  base:BFF70000  KERNEL32.dll
LOAD_DLL  base:10000000  all3930.dll
LOAD_DLL  base:5B270000  BCKLog.dll
LOAD_DLL  base:5B290000  BCKMOD.dll
LOAD_DLL  base:5B2D0000  bckproj.dll
LOAD_DLL  base:5B420000  SYMENGNT.dll
LOAD_DLL  base:0C000000  BCCORE.DLL
Username: Willyx
Machine: CE'NEDRA
Date: 07/02/00 23.57.29
CREATE_THREAD
CREATE_THREAD
LOAD_DLL  base:7DAC0000  HID.DLL
LOAD_DLL  base:7FC20000  MPR.dll
LOAD_DLL  base:7F840000  CFGMGR32.dll
LOAD_DLL  base:7FE70000  WINSPOOL.DRV
LOAD_DLL  base:7FE40000  comdlg32.dll
LOAD_DLL  base:BFE80000  LZ32.dll
LOAD_DLL  base:BFEB0000  COMCTL32.dll
LOAD_DLL  base:BFB50000  SHLWAPI.dll
LOAD_DLL  base:7FCE0000  SHELL32.dll
LOAD_DLL  base:79FB0000  SETUPAPI.dll
CREATE_THREAD
CREATE_THREAD
CREATE_THREAD
CREATE_THREAD
CREATE_THREAD
CREATE_THREAD
LOAD_DLL  base:66800000  QuickTime.qts
CREATE_THREAD
LOAD_DLL  base:7E5A0000  DCIMAN32.dll
CREATE_THREAD
CREATE_THREAD
LOAD_DLL  base:66DC0000  QuickTimeAuthoring.qtx
LOAD_DLL  base:66F20000  QuickTimeCapture.qtx
LOAD_DLL  base:66F60000  QuickTimeEffects.qtx
LOAD_DLL  base:66FD0000  QuickTime.qtx
LOAD_DLL  base:66CF0000  QuickTimeInternetExtras.qtx
LOAD_DLL  base:67040000  QuickTimeMusic.qtx
LOAD_DLL  base:67090000  QuickTimeQD3D.qtx
LOAD_DLL  base:78630000  WSOCK32.dll
LOAD_DLL  base:66B60000  QuickTimeStreaming.qtx
LOAD_DLL  base:78670000  WS2HELP.dll
LOAD_DLL  base:78000000  MSVCRT.dll
LOAD_DLL  base:78680000  WS2_32.dll
LOAD_DLL  base:78860000  WININET.dll
LOAD_DLL  base:7B040000  MSWSOCK.dll
LOAD_DLL  base:67140000  QuickTimeStreamingAuthoring.qtx
LOAD_DLL  base:671C0000  QuickTimeStreamingExtras.qtx
LOAD_DLL  base:05EC0000  QuickTimeVR.qtx
CREATE_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
UNLOAD_DLL (QuickTimeVR.qtx) base: 05EC0000
UNLOAD_DLL (QuickTimeStreamingExtras.qtx) base: 671C0000
UNLOAD_DLL (QuickTimeStreamingAuthoring.qtx) base: 67140000
UNLOAD_DLL (QuickTimeStreaming.qtx) base: 66B60000
UNLOAD_DLL (QuickTimeQD3D.qtx) base: 67090000
UNLOAD_DLL (QuickTimeMusic.qtx) base: 67040000
UNLOAD_DLL (QuickTimeInternetExtras.qtx) base: 66CF0000
UNLOAD_DLL (QuickTime.qtx) base: 66FD0000
UNLOAD_DLL (QuickTimeEffects.qtx) base: 66F60000
UNLOAD_DLL (QuickTimeCapture.qtx) base: 66F20000
UNLOAD_DLL (QuickTimeAuthoring.qtx) base: 66DC0000
UNLOAD_DLL (DCIMAN32.dll) base: 7E5A0000
EXIT_THREAD
UNLOAD_DLL (QuickTime.qts) base: 66800000
CREATE_THREAD
CREATE_THREAD
EXIT_THREAD
EXIT_THREAD
LOAD_DLL  base:7D6C0000  IMAGEHLP.dll
EXCEPTION(2nd Chance) Exception:  Access Violation
code: C0000005  addr:BFF7B997
KERNEL32.dll-0000B997 (BFF70000)
invalid write to 00000256
EAX:00000000 EBX:00A0FC98 ECX:004464B0
EDX:000000B6 ESI:00449BF8 EDI:00000011
ESP:00A0FAA8 EBP:00A0FAB8 EIP:BFF7B997
EFLAGS:00200246
CS:015F DS:0167 ES:0167
SS:0167 FS:822F GS:0000
Stack dump
02B905C0:BFF957D9:00449BF8:0000001F
Call stack
KERNEL32.dll!0000B997
!00038A34
!00038AC5
!000388F1
!0000B127
Exception:  Access Violation
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_THREAD
EXIT_PROCESS




and in program result:
Program fault
Access Violation (C0000005)
EIP:BFF7B997  EBP:00A0FAB8  ESP:00A0FAA8

if u need more info or the code mail me event to tell me that u have no
idea....
Thanks.

--

Willyx, Main coder of Genocide Team
  http://em192.unife.it/%7EWilly/




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/