Re: [webkit-dev] Win32 App

2008-09-30 Thread Mark Rowe
On Sep 30, 2008, at 1:48 PM, Jason Hullinger wrote: So it does seem possible to initWithFrame with some sort of default values I assume? I've tried to initWithFrame({0, 0, 0, 0}, L"", L""); (or a RECT with the same values) , but it fails at run time. How exactly does it fail? It's hard to

Re: [webkit-dev] Win32 App

2008-09-30 Thread Jason Hullinger
So it does seem possible to initWithFrame with some sort of default values I assume? I've tried to initWithFrame({0, 0, 0, 0}, L"", L""); (or a RECT with the same values) , but it fails at run time. Thanks, ~/Jason Hullinger On Tue, Sep 30, 2008 at 1:44 PM, Mark Rowe <[EMAIL PROTECTED]> wrote:

Re: [webkit-dev] Win32 App

2008-09-30 Thread Mark Rowe
On Sep 30, 2008, at 6:59 AM, Adam Roben wrote: > On Sep 29, 2008, at 12:58 PM, Jason Hullinger wrote: > >> (reply all this time) >> >> Well, it looks like stringByEvaluatingJavaScriptFromString is >> calling: JSC::JSValue* scriptExecutionResult = coreFrame->loader()- >> >executeScript(WebCore:

Re: [webkit-dev] Win32 App

2008-09-30 Thread Jason Hullinger
Yes, I guess that is the nicety of Objective-C and message passing. I have tried to use initWithFrame with just a RECT set to {0, 0, 0, 0}, but it fails. I believe this is because it's not a RECT from an actual window, which is actually what I'm trying to get around using. Would there be any othe

Re: [webkit-dev] Win32 App

2008-09-30 Thread Adam Roben
On Sep 29, 2008, at 12:58 PM, Jason Hullinger wrote: (reply all this time) Well, it looks like stringByEvaluatingJavaScriptFromString is calling: JSC::JSValue* scriptExecutionResult = coreFrame->loader()- >executeScript(WebCore::String(script), true); The problem, I believe, is that coreFr

Re: [webkit-dev] Win32 App

2008-09-29 Thread Jason Hullinger
(reply all this time) Well, it looks like stringByEvaluatingJavaScriptFromString is calling: JSC::JSValue* scriptExecutionResult = coreFrame->loader()->executeScript(WebCore::String(script), true); The problem, I believe, is that coreFrame (an IWebFrame) is not set to a value because I'm not using

Re: [webkit-dev] Win32 App

2008-09-29 Thread Ariya Hidayat
> In Cocoa I have made a command line application that init's a WebView, then > calls, stringByEvaluatingJavaScriptFromString, however, I'm trying to get > this to work in Windows. I've compiled WebKit and added a new Win32 command > line project, however, I'm always getting back "null" when calli

[webkit-dev] Win32 App

2008-09-28 Thread Jason Hullinger
In Cocoa I have made a command line application that init's a WebView, then calls, stringByEvaluatingJavaScriptFromString, however, I'm trying to get this to work in Windows. I've compiled WebKit and added a new Win32 command line project, however, I'm always getting back "null" when calling string