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 <[EMAIL PROTECTED]> 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)" ([EMAIL PROTECTED] > @@[EMAIL PROTECTED]@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, [EMAIL PROTECTED]@@[EMAIL PROTECTED]@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 > >
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

