Una posible implementacion del aboutMsg , sin comprobar si funciona correcto , ( estoy sobre win2003 ):
HB_FUNC( ABOUTMSG )
{
//[ NSApp orderFrontStandardAboutPanel : nil ];
聽 聽 NSString * cImg = [ [ [ NSString alloc ] initWithCString: ISCHAR( 1 ) ? hb_parc( 1 ) : "" ] autorelease ];
聽 聽 NSString * cVersion = [ [ [ NSString alloc ] initWithCString: ISCHAR( 2 ) ? hb_parc( 2 ) : "" ] autorelease ];
聽 聽 NSString * cAppName = [ [ [ NSString alloc ] initWithCString: ISCHAR( 3 ) ? hb_parc( 3 ) : "" ] autorelease ]; 聽
聽 聽 NSString * cCopyright = [ [ [ NSString alloc ] initWithCString: ISCHAR( 4 ) ? hb_parc( 4 ) : "" ] autorelease ];
聽 聽 NSString * cappVer = [ [ [ NSString alloc ] initWithCString: ISCHAR( 5 ) ? hb_parc( 5 ) : "" ] autorelease ];
NSString * cCredit = [ [ [ NSString alloc ] initWithCString: ISCHAR( 6 ) ? hb_parc( 6 ) : "" ] autorelease ];
聽 聽 聽
聽 聽 NSDictionary *options;
聽 聽 NSImage *img;
聽 聽 img = [NSImage imageNamed: cImg ];
聽 聽 options = [NSDictionary dictionaryWithObjectsAndKeys:
聽 聽 聽 聽 聽 cVersion, @"Version",
聽 聽 聽 聽 聽 cAppName, @"ApplicationName",
聽 聽 聽 聽 聽 img, @"ApplicationIcon",
聽 聽 聽 聽 聽 cCopyright, @"Copyright",
聽 聽 聽 聽 聽 cAppVer, @"ApplicationVersion",
cCredit, @"Credits",
聽 聽 聽 聽 聽 nil];
聽 聽 聽 聽 [[NSApplication sharedApplication] orderFrontStandardAboutPanelWithOptions:options]; 聽 聽 聽
}