FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linker errors

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
stjepan



Joined: 11 Apr 2005
Posts: 22
Location: Croatia

PostPosted: Mon Apr 11, 2005 12:22 pm    Post subject: Linker errors Reply with quote

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>


Sad
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Mon Apr 11, 2005 6:42 pm    Post subject: Re: Linker errors Reply with quote

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
View user's profile Send private message
stjepan



Joined: 11 Apr 2005
Posts: 22
Location: Croatia

PostPosted: Tue Apr 12, 2005 11:19 am    Post subject: Reply with quote

When I am using RichTextBox, I get linker errors.
But if I use for example Label, it is OK. Question
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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Apr 12, 2005 11:52 am    Post subject: Reply with quote

stjepan wrote:
When I am using RichTextBox, I get linker errors.
But if I use for example Label, it is OK. Question

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
View user's profile Send private message
stjepan



Joined: 11 Apr 2005
Posts: 22
Location: Croatia

PostPosted: Tue Apr 12, 2005 11:58 am    Post subject: Reply with quote

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 Smile
_________________
I speak a little English. I am beginner in programming. I know C++, C# and D.
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Apr 12, 2005 3:27 pm    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message
stjepan



Joined: 11 Apr 2005
Posts: 22
Location: Croatia

PostPosted: Wed Apr 13, 2005 2:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
stjepan



Joined: 11 Apr 2005
Posts: 22
Location: Croatia

PostPosted: Wed Apr 13, 2005 3:05 pm    Post subject: Reply with quote

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 Embarassed)
_________________
I speak a little English. I am beginner in programming. I know C++, C# and D.
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Thu Apr 14, 2005 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Thu Apr 14, 2005 9:44 am    Post subject: Reply with quote

stjepan wrote:
Can I modify some parts of DFL and then use it in commercial apps?

Yes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group