Thread overview
DFL Wrong,please give me a help
Apr 24, 2007
jinheking
Apr 24, 2007
Max Samukha
Apr 24, 2007
jinheking
Apr 24, 2007
Max Samukha
Apr 24, 2007
Chris Miller
Apr 24, 2007
jinheking
Apr 24, 2007
jinheking
April 24, 2007
which reason can't use:
class xxxxForm: Form{
}


why?


April 24, 2007
On Tue, 24 Apr 2007 17:37:24 +0800, "jinheking" <caoqi@bgi.net.cn> wrote:

>which reason can't use:
>class xxxxForm: Form{
>}
>
>
>why?
>
It is difficult to tell from your example what's wrong. The code above compiles for me.

Better places for questions about DFL:

DFL forum -  http://dsource.org/forums/viewforum.php?f=39 IRC channel #DFL at freenode
April 24, 2007
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




"Max Samukha" <samukha@voliacable.com> ??????:9pkr23h1g1l0kvnvirpgpkdn9m3lh10avf@4ax.com...
> On Tue, 24 Apr 2007 17:37:24 +0800, "jinheking" <caoqi@bgi.net.cn> wrote:
>
>>which reason can't use:
>>class xxxxForm: Form{
>>}
>>
>>
>>why?
>>
> It is difficult to tell from your example what's wrong. The code above compiles for me.
>
> Better places for questions about DFL:
>
> DFL forum -  http://dsource.org/forums/viewforum.php?f=39 IRC channel #DFL at freenode
> 


April 24, 2007
My DFL version is :dfl09503


"Max Samukha" <samukha@voliacable.com> ??????:9pkr23h1g1l0kvnvirpgpkdn9m3lh10avf@4ax.com...
> On Tue, 24 Apr 2007 17:37:24 +0800, "jinheking" <caoqi@bgi.net.cn> wrote:
>
>>which reason can't use:
>>class xxxxForm: Form{
>>}
>>
>>
>>why?
>>
> It is difficult to tell from your example what's wrong. The code above compiles for me.
>
> Better places for questions about DFL:
>
> DFL forum -  http://dsource.org/forums/viewforum.php?f=39 IRC channel #DFL at freenode
> 


April 24, 2007
my dmd version is dmd 1.012
"Max Samukha" <samukha@voliacable.com>
??????:9pkr23h1g1l0kvnvirpgpkdn9m3lh10avf@4ax.com...
> On Tue, 24 Apr 2007 17:37:24 +0800, "jinheking" <caoqi@bgi.net.cn> wrote:
>
>>which reason can't use:
>>class xxxxForm: Form{
>>}
>>
>>
>>why?
>>
> It is difficult to tell from your example what's wrong. The code above compiles for me.
>
> Better places for questions about DFL:
>
> DFL forum -  http://dsource.org/forums/viewforum.php?f=39 IRC channel #DFL at freenode
> 


April 24, 2007
On Tue, 24 Apr 2007 18:18:08 +0800, "jinheking" <caoqi@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.
April 24, 2007
Notice the line "Error checking versions; use switch -ver for details"
Try typing "dfl -ver".

Somehow it seems you don't have it installed correctly.

If -ver doesn't help, try reinstalling DFL or all your D stuff (and deleting the current files is recommended to rid of unintentional old versions).

- Chris


On Tue, 24 Apr 2007 06:18:08 -0400, jinheking <caoqi@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
>
>
>
>
> "Max Samukha" <samukha@voliacable.com>
> ??????:9pkr23h1g1l0kvnvirpgpkdn9m3lh10avf@4ax.com...
>> On Tue, 24 Apr 2007 17:37:24 +0800, "jinheking" <caoqi@bgi.net.cn>
>> wrote:
>>
>>> which reason can't use:
>>> class xxxxForm: Form{
>>> }
>>>
>>>
>>> why?
>>>
>> It is difficult to tell from your example what's wrong. The code above
>> compiles for me.
>>
>> Better places for questions about DFL:
>>
>> DFL forum -  http://dsource.org/forums/viewforum.php?f=39
>> IRC channel #DFL at freenode
>>
>
>