The MASM Forum Archive 2004 to 2012

Specialised Projects => Custom Interface Components => Topic started by: Mr. Sade on March 25, 2009, 11:11:07 PM

Title: Ketilos web-browser problem...
Post by: Mr. Sade on March 25, 2009, 11:11:07 PM
Im trying to use ketilos webbrowser control but it is crashing when i navigate a shockwave website.
the bad thing is if i navigate the same website with ketilos example compiled exe it works fine and it doesnt crash.
im using WinAsm Studio not RadAsm sorry :P

i dont know what could be the problem, because the control is working fine on the compiled example but on my project it crashes...  :red ollydbg shows the part of the crash and it is on module version. version.dll instance + 154Dh

my code is simple... im including comctl32 inc/lib
control:    CONTROL "Adress:",25,"WEB_BROWSER",0x5600000d,165,5,210,331,0x00000200

start:
   xcall   InitCommonControls
   xcall   LoadLibrary, offset BrowserDll ;WBDll.dll
   mov      hBrowser, eax

; dll loads fine and i can navigate but after i click on a link that loads a shockwave game it crashes ... ketilos example works fine!!
maybe im missing something.... another initialization or something like that.

on WM_INITDIALOG
xcall   SendDlgItemMessage, handle, 25, WM_USER+100, 0, CTXT("cybergames.net")
Title: Re: Ketilos web-browser problem...
Post by: Mr. Sade on March 26, 2009, 12:21:36 AM
i know why it crashes now.

program is forced to have a.. i think it is called a StringFileInfo resource-definition.. if it doesnt have one, it crashes only when im navigating a shockwave game.


thank you!