1
Studio:
#include <allegro5\allegro.h>
int main(void)
{
ALLEGRO_DISPLAY *display = NULL;
if(!al_init())
{
return -1;
display = al_create_display(800, 600);
}
if(!display)
{
return -1;
}
while(1)
{
return 0;
}
}
happens these:
'Game.exe': Loaded 'C: Windows Syswow64 apphelp.dll', Cannot find or open the PDB file SHIMVIEW: Shiminfo(Complete) 'Game.exe': Loaded 'C: Windows Syswow64 Allegro-5.0.10-Monolith-Md-debug.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 msvcr100d.dll', Symbols Loaded. 'Game.exe': Loaded 'C: Windows Syswow64 psapi.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 ole32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 shlwapi.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 winmm.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 shell32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Winsxs x86_microsoft.windows.gdiplus_6595b64144ccf1df_1. 1.9600.17415_none_dad8722c5bcc2d8f Gdiplus.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 user32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 comdlg32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 gdi32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 advapi32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 opengl32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 combase.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 msvcrt.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 rpcrt4.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 sechost.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 winmmbase.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Winsxs x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1 comctl32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 glu32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 ddraw.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 sspicli.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 cfgmgr32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 devobj.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 dciman32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 cryptbase.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 Shcore.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 bcryptprimitives.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 imm32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 msctf.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 d3d9.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 version.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 dwmapi.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 uxtheme.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 aticfx32.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 atiu9pag.dll', Cannot find or open the PDB file 'Game.exe': Unloaded 'C: Windows Syswow64 atiu9pag.dll' 'Game.exe': Loaded 'C: Windows Syswow64 atiu9pag.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 atiumdag.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 atiumdva.dll', Cannot find or open the PDB file 'Game.exe': Loaded 'C: Windows Syswow64 powrprof.dll', Cannot find or open the PDB file 'Game.exe': Unloaded 'C: Windows Syswow64 powrprof.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 atiumdva.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 atiumdag.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 atiu9pag.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 aticfx32.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 dwmapi.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 version.dll' 'Game.exe': Unloaded 'C: Windows Syswow64 d3d9.dll' The thread 'Win32 Thread' (0xa98) has exited with code -1 (0xffffffffff). The thread 'Win32 Thread' (0x1324) has exited with code -1 (0xffffffffff). The program '[1704] Game.exe: Native' has exited with code -1 (0xffffffffff).
What they mean and how to fix?
I went on Tools Options Debugging Symbols and selected the box Microsoft Symbol Servers, but now it happens
'Game.exe': Loaded 'C:\Users\Lucas-PC\Desktop\Arquivos\Game\Debug\Game.exe', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\apphelp.dll', Symbols loaded (source information stripped).
SHIMVIEW: ShimInfo(Complete)
'Game.exe': Loaded 'C:\Windows\SysWOW64\allegro-5.0.10-monolith-md-debug.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'Game.exe': Loaded 'C:\Windows\SysWOW64\psapi.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Symbols loaded.
'Game.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17415_none_dad8722c5bcc2d8f\GdiPlus.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\comdlg32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Symbols loaded.
'Game.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\winmmbase.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\comctl32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\SHCore.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Symbols loaded (source information stripped).
'Game.exe': Loaded 'C:\Windows\SysWOW64\aticfx32.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiu9pag.dll', Cannot find or open the PDB file
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiu9pag.dll'
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiu9pag.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiumdag.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\atiumdva.dll', Cannot find or open the PDB file
'Game.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Symbols loaded (source information stripped).
'Game.exe': Unloaded 'C:\Windows\SysWOW64\powrprof.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiumdva.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiumdag.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\atiu9pag.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\aticfx32.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\dwmapi.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\version.dll'
'Game.exe': Unloaded 'C:\Windows\SysWOW64\d3d9.dll'
The thread 'Win32 Thread' (0xed0) has exited with code -1 (0xffffffff).
The thread 'Win32 Thread' (0x988) has exited with code -1 (0xffffffff).
The program '[3712] Game.exe: Native' has exited with code -1 (0xffffffff).
When I try to run it opens the cmd, loads the Symbols and closes the cmd.
When I’m compiling mine in Visual
Have you tried removing and installing the 32bit/x86 version? - Note: At all times post the codes inside the question and not as links, remember, links can break with the future and the question so do not have much sense.
– Guilherme Nascimento
You are trying to compile a C code using Visual Basic?
– Victor Stafusa
@Victorstafusa I made a mistake, I corrected the question.
– Lucas Caresia