DFL Wrong,please give me a help

Max Samukha samukha at voliacable.com
Tue Apr 24 09:44:42 PDT 2007


On Tue, 24 Apr 2007 18:18:08 +0800, "jinheking" <caoqi at bgi.net.cn>
wrote:

>My source
>
>===  insert_phonetic.d  ===
>import dfl.all;
>import std.string;
>class MyForm: Form{}
>int main(){
> return 0;
> }
>
>
>dfl -gui insert_phonetic.d
>Error checking versions; use switch -ver for details
>Compiling in debug mode; use -release to compile in release mode
>c:\dmd\bin\dmd.exe 
>insert_phonetic.d -version=DFL_EXE -debug -Ic:\dmd\import -L/exet:nt/su:windows:4.0 
>c:\dmd\lib\DFL_D
>c:\dmd\bin\..\..\dm\bin\link.exe 
>insert_phonetic,,,c:\dmd\lib\DFL_DE~1.LIB+user32+kernel32/noi/exet:nt/su:windows:4.0;
>OPTLINK (R) for Win32  Release 7.50B1
>Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>
>insert_phonetic.obj(insert_phonetic)
> Error 42: Symbol Undefined 
>_D3dfl7control17ScrollableControl14onControlAddedMFC3dfl7control16ControlEventArgsZv
>--- errorlevel 1
>
>Returned status code 1
>
You are trying to link with a wrong dfl_debug.lib, I guess. The one in
your c:\dmd\lib\ does not have the definition of the
control.ScrollableControl.onControlAdded function. Seems like you are
trying to use an old library and newer source.



More information about the Digitalmars-d mailing list