Search results

  1. D

    Conversion from char* to UniChar*??

    Hi All I have to convert a string from char* to UniChar* because i have to Pass this UniChar string to a API. How can i do this?. Thanks and Regards
  2. D

    Creation of a file using FSpCreate()??

    Hi all I have search the carbon mailing archive which suggest me to create file using the FSCreateFileUnicode() I have studied this fuction but i have got little bit confused. Plz help by giving some code example to create file using FSCreateFileUnicode(). Thanks and Regards
  3. D

    Creation of a file using FSpCreate()??

    I have checked the "err" in my code I have got the result code "-35" Which represent the "Bad volume name". I have given a full path of existing directory named "unique" on root and want to create a hello.txt file in that directory. Where i am wrong plz help me. Thanks and Regards
  4. D

    Creation of a file using FSpCreate()??

    hi In my code i have given the MessageBox but this message box is not appeared when i run the program. There is an error in FSMakeFSSpec() function. But i am still not able to get the error. Thanks and Regards *
  5. D

    Creation of a file using FSpCreate()??

    Hi Now i am using the function FSMakeFSSpec to get a valid FSSpec but file is not created. I have making this program in QT Programming for Mac(C++ GUI programming kit by trolltech.org). I am trying to make a text file using programming. I have used the following code:- OSErr...
  6. D

    Creation of a file using FSpCreate()??

    Hi all I have using the FSpCreate() for creating a file, when i compiling my application there is no error but still file is not created.I want to know about the FSSpec structure. I have passed the following values to this structure spec.vRefNum=0; spec.parID=4029; unsigned char...
  7. D

    Path of a Lib file???

    I have to use the following API extern OSErr FSpCreate( const FSSpec * spec, OSType creator, OSType fileType, ScriptCode scriptTag ) I have declared the following FSSpec *spec; spec->vRefNum=0; spec->parID=2; unsigned char filename[64]="Aman"; spec->name=filename; OSType...
  8. D

    Recovering a File (saving Or Creating a File)????

    hi all I have seen the contents of Resource Fork through Hex Editor all are ok but there is no Type/Creator information. How i can create the Resource Fork using the C/C++ programming? Thanks and Regards
  9. D

    Recovering a File (saving Or Creating a File)????

    I am doing all this using C programming.
  10. D

    Recovering a File (saving Or Creating a File)????

    I am raw reading the hard disk using open(), read(),write() functions. I know how to get MDB or VIB and then how to go to Catalog file and Extent file. On pc i am creating two files data fork and resource fork file. when i take these two file to macintosh system then these file works and open...
  11. D

    Recovering a File (saving Or Creating a File)????

    If anyone have idea plz reply me Thanks and Regards
  12. D

    Recovering a File (saving Or Creating a File)????

    i am a new programmer on mac. I have knowledge of Mac(HFS and HFS+) file system. I have written a small programe in my pc(using visual c++) to recover files of a crashed mac HDD is connected to pc then my program is able to recover both data fork and resource fork. If we transfer both data fork...
Back
Top