Changes between Version 23 and Version 24 of DevelopingSymbianAppWithCarbide


Ignore:
Timestamp:
Dec 31, 2007 9:47:04 AM (16 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopingSymbianAppWithCarbide

    v23 v24  
    390390Sometimes Carbide does not build the project properly after we make some changes to the source. This will cause the old code to be built instead of the new changes. 
    391391 
    392 My solution is to always clean the project before building it, to make sure that the modified libraries/application gets rebuilt properly. 
     392My standard work flow is to always clean the library/application project containing the modified source before building the whole project, to make sure that the modified libraries/application gets rebuilt properly. 
     393 
     394 
     395=== I/O Error: File in Use === 
     396 
     397Sometimes .SIS creation fails with I/O error message in the ''Problems'' pane similar to this message: 
     398 
     399{{{ 
     400file I/O fault 
     401makesis.exe returned with exit value == 1 
     402The process cannot access the file because it is being used by another process. 
     403}}} 
     404 
     405First check that the build process has completed without errors (a build error will cause the executable not to get built, and this will cause .sis creation to fail).  
     406 
     407If the build process completes successfully but the .SIS creation still complains about file in use, restart Carbide C++. That should fix it. 
    393408 
    394409 
     
    400415 
    401416I'm not sure what's causing this, but closing TRK on the phone, then reconnecting the USB cable and restarting TRK seems to have fixed this. 
     417 
     418=== TRK Not Running Error === 
     419 
     420Sometimes I get Carbide complaining about TRK not running: 
     421 
     422{{{ 
     423Launching 
     424 
     425Target request failed: TRKProtocolPlugin: Can't connect to TRK 
     426(TRK may not be running on the phone or mismatch between selected and 
     427connected com port.). 
     428}}} 
     429 
     430Like this dialog: 
     431 
     432[[Image(trk_not_running.JPG)]] 
     433 
     434If you see TRK is running on the phone, it means that your phone is hung now. Restart the phone by disconnecting the USB cable, taking of the battery, put it back on, start the phone, connect the USB cable, and re-run TRK again. 
    402435 
    403436