- Posts: 49
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
error: Implicit conversion of C pointer type...
IP: 192.168.0.71
11 years 11 months ago #6031
by Rossi
Replied by Rossi on topic error: Implicit conversion of C pointer type...
I already use this version
IP: 192.168.0.71
11 years 11 months ago #6032
by stronglee
Replied by stronglee on topic error: Implicit conversion of C pointer type...
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
IP: 192.168.0.71
11 years 11 months ago - 11 years 11 months ago #6035
by Rossi
Replied by Rossi on topic error: Implicit conversion of C pointer type...
this is the screenshot of my project with the line error
www.dropbox.com/s/b7trugukepkoyo8/Scherm...0alle%2015.01.36.png
www.dropbox.com/s/b7trugukepkoyo8/Scherm...0alle%2015.01.36.png
Last edit: 11 years 11 months ago by Abdikayrov.
IP: 192.168.0.71
11 years 11 months ago #6036
by stronglee
Replied by stronglee on topic error: Implicit conversion of C pointer type...
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];
-(int)PDFOpen:(NSString *)path : (NSString *)pwd
{
[self PDFClose];
PDF_ERR err = 0;
m_doc = [[PDFDoc alloc] init];
err = [m_doc open:path :pwd];
IP: 192.168.0.71
11 years 11 months ago #6037
by Rossi
Replied by Rossi on topic error: Implicit conversion of C pointer type...
i already try it, i have this error
www.dropbox.com/s/lv9d2ic6aubxlom/Scherm...0alle%2015.16.57.png
www.dropbox.com/s/lv9d2ic6aubxlom/Scherm...0alle%2015.16.57.png
IP: 192.168.0.71
11 years 11 months ago #6038
by stronglee
Replied by stronglee on topic error: Implicit conversion of C pointer type...
Is m_doc define as PDFDoc?
Time to create page: 0.376 seconds