SWT tioported

Davidl Davidl at 126.com
Mon Apr 16 02:52:11 PDT 2007


:o thx , rebuild -rfpaint_win32_rebuild.rf compiles,
but it fails to run correctly
paint.exe emits me :
exception Access Violation, , 0, object.Exception

it's placed in the right directory with those dlls :
swt-awt-win32-3235.dll
swt-gdip-win32-3235.dll
swt-wgl-win32-3235.dll
swt-win32-3235.dll


> Davidl schrieb:
>> i don't get why have this error message
>> dejavu-lang-class.obj does contain string of _resources_getDataById
>>
>> ..\dejavu-lang-Class.obj(dejavu-lang-Class)
>>  Error 42: Symbol Undefined _resources_getDataById
>> --- errorlevel 1
>>
>
> are you using the checkout and the paint_win32_rebuild.rf ?
>
> The resources_getDataById function is a function from a generated file,
> e.g. resources_paint.d. It is necessary to give it explicitly to the
> compiler/linker. The .rf file above does already include it, so it
> should work.




More information about the Digitalmars-d-announce mailing list