 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dave Lane Guest
|
Posted: Thu Jan 29, 2004 2:46 am Post subject: TMetafile and TMetafileCanvas linker error |
|
|
Hi,
I want to create an Enhanced Metafile (.emf) using TMetafile and TMetaFileCanvas. The Several sources I checked, including the BCB5 help files, show how to associate the TMeatafileCanvas with the TMetafile and draw the text, lines and some graphs to it. When the canvas object is destroyed, the drawing is transferred to the TMetafile instance which can be saved to a file. My problem is that I get a linker error when I try to compile the program.
Here is the error I get:
[Linker Error] Unresolved external '__fastcall Graphics::TMetafileCanvas::TMetafileCanvas(Graphics::TMetafile *, int)' referenced from D:PROGRAM FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|_t_Graph
I have tried this code with three separate installations of BCB5 (on three different machines), with identical results. Can anyone help me?
Thanks
Dave
|
|
| Back to top |
|
 |
Damon Chandler (TeamB) Guest
|
Posted: Fri Jan 30, 2004 8:57 am Post subject: Re: TMetafile and TMetafileCanvas linker error |
|
|
Hi Dave,
Have you installed the patch for BCB5? IIRC, this issue was fixed in
the patch (see
[url]http://info.borland.com/devsupport/bcppbuilder/patches/#cbuilder5)[/url]. If
you've already installed tha patch and you're still getting the error,
see this post...
http://www.deja.com/threadmsg_ct.xp?AN=604011061
Good luck,
Damon (TeamB)
Lane wrote:
| Quote: | [Linker Error] Unresolved external '__fastcall Graphics::TMetafileCanvas::TMetafileCanvas(Graphics::TMetafile *,
int)' referenced from D:PROGRAM FILESBORLANDCBUILDER5LIB
RELEASEVCLE50.LIB|_t_Graph
|
|
|
| Back to top |
|
 |
Dave Lane Guest
|
Posted: Sat Jan 31, 2004 3:25 am Post subject: Re: TMetafile and TMetafileCanvas linker error |
|
|
Thanks Damon,
That worked like a champ.
Dave
"Damon Chandler (TeamB)" <dmc27 (AT) cornell (DOT) edu> wrote:
| Quote: | Hi Dave,
Have you installed the patch for BCB5? IIRC, this issue was fixed in
the patch (see
[url]http://info.borland.com/devsupport/bcppbuilder/patches/#cbuilder5)[/url]. If
you've already installed tha patch and you're still getting the error,
see this post...
http://www.deja.com/threadmsg_ct.xp?AN=604011061
Good luck,
Damon (TeamB)
Lane wrote:
[Linker Error] Unresolved external '__fastcall Graphics::TMetafileCanvas::TMetafileCanvas(Graphics::TMetafile *,
int)' referenced from D:PROGRAM FILESBORLANDCBUILDER5LIB
RELEASEVCLE50.LIB|_t_Graph
|
|
|
| Back to top |
|
 |
|
|
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
|
|