On 20 Jun, 2012, at 11:10 AM, Ken Shmidheiser wrote:
> 1. If Source-file combining is set to off, we get an implicit declaration error.
> Declaring the function in a BegnCDeclaration…EndC block fixes it.
Yes: I encountered that option a wee while back, and it helps...
>
> 2. The value returned from runModal is NSInteger = SInt32.
> Probably wouldn't make any difference in your demo, but thought I'd mention it.
>
> Putting that all together we get this (this time I copied and compiled the code
> from the email):
>
> compile as "Objective-C"
>
> BeginCDeclaration
> SInt32 DoAlert( CFStringRef messageText, CFStringRef informativeText );
> EndC
... etc...
... and it still shows an Untitled window on my box????
As Mr. C. so eloquently puts it:
Pooey.
t
Attachments: