Please Login | Return to the first page. | Help
Reader%23%21OCX%23%21doesn%26%2339%3Bt%23%21open%23%21pdf%23%21files%23%21within%23%21Borland%23%21C%2B%2B%23%21Builder%23%216%23%21application - Powered By Zeon Corporation
Forum > > DocuCom PDF Products > DocuCom PDF Reader OCX > Reader OCX doesn't open pdf files within Borland C++ Builder 6 application

New Topic Reply topic The topic has been viewed for 26948 times  Previous Topic  Flat View  Refresh Next Topic
 Topic:Reader OCX doesn't open pdf files within Borland C++ Builder 6 application  
U417920
Member

Status:【Offline】
Reader OCX doesn't open pdf files within Borland C++ Builder 6 application

 Hello,

We're having trouble to initialize the ocx to view a pdf file within a C++ application wit Borland C++ Builder6.

We imported the ocx into a package and registered the ocx with regsvr32.

We try to initialize the ocx with
        ret = pdfViewer->Initialize(WideString(""));
The return value is "-1", which is correct, since we don't have a valid key yet.

We try to open a file like this: 
       ret = pdfViewer->OpenFile(fileName, WideString("")); 
The return value is "-16", which is confusing, since we can't figure out why the file cannot be opened.

Is there something that we 're missing out on how to use the ocx? Could you please tell me what I'm doing wrong to initialize the ocx? If possible please provide a short sample code of how to integrate the ocx within BCB6.

Best regards,
Michael Voigt

12/9/2005 12:22:32 AM   Other topic By this author Quote this topic reply this topic
Total Page: 1 [ 1 ]  
  Tree View
Topic:● Reader OCX doesn';t open pdf files within ..(1261 bytes) - U417920,12/9/2005
    Replies:○ Re:Reader OCX doesn';t open pdf files with..(943 bytes) - znsupport,1/12/2006
    Replies:○ Could you send a sample project to support@pdfwiza...(137 bytes) - znsupport,12/20/2005

Copyright©1993-2024 Zeon Corporation Forum All Rights Reserved
Run Time:78ms