Manuel,
He modificado el c贸digo as铆:
Solo faltar铆a antes de intentar crear la imagen, ver si el nombre del fichero existe pues si no da error al no encontrarlo y no poder crear la imagen. Creo recordar que publicastes el c贸digo para detectar la existencia de un fichero, ando busc谩ndolo
He modificado el c贸digo as铆:
- ( id ) tableView : ( NSTableView * ) aTableView objectValueForTableColumn : ( NSTableColumn * ) aTableColumn row : ( NSInteger ) rowIndex
{
NSString * string;
if( symFMH == NULL )
symFMH = hb_dynsymSymbol( hb_dynsymFindName( "_FMH" ) );
hb_vmPushSymbol( symFMH );
hb_vmPushNil();
hb_vmPushLong( ( LONG ) hWnd );
hb_vmPushLong( WM_BRWVALUE );
hb_vmPushLong( ( LONG ) aTableView );
hb_vmPushLong( ( ( TableColumn * ) aTableColumn )->id );
hb_vmPushLong( rowIndex );
hb_vmDo( 5 );
string = [ [ [ NSString alloc ] initWithCString: ISCHAR( -1 ) ? hb_parc( -1 ) : "" ] autorelease ];
if( ( NSCellType ) [ [ aTableColumn dataCell ] type ] == NSImageCellType )
return [ [ [ NSImage alloc ] initWithContentsOfFile : string ] autorelease ];
else
return string;
}Solo faltar铆a antes de intentar crear la imagen, ver si el nombre del fichero existe pues si no da error al no encontrarlo y no poder crear la imagen. Creo recordar que publicastes el c贸digo para detectar la existencia de un fichero, ando busc谩ndolo
