ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Unresolved external using TIEDBBitmap
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

duffo64

Italy
8 Posts

Posted - Jun 27 2020 :  05:08:52  Show Profile  Reply
Hello,

C++ Rio 32 bit and ImageEn 9.1.0 here.

I wanted to use an DBBitmap, so included "iexDBBitmaps.hpp", created the object in a form constructor with TIEDBBitmap *dbm = new TIEDBBitmap() and recompiled, but the linker complains:

[ilink32 Error] Error: Unresolved external '__fastcall Iexdbbitmaps::TIEDBBitmap::TIEDBBitmap()'
[ilink32 Error] Error: Unresolved external '__fastcall Iexdbbitmaps::TIEDBBitmap::SetAutoLoad(bool)'
[ilink32 Error] Error: Unresolved external '__fastcall Iexdbbitmaps::TIEDBBitmap::SetDataSource(Data::Db::TDataSource *)'
[ilink32 Error] Error: Unresolved external '__fastcall Iexdbbitmaps::TIEDBBitmap::SetImageBlobFieldName(System::UnicodeString)'

Should I #pragma link "some.lib" ?

Thank You !


/Claudio

xequte

38128 Posts

Posted - Jun 30 2020 :  19:57:37  Show Profile  Reply
Hi Claudio

You need to ensure that TIEDBBitmap is "linked" by adding one of the components in DB palette. Add TImageEnDBView and then remove it. This will link PKIEDB##.BPI which is the library that includes TIEDBBitmap object.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: