Welcome, Guest
Username: Password: Remember me
Components and Libraries for Documents Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

CT not has pdfviewer 2 weeks 4 days ago #18836

  • Fernando Sandoval
  • Fernando Sandoval's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
Hello ct not has pdfviewer component...
i need some component to open pdf file and view...


Thanks
 

Please Log in or Create an account to join the conversation.

CT not has pdfviewer 2 weeks 4 days ago #18837

  • LuZZZZi
  • LuZZZZi's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 90
  • Thank you received: 1
Hi Fernando.
you can try this Git stuff github.com/dinmil/PDFPreview or lz_Report, lz_fpReport.

Cheers

Please Log in or Create an account to join the conversation.

CT not has pdfviewer 2 weeks 4 days ago #18838

  • Fernando Sandoval
  • Fernando Sandoval's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
Yes i download the component but send this error when i compile pdfviewer

winprinterutils.pas(230,130) Error: Call by var for arg no. 7 has to match exactly: Got "LongWord" expected "QWord"
 
Attachments:

Please Log in or Create an account to join the conversation.

CT not has pdfviewer 2 weeks 4 days ago #18839

  • Fernando Sandoval
  • Fernando Sandoval's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
Are you sure is for ct ?..............   

Please Log in or Create an account to join the conversation.

CT not has pdfviewer 2 weeks 3 days ago #18844

  • LuZZZZi
  • LuZZZZi's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 90
  • Thank you received: 1
Try QWord(@Variable) or try to change the variable in the derfinition part to QWord

Please Log in or Create an account to join the conversation.

Last edit: by LuZZZZi.

CT not has pdfviewer 2 weeks 3 days ago #18845

  • Fernando Sandoval
  • Fernando Sandoval's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
I tested on ct 32 bits works  fine , but i think need changes for 64 bits,,, 
 

Please Log in or Create an account to join the conversation.

CT not has pdfviewer 1 week 10 hours ago #18877

  • Fernando Sandoval
  • Fernando Sandoval's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 34
  • Thank you received: 0
Lu thanks i tried to make changes but i don't understand exactly where i need change... here is where i trie to do..
on ascdef.inc thsi the line
function SendMessageTimeout(Qword(@hWnd:HWND); Msg:UINT; wParam:WPARAM; lParam:LPARAM; fuFlags:UINT;uTimeout:UINT; lpdwResult:PDWORD_PTR):LRESULT; external 'user32' name 'SendMessageTimeoutA';

and this on redef.inc
function SendMessageTimeout(hWnd: Qword(@HWND); Msg: UINT; wParam: WPARAM; lParam: LPARAM; fuFlags, uTimeout: UINT; var lpdwResult: DWORD_PTR): LRESULT;external 'user32' name 'SendMessageTimeoutA';


here is the line where send errror
SendMessageTimeout(HWND_BROADCAST, WM_DEVMODECHANGE, 0, LPARAM(pchar(InPrinterName)), SMTO_NORMAL, 1000, MyDWNeeded);

can guide me lite more to make changes for 64 bits compile...

why i need is because i start app with pdf and connect to mysql but i have problem communicate mysql 32 app to 64 bits server  whe load library send error.  can load the library..
for i need compile pdviewer on 64 bits...
 

Please Log in or Create an account to join the conversation.

Last edit: by Fernando Sandoval.
  • Page:
  • 1