access violation after stopping webserver componen (General questions)
Hi,
I believe I have discovered an Access Violation in wodWebServer.
I am using Builder C++ v6
1. I dynamically create a wodWebSever
2. Set an OnRequestDone event handler
3. Start the server
4. Browser http://myhost
5. The OnRequestDone handler sets response mode to Manual
6. I set the body content and send back to response
7. I then Stop the server
8. If I refresh the browser, I get an Access Violation somewhere down in the wodWebdll
I have run the app through AQTime and have the following stack trace:
[code]
Event Thread ID Time
First chance exception 0xC0000005 ACCESS_VIOLATION occurred at 0x790105EB, read of address 0x000000A8 at 0x790105EB (in C:WINDOWSsystem32wodWebD.dll) 1328 11:50:09:872
0x790105EB DllUnregisterServer + 0xE337 in wodWebD.dll 1328
0x790103A6 DllUnregisterServer + 0xE0F2 in wodWebD.dll 1328
0x790098C7 DllUnregisterServer + 0x7613 in wodWebD.dll 1328
0x77D48734 GetDC + 0x6D in user32.dll 1328
0x77D48816 GetDC + 0x14F in user32.dll 1328
0x77D489CD GetWindowLongW + 0x127 in user32.dll 1328
0x77D496C7 DispatchMessageA + 0xF in user32.dll 1328
0x79012848 DllUnregisterServer + 0x10594 in wodWebD.dll 1328
0x7C80B50B GetModuleFileNameA + 0x1B4 in kernel32.dll 1328
0x7C8399F3 FindAtomW + 0x94 in kernel32.dll 1328
[/code]
if thats of any help!
I have a very simple application which shows the problem that I have zipped and emailed to support.
Any help would be greatly appreciated
Thanks
Paul.