Search results

  1. Y

    how to list information of a unmounted/corrupt device

    how to list information (like sector size ,block size,...) of a unmounted or corrupt device in mac ? Is there any sample code for same?
  2. Y

    how can i make a shortcut on desktop of any software?

    is there any code to create shortcut on desktop for any software? and through package installer?
  3. Y

    show unmounted volumes

    is there any way i can show a media device which is either corrupt or its BPB (zeroth) sector is deleted. there is no file system present in card? Checkforremovablemedia api doesnot work,is there any other api to do same?
  4. Y

    how to list the unmounted devices

    Hi, Thanks for the reply but i want to display all unmounted device through the code.
  5. Y

    how to list the unmounted devices

    Hi, I want to know the how to list the unmounted device. i have tried using carbon api checkForRemovalMedia but currently this api is not supported in Mac. Is there any way to list or display unmounted devices?
  6. Y

    how to list unmounted device

    I want to know how to display or list the unmounted device in Mac. To display the unmounted drive , the api is CheckForRemovableMedia . This api is not supported and i am looking for the replacement call.
  7. Y

    open a file with name in korean.

    i am getting the file name in unsigned short(utf16) and i want to open this file using fopen or other api
  8. Y

    Unicode support

    i want to know mac api to get fsref of volume/directory so that i can do fsread/fswrite on the volume/directory. Any help will be appreciated.
  9. Y

    Unicode Support

    I want to provide unicode support for my application. i am looking for the mac api which will open filepath given in unicode . And how can i get FSRef of filepath given in unicode. Thanks
  10. Y

    unicode support

    Unicode support works on window as it provide api for unicode like createfilew.I want to do provide same support in mac. Need help following issue in mac: 1. API to open a drive ( "/dev/disk...") with unicode path (unsigned short ) and get the handle of it. 2. Using the handle for...
  11. Y

    Unicode support

    Need help following issue in mac for the unicode support: 1. API to open a drive ( "/dev/disk...") with unicode path (unsigned short ) and get the handle of it. 2. Using the handle for read/write operation. 3. To get a FSRef of file with unicode (unsigned short) filepath. 4. To display the...
  12. Y

    convert a utf16 to utf8 to use in fopen

    thank you for the information. is there any api to convert a ascii string directly to utf16 or utf8?
  13. Y

    convert a utf16 to utf8 to use in fopen

    const char * filepath = "/Volumes/TigerNew/abcd"; unsigned short *unifilepath; asciitounicode(unifilepath,filepath); NSString *nstr = [[NSString alloc] initWithBytes:unifilepath length:length encoding:NSUTF8StringEncoding]; fopen([nstr UTF8String],"r"); Will the above code work?
  14. Y

    convert a utf16 to utf8 to use in fopen

    i want to open a file in korean name using fopen. so i am converting it to utf16 .Then i want to convert utf16 to utf8 so i can use it in fopen. Do anyone have a sample code for this?
  15. Y

    convert a utf16 to utf8 to use in fopen

    Hi, i am converting a ascii to utf16 using following code. void asciitounicode(unsigned short *unicode,char *str) { char *tmpstr; unsigned short *tmpunicode = unicode; tmpstr = (char *)str; while( *tmpstr!= '\0' ) {...
  16. Y

    how to open a file using wide character

    Hi , I am able to open a file using open() but i want to open a file using wide character filename. Please help me fix this problem. Thanks.
  17. Y

    open a file using wide character filename

    In Mac, wchar.h doesnot have open call to open a file with wide character argument ,just as windows has _wfopen. is there a _wfopen replacement call in mac? How can i pass wide character string in open call, because open accept argument in const char ? because all the variable that i...
  18. Y

    open a file using wide character filename

    Hi , I am able to open a file using open() but i want to open a file using wide character filename. Please help me fix this problem. Thanks.
  19. Y

    open function gives device busy error

    Hi, i am passing filesystem path (/dev/disk1s2) for mounted device in open function , but it returns a device busy error. In the open function , i want to pass only filesystem path. Please help me solve this problem. Thanks.
Back
Top