Oliver Salzburg | 2 Aug 2008 09:01
Picon

Re: Problems compiling/linking the trunk (Windows)

Henrik Sundberg wrote:
> 2008/8/1 Oliver Salzburg <oliversalzburg@...>:
>   
>> Henrik Sundberg wrote:
>>     
>>> 2008/8/1 Henrik Sundberg <storangen@...>:
>>>
>>>       
>>>> *3) After this I failed to link:
>>>>         
>
>   
>> Possibly Wininet.lib
>> http://msdn.microsoft.com/en-us/library/aa385473(VS.85).aspx
>>     
>
> Thanks!
> Now I'm able to compile the debug version and run it once.
>
> Compiling the release version gives:
> Making help file...
> Building Win32 Help files
> The system cannot find the file hcw.
> hlp\LeoCAD.hpj(1) : error: Problem encountered creating help file
> Project : error PRJ0019: A tool returned an error code from "Making
> help file..."
>   
You can either install the Microsoft Winhelp Compiler or create a new 
Buld configuration
that doesn't build the documentation. You can get the compiler here:
ftp://ftp.microsoft.com/Softlib/MSLFILES/HCWSETUP.EXE
> Running the debug version the second time gives:
> ...
> The thread 'Win32 Thread' (0xf70) has exited with code 0 (0x0).
> 'LeoCAD.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll', No symbols loaded.
> 'LeoCAD.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
> 'LeoCAD.exe': Loaded 'C:\WINDOWS\system32\riched20.dll', No symbols loaded.
> IMPORTANT:Use CBMPMenu::DestroyMenu to destroy Loaded Menu's
> First-chance exception at 0x006203db in LeoCAD.exe: 0xC0000005: Access
> violation reading location 0x01900014.
> Unhandled exception at 0x006203db in LeoCAD.exe: 0xC0000005: Access
> violation reading location 0x01900014.
>
> The call stack looks like:
>   
>> 	LeoCAD.exe!CGdiObject::GetSafeHandle()  Line 100 + 0x1b bytes	C++
>>     
>  	LeoCAD.exe!CDC::SelectObject(CBrush * pBrush=0x01900010)  Line 255 +
> 0x8 bytes	C++
>  	LeoCAD.exe!CColorList::OnPaint()  Line 242	C++
>  	LeoCAD.exe!CWnd::OnWndMsg(unsigned int message=15, unsigned int
> wParam=0, long lParam=0, long * pResult=0x0012fb24)  Line 2028	C++
>  	LeoCAD.exe!CWnd::WindowProc(unsigned int message=15, unsigned int
> wParam=0, long lParam=0)  Line 1741 + 0x20 bytes	C++
>  	LeoCAD.exe!AfxCallWndProc(CWnd * pWnd=0x0140cd58, HWND__ *
> hWnd=0x001209b8, unsigned int nMsg=15, unsigned int wParam=0, long
> lParam=0)  Line 240 + 0x1c bytes	C++
>  	LeoCAD.exe!AfxWndProc(HWND__ * hWnd=0x001209b8, unsigned int
> nMsg=15, unsigned int wParam=0, long lParam=0)  Line 389	C++
>  	user32.dll!7e418734() 	
>  	[Frames below may be incorrect and/or missing, no symbols loaded for
> user32.dll]
>  	user32.dll!7e418816() 	
>  	nvoglnt.dll!697287b0() 	
>  	user32.dll!7e41b4c0() 	
>  	user32.dll!7e41b50c() 	
>  	ntdll.dll!7c90eae3() 	
>  	user32.dll!7e41d83f() 	
>  	user32.dll!7e41d82a() 	
>  	LeoCAD.exe!CWnd::UpdateWindow()  Line 142 + 0x39 bytes	C++
>  	LeoCAD.exe!CCADApp::InitInstance()  Line 240	C++
>  	LeoCAD.exe!AfxWinMain(HINSTANCE__ * hInstance=0x00400000,
> HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f05,
> int nCmdShow=1)  Line 37 + 0xd bytes	C++
>  	LeoCAD.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
> hPrevInstance=0x00000000, char * lpCmdLine=0x00151f05, int nCmdShow=1)
>  Line 29	C++
>  	LeoCAD.exe!__tmainCRTStartup()  Line 315 + 0x35 bytes	C
>  	LeoCAD.exe!WinMainCRTStartup()  Line 187	C
>  	kernel32.dll!7c816fd7() 	
>  	LeoCAD.exe!CDockContext::EndDrag()  Line 205 + 0x4 bytes	C++
>  	LeoCAD.exe!CDockContext::EndDrag()  Line 205 + 0x4 bytes	C++
>
> Removing the registry key HKEY_CURRENT_USER\Software\BT
> Software\LeoCAD makes it possible to start once again.
>
> Any clues?
> /$
>
>   

Gmane