locked
File IO Operation on windows mobile .netcf RRS feed

  • Question

  • Iam developing Windows mobile application. My question is if i tried to perform the file operation like Move,Delete,Create more than 300 times, the application log out.
    Thursday, January 12, 2012 11:32 AM

All replies

  • Maybe the memory is out of limit.
    NEU_ShieldEdge
    Monday, January 16, 2012 6:56 AM
  • You may not close file probably after complete file operation

    something like yourFileInstance.Close()

     

    Sam.

    Friday, January 20, 2012 10:22 PM
  • In order to avoid memory leak try inserting the file access operation inside a Using () block; in this manner whenever you exit from that block all the resources involved are released.

    Marco


    MCTS Windows Mobile 6.5

    Saturday, March 17, 2012 2:14 PM