[webkit-dev] WebCoreLocalizedStrings
Jason Hullinger
sshjason at gmail.com
Sat Oct 4 17:07:34 PDT 2008
To answer my own question, if you link against WebCore, you have to
implement the functions in WebCoreLocalizedStrings from WebKit. That said,
you also have to implement loadResourceIntoBuffer in WebKitDLL. However,
there is this note from that function: "//FIXME: We should consider moving
this to a new file for cross-project functionality" Where would the best
place be to put this in? Also, would it make sense to move
WebCoreLocalizedString into WebCore?
Thanks,
~/Jason Hullinger
On Fri, Oct 3, 2008 at 2:23 PM, Jason Hullinger <sshjason at gmail.com> wrote:
> I'm building a Win32 project that links to WebCore.lib and I'm getting some
> linker errors, for instance: Error 1 error LNK2001: unresolved
> external symbol "class WebCore::String __cdecl
> WebCore::unknownFileSizeText(void)" (?unknownFileSizeText at WebCore
> @@YA?AVString at 1@XZ) WebCore.lib
>
> All of them are coming from not finding methods in WebCoreLocalizedStrings.
> I see that in WebCoreLocalizedStrings it is calling LPCTSTR_UI_STRING, which
> is defined as: #define LPCTSTR_UI_STRING(string, comment)
> WebLocalizedLPCTSTRUTF8(&LOCALIZABLE_STRINGS_BUNDLE(FRAMEWORK_NAME), string)
>
> I can not find, for instance, ?unknownFileSizeText at WebCore@@YA?AVString at 1@XZ,
> in the library that WebCore generated, so my question is, do I need to
> compile WebCore telling it where to find the localized.strings file, do I
> need to compile my project to find the file, or is there something else I'm
> missing?
>
> Thanks much,
>
> ~/Jason Hullinger
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081004/01860f05/attachment.html
More information about the webkit-dev
mailing list