#14 After compilation I get an access violation

open
nobody
None
5
2004-08-22
2004-08-22
Viking
No

Hi,

After a successful compilation of openh323/pwlib janus
patch 2, I compiled myphone without errors. When I try
to run it however I get an access violation on this line in
winmain.cpp:

// Perform specific initializations
*** if (!pThread->InitInstance()) ***** Gives Error
{
if (pThread->m_pMainWnd != NULL)
{
TRACE0("Warning:
Destroying non-NULL m_pMainWnd\n");
pThread->m_pMainWnd-
>DestroyWindow();
}
nReturnCode = pThread->ExitInstance
();
goto InitFailure;
}
nReturnCode = pThread->Run();

The exact error is:

First-chance exception in MyPhone.exe: 0xC0000005:
Access Violation.
The program 'C:\Temp\myphone\Debug\MyPhone.exe'
has exited with code 0 (0x0).

The rest of the debug window is:

Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no
matching symbolic information found.
Loaded symbols for 'C:\openh323\lib\OpenH323d.dll'
Loaded symbols for 'C:\pwlib\Lib\PTLibd.dll'
Loaded symbols for 'C:\WINDOWS\system32
\MSVCRTD.DLL'
Loaded 'C:\WINDOWS\system32\avicap32.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\winmm.dll', no matching
symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvfw32.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shell32.dll', no matching
symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching
symbolic information found.
Loaded 'C:\WINDOWS\system32\SHLWAPI.DLL', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comctl32.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\snmpapi.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\comdlg32.dll', no
matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32
\MSVCIRTD.DLL'
Loaded 'C:\WINDOWS\system32\wsock32.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\mswsock.dll', no
matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32\MFC42D.DLL'
Loaded 'C:\WINDOWS\system32\avaudio32.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Co
mmon-Controls_6595b64144ccf1df_6.0.10.0_x-
ww_f7fb5805\comctl32.dll', no matching symbolic
information found.
Loaded 'C:\WINDOWS\system32\icmp.dll', no matching
symbolic information found.
Loaded 'C:\WINDOWS\system32\iphlpapi.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rasapi32.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rasman.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\netapi32.dll', no
matching symbolic information found.
Loaded 'C:\WINDOWS\system32\tapi32.dll', no matching
symbolic information found.
Loaded 'C:\WINDOWS\system32\rtutils.dll', no matching
symbolic information found.
First-chance exception in MyPhone.exe: 0xC0000005:
Access Violation.
The program 'C:\Temp\myphone\Debug\MyPhone.exe'
has exited with code 0 (0x0).

Hope you can help,

Thanks,

Erik

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks