Search found 3 matches

by bitberry
Tue Jul 06, 2010 2:01 pm
Forum: Document Viewing
Topic: Multi-page PDF only displays page 1
Replies: 3
Views: 1339

Multi-page PDF only displays page 1

I try to display a multi-page PDF and have set ContinousViewMode=true. Still, I can only scroll through page 1. I can switch to next page by right-clicking and selecting "Pages / Frames -> Goto next". WideString ws=L"t:\\scuba.pdf"; WCHAR *sz = ws.c_bstr(); try { BSTR bstr = SysAllocString(sz); GdVi...
by bitberry
Tue Jul 06, 2010 1:52 pm
Forum: Document Viewing
Topic: Problem importing OCX into C++Builder (Delphi)
Replies: 2
Views: 4012

Re: Problem importing OCX into C++Builder (Delphi)

Found a workaround.

Tools -> Options -> C++ Options -> Type Library. Under "Ignore special CoClass Flags when importing", enable "Can Create".
by bitberry
Tue Jul 06, 2010 12:17 pm
Forum: Document Viewing
Topic: Problem importing OCX into C++Builder (Delphi)
Replies: 2
Views: 4012

Problem importing OCX into C++Builder (Delphi)

Hi, I'm trying to evaludate GdViewer Pro, but I am having problems importing the OCX into C++Builder. It doesn't generate the wrapper packages properly, presumably because the OCX objects are missing a "CanCreate" flag. This is what the generated header file says: namespace Gdviewerpro4_tlb { // ***...