Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 900 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
level does not display #61699
01/07/06 16:45
01/07/06 16:45
Joined: Jan 2003
Posts: 160
Game Wizard Offline OP
Member
Game Wizard  Offline OP
Member

Joined: Jan 2003
Posts: 160
I have a mfc application which I have linked to the engine using the first example. So I added:

ENGINE_VARS *ev = engine_open(NULL);
if (!ev) return 1; // acknex.dll not found
level_load("testlevel.wmb");
while (engine_frame())
{
}
engine_close();

The app runs and I get a blank window. However, the level does not appear. After about 5 seconds the app exits without error or any error messages. The testlevel.wmb is just a cube. I have tried placing the .wmb file in various folders. I have the commercial 6.4 version.

I do already have an mfc dll that works fine under 6.22.

Any ideas? If the engine might be generating an error message like "file not found", is there something more I need to do to get the message displayed? Also, so far I cannot find any log file that was produced.

Thanks...

Any ideas.

I added the log file option to the open_engine() function call. The log file shows no errors. It ends stating that the startup window was opened. It behaves the same whether I put the level name in the open call or if I do not but add a level_load(). I put copies of my testlevel.wmb in a number of different folders surrounding the app folder in case it is a path issue.
I did add a -black to the open_engine and it does work to change the startup window background to black.

During the 5 seconds, or so, that the window is up, the esc key does nothing and the cursor shows as a hourglass when over the window. So perhaps the engine is doing something and times out.

Last edited by Game Wizard; 01/08/06 16:15.
Re: level does not display [Re: Game Wizard] #61700
01/09/06 00:01
01/09/06 00:01
Joined: Jan 2003
Posts: 160
Game Wizard Offline OP
Member
Game Wizard  Offline OP
Member

Joined: Jan 2003
Posts: 160
It seems as if engine_open() does not return. When the app exits, I get:
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'G:\GameDev\project\RiftExe\acknex.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\dsound.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\winmm.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\dinput8.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wsock32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ws2_32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ws2help.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\d3d9.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\d3d8thk.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\AckUtl.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\d3dxof.dll', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32\MFC42D.DLL'
Loaded symbols for 'C:\WINDOWS\system32\MSVCRTD.DLL'
Loaded 'C:\WINDOWS\system32\serwvdrv.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\umdmxfrm.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ctwdm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\TabHook.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wdmaud.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ctwdm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ctwdm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ctwdm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ctwdm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ctwdm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msacm32.drv', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msacm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\midimap.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\mcicda.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ksuser.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\hid.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\setupapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ntmarta.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wldap32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\samlib.dll', no matching symbolic information found.
The thread 0xDD8 has exited with code 0 (0x0).
The thread 0xCCC has exited with code 0 (0x0).
The thread 0xF0 has exited with code 0 (0x0).
Detected memory leaks!
Dumping objects ->
strcore.cpp(118) : {87} normal block at 0x00C74DD0, 18 bytes long.
Data: < Read> 01 00 00 00 05 00 00 00 05 00 00 00 52 65 61 64
array_p.cpp(110) : {84} normal block at 0x00C753B8, 20 bytes long.
Data: < tD > 00 00 00 00 74 44 C7 00 00 00 00 00 CD CD CD CD
array_p.cpp(71) : {83} normal block at 0x00C75370, 4 bytes long.
Data: < > 00 00 00 00
winfrm2.cpp(66) : {82} client block at 0x00C75288, subtype 0, 168 bytes long.
a CDockBar object at $00C75288, 168 bytes long
array_p.cpp(71) : {81} normal block at 0x00C75240, 4 bytes long.
Data: < > 00 00 00 00
winfrm2.cpp(66) : {80} client block at 0x00C75158, subtype 0, 168 bytes long.
a CDockBar object at $00C75158, 168 bytes long
array_p.cpp(71) : {79} normal block at 0x00C75110, 4 bytes long.
Data: < > 00 00 00 00
winfrm2.cpp(66) : {78} client block at 0x00C75028, subtype 0, 168 bytes long.
a CDockBar object at $00C75028, 168 bytes long
winfrm2.cpp(66) : {76} client block at 0x00C74CE8, subtype 0, 168 bytes long.
a CDockBar object at $00C74CE8, 168 bytes long
bardock.cpp(735) : {75} normal block at 0x00C74F30, 176 bytes long.
Data: < K_ > 9C 01 4B 5F CD CD CD CD CD CD CD CD CD CD CD CD
strcore.cpp(118) : {74} normal block at 0x00C74ED8, 17 bytes long.
Data: < SCRL> 01 00 00 00 04 00 00 00 04 00 00 00 53 43 52 4C
strcore.cpp(118) : {73} normal block at 0x00C74E80, 16 bytes long.
Data: < NUM > 01 00 00 00 03 00 00 00 03 00 00 00 4E 55 4D 00
strcore.cpp(118) : {72} normal block at 0x00C74E28, 16 bytes long.
Data: < CAP > 01 00 00 00 03 00 00 00 03 00 00 00 43 41 50 00
{68} normal block at 0x00C74BC8, 80 bytes long.
Data: < @ > 00 00 00 00 40 01 00 00 00 01 00 08 00 00 00 00
plex.cpp(31) : {65} normal block at 0x00C74B10, 124 bytes long.
Data: < K tD > 00 00 00 00 20 4B C7 00 00 00 00 00 74 44 C7 00
strcore.cpp(118) : {53} normal block at 0x00C745B0, 20 bytes long.
Data: < Rift> 01 00 00 00 07 00 00 00 07 00 00 00 52 69 66 74
G:\GameDev\project\RiftExe\RiftExe.cpp(90) : {51} client block at 0x00C74330, subtype 0, 484 bytes long.
a CMainFrame object at $00C74330, 484 bytes long
Object dump complete.
The thread 0xE5C has exited with code 0 (0x0).
The program 'G:\GameDev\project\RiftExe\Debug\RiftExe.exe' has exited with code 0 (0x0).

Also, In the forum it is said that msvc71.dll is needed. Does anyone know why?


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1