Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF

TOPIC:

error: Implicit conversion of C pointer type... 9 years 11 months ago #6031

  • Rossi
  • Rossi's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 49
  • Thank you received: 0
I already use this version

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

error: Implicit conversion of C pointer type... 9 years 11 months ago #6032

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Hi, how did you add lib and code in your project.Could paste the definition and function use code ,I'll help you check this problem

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

error: Implicit conversion of C pointer type... 9 years 11 months ago #6035

  • Rossi
  • Rossi's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 49
  • Thank you received: 0
this is the screenshot of my project with the line error
www.dropbox.com/s/b7trugukepkoyo8/Scherm...0alle%2015.01.36.png

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

Last edit: by Abdikayrov.

error: Implicit conversion of C pointer type... 9 years 11 months ago #6036

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
path is NSString not const char *.Try this.
-(int)PDFOpen:(NSString *)path : (NSString *)pwd
{

[self PDFClose];
PDF_ERR err = 0;
m_doc = [[PDFDoc alloc] init];
err = [m_doc open:path :pwd];

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

error: Implicit conversion of C pointer type... 9 years 11 months ago #6037

  • Rossi
  • Rossi's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 49
  • Thank you received: 0

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

error: Implicit conversion of C pointer type... 9 years 11 months ago #6038

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Is m_doc define as PDFDoc?

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

Powered by Kunena Forum