aUrl: NSString;

cmdurl: NSURL;

AbsoluteFileName: string;

cmdurl := NSURL.URLWithString(aUrl);

cmdurl:=TNSURL.Wrap(TNSURL.OCClass.URLWithString(StrToNSStr('http://www.ww.com')));

 

NSNewURL := TNSURL.Wrap(TNSURL.OCClass.fileURLWithPath(LPath));

URL := TNSUrl.Wrap(TNSUrl.OCClass.fileURLWithPath(StrToNSStr(AbsoluteFileName)));

URL := TNSUrl.Wrap(TNSUrl.OCClass.fileURLWithPath(StrToNSStr(FileName)));

 

Result.setHTTPMethod(NSStr(string('GET')));

 

string str;

 str:=UTF8ToString(URL.path.UTF8String)

 

NSString

NSStr(string('GET'))

 

 

 Result NSString;
 
Result := TNSString.Wrap(TNSString.Alloc.initWithUTF8String('title'));

 

 OSStatus AudioServicesCreateSystemSoundID ( CFURLRef inFileURL, SystemSoundID *outSystemSoundID ); 

void AudioServicesPlaySystemSound ( SystemSoundID inSystemSoundID );

 

function AudioServicesCreateSystemSoundID(inFileURL:CFURLRef;var soundID: integer):OSStatus;Cdecl;external libAudioToolbox Name _PU+'AudioServicesCreateSystemSoundID';

 

StrToNSUrl

 

posted on 2016-01-21 13:38  lypzxy  阅读(501)  评论(0编辑  收藏  举报