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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Unresolved external using TIEDBBitmap

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
duffo64 Posted - Jun 27 2020 : 05:08:52
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 30 2020 : 19:57:37
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