-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sciter 3.3.0.2 can not compile #5
Comments
Which Delphi version are you using? |
D7 XE8 |
Sciter TSciterApi record was changed from 3.3.0.2 |
SciterWindowAttachEventHandler and ElementEventProc look the same in SciterSDK 3.3.0.6... |
Fixed it for 3.3.0.6, you have to delete SciterEnumUrlData and all SciterDebug* from ISciterAPI |
Thanks Mikanoshi, I'm testing. |
Working for me) in SDK's sciter/sciter64.exe and when created in runtime in Delphi. |
Well, not really working in Delphi :) Simple code <script type="text/tiscript">
function doSmth() {
var chat = self.$(#chat);
chat.text = "ok";
}
</script>
...
<div id="chat">xyz</div>
...
Sciter.Call('doSmth', []); causes Access Violation, but |
My crash was a Sciter problem, 3.3.0.6 works well otherwise: |
There are still a number of bugs, even with 3.2.0.7. Also my program and SciDe demo sometimes crash with Access Violation on close, crash happens when Sciter component has alredy been destroyed, somewhere inside DLL. I'll ask developer about it. |
Black line can be fixed by calling Application.ProcessMessages after Sciter was created and positioned on the form. Access Violation on close happens because Sciter uses Direct2D and conflicts with apps that hook DirectDraw to display overlays (FPS, monitoring, etc). It was Bandicam in my case. |
SR := API.SciterWindowAttachEventHandler(Handle, LPELEMENT_EVENT_PROC(@_SciterViewEventProc), Self, UINT(HANDLE_ALL));
this line error
The text was updated successfully, but these errors were encountered: