[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678910 ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 15:46:55 10/25/05 Tue
Author: Roberto Pungartnik
Subject: Torouble with AssignFromBitmapHandle()

Good Day,

Im using Envision 2 for Borland C Builder 5 on a W2k machine, and im on trouble when I try to compile a program with a new function that receive a HBITMAP from an external DLL and try to assign to a TDibGraphic using AssignFromBitmapHandle(). When I try to compile my program(all other transforms, saves, writes, resizes, work fine), with this new function i get a Linker Error, "Unresolved external '__fastcal Endigrph::TDibGraphic::AssignFromBitmapHandle(void * const)'".

below is my code.

Any ideia?

#include "EnScan.hpp"
#include "EnDiGrph.hpp"
#include "EnImgScr.hpp"
#include "EnReg.hpp"
#include "EnBmpGr.hpp"
#pragma package(smart_init)
#pragma link "EnScan"
#pragma link "EnDiGrph"
#pragma link "EnImgScr"
#pragma link "EnRubber"
#pragma link "EnAnnota"
#pragma link "EnOcrEng"
#pragma link "EnTrsOcr"
#pragma link "Printers"
#pragma link "EnDcxGr"
#pragma link "EnPrint"
#pragma link "EnMisc"
#pragma link "EnTransf"
#pragma link "EnTifGr"
#pragma link "EnPngGr"
#pragma link "EnBmpGr"
#pragma link "EnIcoGr"
#pragma link "EnWmfGr"
#pragma link "EnReg"
#pragma link "EnImgScr"

int MyFunc( HBITMAP &Imagem )
TDibGraphic *MyGraphic = new TDibGraphic;

MyGraphic-> AssignFromBitmapHandle( Imagem );

delete MyGraphic;

return( 0 );

Thanks in Advance
Roberto Pungartnik

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.