Use (Core) Foundation data types
camelCase local variables
Prefer BOOL instead of bool

There is no need to mix C++ for this case.
Use Objective-C literals and boxing
Use anonymous category for private methods and properties

Anonymous and named categories actual behave differently. Using the latter, prevents us from declaring (private) properties.
NSAutoReleasePool → @autoreleasepool
Update to ARC
Don't use the pre-processor to declare a string constant

Also, renamed DialogServerConnectionName → kDialogServerConnectionName. This is more consistent with the TextMate coding style.
Use proper exit codes