Reproduced in: http://www.sf.org.cn/Article/lumen/200605/18518.html
When developing the Symbian C ++ program, an important step is to select and configure the IDE. There are many available ides, such as Microsoft Visual C ++ 6.0, codewarrior, Borland C ++ builder X, Borland C ++ Builder 6.0, Microsoft Visual Studio. NET 2003. Which ide should you choose depends on your personal habits and your development and application fields. There is no such thing as "good" or "bad". How to configure these Ides, many Symbian introductory posts have discussed this. This article mainly describes how to make your ide more efficient and convenient under VC ++ 6.0.
As a well-established Integrated C ++ development environment, there are still a lot of vc6.0 users when developing Symbian applications, but if you do not manually add something to vc6.0, using it directly is a very failed choice. Next we will explain it one by one.
<1> when debugging the Symbian ++ program, vc6.0 cannot view the data of Descriptor variables. Solution: Add the following content to your Microsoft Visual Studio \ common \ msdev98 \ bin \ autoexp. dat
// ------- Add part ------------------------
/; Add parts in order to debug for Symbian s60
Tdesc16 = $ Addin (showdes. dll, tdesc16_view)
Tdesc8 = $ Addin (showdes. dll, tdesc8_view)
Tint64 = low = <ilow> high = <ihigh>
Tdatetime = Day (zero based) = <iday> MTH = <Imonth> yr = <iyear> hR = <ihour> min = <iminute> sec = <isecond>. <imicrosecond>
Cactive = iisactive = <iactive>
Carrayfixbase = icount = <icount>
Carrayvarbase = icount = <icount>
Cbase = <, T>
Rhandlebase = <ihandle, x> <, T>
RRegion = rects = <icount> err = <ierror> ITL. IX = <irectanglelist-> ITL. IX> ITL. iy = <irectanglelist-> ITL. iy> IBR. IX = <irectanglelist-> IBR. IX> IBR. iy = <irectanglelist-> IBR. iy>
Tchar = <ichar> <ichar, C>
Tlex8 = inext = <inext, S>
Tlex16 = inext = <inext, Su>
Tpoint = IX = <IX> Iy = <Iy>
Trect = ITL. IX = <ITL. IX> ITL. Iy = <ITL. Iy> IBR. IX = <IBR. IX> IBR. Iy = <IBR. Iy>
Tregion = numrects = <icount> err = <ierror>
Trequeststatus = <istatus>
Tsize = iwidth = <iwidth> iheight = <iheight>
TTime = ilow = <itime. ilow, x> ihigh = <itime. ihigh, x>
Ttimeintervalbase = <iinterval, D> <, T>
Tuid = iuid = <iuid>
Tstreamid = ival = <ival>
Tmargins = ileft = <ileft> iright = <iright> iTOP = <iTOP> ibottom = <ibottom>
Tpagespec = iorientation = <iorientation>
Trgb = r = <ivalue & 0xff> G = <ivalue/256% 256)> B = <ivalue/65536>
Tpointerevent = itype = <itype>, IPOs. IX = <iposition. IX>, IPOs. Iy = <iposition. Iy>
Tcellref = irow = <irow>, icol = <icol>
Trangeref = ifrom. irow = <ifrom. irow>, ifrom. icol = <ifrom. icol>, Ito. irow = <Ito. irow>, Ito. icol = <Ito. icol>
Ccoecontrol = iposition = (<iposition. IX>, <iposition. Iy>) isize = (<isize. iwidth>, <isize. iheight>)
; Symbian strings & Descriptors
Tdes16 = <, T> length = <ilength> max = <imaxlength>
Tdesc16 = <, T> length = <ilength>
Tptr = length = <ilength> max = <imaxlength> PTR = <iptr + 2, Su>
Tptr16 = length = <ilength> max = <imaxlength> PTR = <iptr + 2, Su>
Tptrc = length = <ilength> PTR = <iptr, Su>
Tptrc16 = length = <ilength> PTR = <iptr, Su>
Tbuf <*> = length = <ilength> max = <imaxlength> Buf = <ibuf, Su>
Tbufc <*> = length = <ilength> buffer = <ibuf, Su>
Hbufc16 = length = <ilength> buffer = <ibuf, Su>
Tlitc <*> = length = <itypelength> Buf = <ibuf, Su>
Tdes8 = <, T> length = <ilength> max = <imaxlength>
Tdesc8 = <, T> length = <ilength>
Tptr8 = length = <ilength> max = <imaxlength> PTR = <iptr, S>
Tptrc8 = length = <ilength> PTR = <iptr, S>
Tbuf8 <*> = length = <ilength> max = <imaxlength> buffer = <ibuf, S>
Tbufc8 <*> = length = <ilength> buffer = <ibuf, S>
Hbufc8 = length = <ilength> buffer = <ibuf, Su>
Tlitc8 <*> = length = <itypelength> buffer = <ibuf, S>
Tfilename = <ibuf, Su>
Tfullname = <ibuf, Su>
<2> vc6.0 does not support Symbian keyword highlighting. Solution:Www.newlc.comSearch for usertype. dat above, download it, and paste it under \ Microsoft Visual Studio \ common \ msdev98 \ bin. (You can also open this file to add any types that you want the compiler to highlight ).
<3> vc6.0 is prone to conflicts with Kingsoft Mac, resulting in Memory leakage. As a result, your vc6.0 does not respond. Solution:Http://www.kingsoft.com/download/36/228.shtmlDownload the patches for Kingsoft Mac and install the patches. Alternatively, disable the screen for Kingsoft Mac to take words.
<4> because the classes in Symbian have long names, it is time-consuming and inefficient to input class names or function names by hand during programming. Solution: download and install the visual assist x plug-in (find the cracked version; otherwise, there is a time limit when using Visual assist X, which is quite uncomfortable !)
<5> Add a patch for your vc6.0, at least SP3. Otherwise, there may be some inexplicable errors.
<6> when debugging a program on the simulator, you may encounter the "programe closed xx" error. If there is no prompt, debugging such errors is very troublesome and laborious. Solution: Create an errrd file in the epoc32 \ WINS \ c \ System \ bootdata directory (without the filename suffix ); in this way, the error type can be displayed in the "programe closed" distribution, and then to the SDKDeveloper Library»API reference» System panic reference: find the cause of the error. It's much easier to debug it again.
<7> To be continued .....
Well, after you finish the above settings, open your VC and check out it. I feel another way, at least. ^_^!