View previous topic :: View next topic |
Author |
Message |
stjepan
Joined: 11 Apr 2005 Posts: 22 Location: Croatia
|
Posted: Mon Apr 11, 2005 12:22 pm Post subject: Linker errors |
|
|
E:\>cd d
E:\D>cd dfl
E:\D\dfl>dfl.exe mydfl.d
E:\D\dmd\bin\dmd.exe mydfl.d -IE:\D\dfl -L/exet:nt/su:console:4.0 E:\D\dfl\dfl.l
ib
E:\D\dmd\bin\..\..\dm\bin\link.exe mydfl,,,E:\D\dfl\dfl.lib+user32+kernel32/noi/
exet:nt/su:console:4.0;
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
mydfl.obj(mydfl)
Error 42: Symbol Undefined __fltused
mydfl.obj(mydfl)
Error 42: Symbol Undefined __d_throw@4
mydfl.obj(mydfl)
Error 42: Symbol Undefined _D6object5Error5_ctorFAaZC6object5Error
mydfl.obj(mydfl)
Error 42: Symbol Undefined __d_newclass
mydfl.obj(mydfl)
Error 42: Symbol Undefined __Class_6object5Error
mydfl.obj(mydfl)
Error 42: Symbol Undefined __d_arraycatn
mydfl.obj(mydfl)
Error 42: Symbol Undefined _D3std6string9toStringzFAaZPa
mydfl.obj(mydfl)
Error 42: Symbol Undefined __Interface_3std1c7windows3com8IUnknown
mydfl.obj(mydfl)
Error 42: Symbol Undefined __vtbl_9ClassInfo
mydfl.obj(mydfl)
Error 42: Symbol Undefined __nullext
mydfl.obj(mydfl)
Error 42: Symbol Undefined __ModuleInfo_3std1c7windows3com
mydfl.obj(mydfl)
Error 42: Symbol Undefined __ModuleInfo_3std4math
mydfl.obj(mydfl)
Error 42: Symbol Undefined __ModuleInfo_3std6string
OPTLINK : Warning 134: No Start Address
--- errorlevel 13
Returned status code 13
E:\D\dfl>
|
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Apr 11, 2005 6:42 pm Post subject: Re: Linker errors |
|
|
Thanks for letting me know about this. Try today's snapshot from http://www.dprogramming.com/dfl/snapshots/ - I haven't been working on DFL much recently, but I'm planning to.
- Chris |
|
Back to top |
|
|
stjepan
Joined: 11 Apr 2005 Posts: 22 Location: Croatia
|
Posted: Tue Apr 12, 2005 11:19 am Post subject: |
|
|
When I am using RichTextBox, I get linker errors.
But if I use for example Label, it is OK.
BTW, can you tell me some details about using DFL in open-source and closed source apps? _________________ I speak a little English. I am beginner in programming. I know C++, C# and D. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Tue Apr 12, 2005 11:52 am Post subject: |
|
|
stjepan wrote: | When I am using RichTextBox, I get linker errors.
But if I use for example Label, it is OK. |
The same errors or different? If different, can you show me.
I recompiled and tested all the DFL examples with the snapshot and they all worked correctly, including the RichTextBox example.
Quote: | BTW, can you tell me some details about using DFL in open-source and closed source apps? |
You can use DFL for any open source and closed source projects, you just can't redistribute DFL. If you are releasing your source, just point people to download DFL from the official site.
- Chris |
|
Back to top |
|
|
stjepan
Joined: 11 Apr 2005 Posts: 22 Location: Croatia
|
Posted: Tue Apr 12, 2005 11:58 am Post subject: |
|
|
In new version RichTextBox is OK.
I have tried new version.
Bugs:
There occurs "Access violation" error when I am using
Code: | XXXX.backColor = Color( /* RGB */);
XXXX.foreColor = Color( /* RGB */); |
I hate runtime errors _________________ I speak a little English. I am beginner in programming. I know C++, C# and D. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Tue Apr 12, 2005 3:27 pm Post subject: |
|
|
stjepan wrote: | Bugs:
There occurs "Access violation" error when I am using
Code: | XXXX.backColor = Color( /* RGB */);
XXXX.foreColor = Color( /* RGB */); |
I hate runtime errors |
I've tried those properties and they work fine for me. Are you sure it's a problem with DFL? If so, can you give me a small reproducible example? Thanks. |
|
Back to top |
|
|
stjepan
Joined: 11 Apr 2005 Posts: 22 Location: Croatia
|
Posted: Wed Apr 13, 2005 2:38 pm Post subject: |
|
|
Try RichTextBox example.
I've founded where is error.
Error is where it's setting backColor and foreColor. _________________ I speak a little English. I am beginner in programming. I know C++, C# and D. |
|
Back to top |
|
|
stjepan
Joined: 11 Apr 2005 Posts: 22 Location: Croatia
|
Posted: Wed Apr 13, 2005 3:05 pm Post subject: |
|
|
Quote: |
You can use DFL for any open source and closed source projects, you just can't redistribute DFL. If you are releasing your source, just point people to download DFL from the official site. | Can I modify some parts of DFL and then use it in commercial apps? (Sorry, stupid question ) _________________ I speak a little English. I am beginner in programming. I know C++, C# and D. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Thu Apr 14, 2005 9:42 am Post subject: |
|
|
stjepan wrote: | Try RichTextBox example.
I've founded where is error.
Error is where it's setting backColor and foreColor. |
I also tried that and it worked fine. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Thu Apr 14, 2005 9:44 am Post subject: |
|
|
stjepan wrote: | Can I modify some parts of DFL and then use it in commercial apps? |
Yes |
|
Back to top |
|
|
|