E
eastbuck
Unregistered / Unconfirmed
GUEST, unregistred user!
TPrinter *prnt = new TPrinter() ;
prnt->PrinterIndex = -1 ;
rect.Left = 20 ;
rect.Top = 20 ;
rect.Right = 1800 ;
rect.Bottom = 1200 ;
Graphics::TBitmap *tmpBMP = this->GetFormImage() ;
prnt->begin
Doc() ;
prnt->Canvas->StretchDraw(rect, tmpBMP) ;
prnt->EndDoc() ;
delete tmpBMP ;
delete prnt ;
以上程序在Win2000下没有问题,在Win98在则存在模块不允许访问的问题???
prnt->PrinterIndex = -1 ;
rect.Left = 20 ;
rect.Top = 20 ;
rect.Right = 1800 ;
rect.Bottom = 1200 ;
Graphics::TBitmap *tmpBMP = this->GetFormImage() ;
prnt->begin
Doc() ;
prnt->Canvas->StretchDraw(rect, tmpBMP) ;
prnt->EndDoc() ;
delete tmpBMP ;
delete prnt ;
以上程序在Win2000下没有问题,在Win98在则存在模块不允许访问的问题???