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

2012-06-23 Thread Sebastian Pape
stian. On Fri, Jun 22, 2012 at 3:47 PM, Sebastian Pape wrote: > 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

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 (Comma

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 - (NSString*)getMD5ChecksumOfFile:(NSString*)pathOfFile { const char *cStr = [[NSData dataWithContentsOfFile:pathOfFile] bytes]; unsigned char result[CC_MD5_DIGEST_LENGTH];

Re: XCode won't build - Error while Linking CocoaMySQL MCPKit_bundled

2008-11-04 Thread Sebastian Pape
Problem solved! I used the old PPC version of the Framework on my Mac. After downloading a recompiled version (for Intel) and replacing the PPC version with the new one in my project the Application builds without problems. Thanks, Sebastian. 2008/11/4 Sebastian Pape <[EMAIL PROTECTED]>

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 CODE: __ MCPConnection * mySQLConnection = [[MCPConnection alloc] initToHost:@"localhos

NSMutableDictionary won't accept my NSString as Value (NEWBIE)

2008-10-23 Thread Sebastian Pape
Hi, This might be pretty easy for most of you. I've been trying to find out how to solve that for the last one and a half hours and it just doesn't work. Basically this part of the application scans data from a buffer, taking the first element found as "a Value" and the second element found as "a