How to know CD Driver type

2009-05-12 Thread Chris Gardner
hello, I do not know how to know CD Driver type, which can read CD or can read DVD. I want to know the CD Driver whether can read CD disc or DVD disc. Though I have used DRDevice, I can not get information about the CD Driver can read CD or DVD. I am sorry for my pure English. Than

Is there only one CFRunLoopRun which can implement in one process

2009-05-16 Thread Chris Gardner
Hi everyone, Now I have a problem about CFRunLoopRun function which is located in http://developer.apple.com/DOCUMENTATION/CoreFoundation/Reference/CFRunLoopRef/Reference/reference.html I have created two thread, and in each thread I call CFRunLoopRun function to download file from

how to use package maker to make a update package.

2009-05-16 Thread Chris Gardner
Hi, I want your favor. Now I have a software of alpha version and want to update this version to add new files. After making a update package with Package Maker tool, and then setuping the update package, the same name of original file will be instead, but the others

RE: Is there only one CFRunLoopRun which can implement in one process

2009-05-17 Thread Chris Gardner
.@live.com > Date: Sun, 17 May 2009 06:53:44 -0500 > CC: cocoa-dev@lists.apple.com > Subject: Re: Is there only one CFRunLoopRun which can implement in one process > > On May 17, 2009, at 12:04 AM, Chris Gardner wrote: > > > I have created two thread, and in each thread I

RE: Is there only one CFRunLoopRun which can implement in one process

2009-05-17 Thread Chris Gardner
vers.com > To: chrisgard...@live.com > Date: Sun, 17 May 2009 06:53:44 -0500 > CC: cocoa-dev@lists.apple.com > Subject: Re: Is there only one CFRunLoopRun which can implement in one process > > On May 17, 2009, at 12:04 AM, Chris Gardner wrote: > > > I have created tw

RE: How to implement to create a new directory in a specified path and....?

2009-05-18 Thread Chris Gardner
NSString * cPathName;// cPathName is your specified path NSFileManager *fm = [NSFileManager defaultManager]; [fm createDirectoryAtPath:cPathName withIntermediateDirectories:TRUE attributes:nil error:nil]; with which you can create any folder. > Date: Mon, 18 May 2009 16:34:24

Is there two streams with CFReadStreamRead happend in two threads?

2009-05-19 Thread Chris Gardner
Hi, Now I have created two threads and want to download files through the method below in each thread: 1. Create the stream using CFReadStreamCreateWithFTPURL() 2. Set up my callbacks wiht CFReadStreamSetClient() 3. Add it to the run-loop wiht CFReadStreamScheduleWithRunLoop() 4. Open

How to use CFReadStrem and abort read stream normally?

2009-05-21 Thread Chris Gardner
Hi, I have already read through CFReadStream archives, and still have trouble with it. After CFReadStreamOpen() has been implement and its status is kCFStreamEventHasBytesAvailable, so I can read data from the source.Of course, there's no problem. As for the FTP server, I can connect it by usi

How to safely break read stream?

2009-05-24 Thread Chris Gardner
Hi guys, I create a read stream with CFReadStreamOpen(), but I don't know how to safely break it. Eagerly waiting for your reply. Best Regards, Chris _ More than messages–check out the rest of the Windows Live™. http://www.microsoft.c

RE: How to safely break read stream?

2009-05-25 Thread Chris Gardner
> To: cocoa-dev@lists.apple.com > From: glgue...@amug.org > Date: Mon, 25 May 2009 10:46:40 -0700 > Subject: Re: How to safely break read stream? > > Chris Gardner wrote: > > > I create a read stream with CFReadStreamOpen(), > > but I don't know how to sa

RE: How to safely break read stream?

2009-05-26 Thread Chris Gardner
Hi GG, Thanks for your reply. > When you say "resuming to connect the same file", do you mean you're > trying to reopen the same CFReadStream that was created earlier and > subsequently closed? > > If that's what you're doing, then it won't work. Refer to the docs > for CFReadStream: > >

RE: How to use CFReadStrem and abort read stream normally?

2009-05-26 Thread Chris Gardner
zejew...@gmail.com To: chrisgard...@live.com Subject: Re: How to use CFReadStrem and abort read stream normally? Date: Tue, 26 May 2009 11:42:22 +0200 Hello Chris, On May 22, 2009, at 5:10 AM, Chris Gardner wrote: Hi, I have already read through CFReadStream archives, and still have trouble with it.