Re: NSServices - my service is being disqualified - why?

2012-06-23 Thread Sebastian Pape
stringpublic.plain-text/string /array /dict /array Now everything works! Regards Sebastian. On Fri, Jun 22, 2012 at 3:47 PM, Sebastian Pape sebastianderp...@gmail.com wrote: Hi! I'm trying to provide a service using NSServices

NSServices - my service is being disqualified - why?

2012-06-22 Thread Sebastian Pape
Hi! I'm trying to provide a service using NSServices and the service always becomes disqualified, when trying to debug it. So I have no chance of ever letting my service fire. My service should be able to be fired on any string. I assigned a shortcut to my service in the system preferences

MD5 Checksum of a file with CommonDigest.h

2008-11-20 Thread Sebastian Pape
Hi, I'm trying to get a MD5 Checksum of a file. This is my code: __ #import CommonCrypto/CommonDigest.h - (NSString*)getMD5ChecksumOfFile:(NSString*)pathOfFile { const char *cStr = [[NSData dataWithContentsOfFile:pathOfFile] bytes]; unsigned char

XCode won't build - Error while Linking CocoaMySQL MCPKit_bundled

2008-11-03 Thread Sebastian Pape
Hi, I am trying to get CocoaMySQL running in my XCode. So I created an easy application to query my database. In the Controller.m file I added the line: #import MCPKit_bundled/MCPKit_bundled.h CODE: __ MCPConnection * mySQLConnection =