2007

关于nokia的s60模拟器的perference程序无法识别jre1.6的解决方法

当系统装了jre1.6版本的时候,运行s60模拟器(不管是MIDP还是Symbian C++的都会出问题),然后选perference,会弹出找不到jre1.4.1或later,而在details里面显示的确实已经找到的1.6,解决这个问题需要修改epoc32\tools\ecmt\config\config.properties文件,在里面对应版本号后面加上1.6就可以了。

参考这里

S60 2nd FP2 for MIDP SC版的mma好像有问题

只要用了mma的api模拟器就会报jes-0-java-mma@的错误,开始时一直以为自己的操作或设置有问题,后来发现nokia forum上有人问到了类似的问题,但是没有人回答,于是才意识到有可能是模拟器本身的问题,结果去nokia上下了个s60 2.1 SC版,发现程序跑起来就没问题了。(PS:epoc的MIDP模拟器实在是太爽了,中文字体大小位置都和真机一模一样,可惜就是速度慢的像蜗牛)

SE J2ME模拟器的rms问题

不知怎么搞的,最近SE模拟器的S700不能存rms了,看了一下运行时的console,总是显示Running with storage root temp.SonyEricsson_S700_EmuXXXXXX,XXXX是一些随机的数字,应该是这个原因导致的每次运行时都找不到上次存过的rms,现在找到的解决办法就是把模拟器WTK2\appdb目录下对应某个设备的目录删掉,这样就能解决了,但是曾经存对过的rms也就都没了,不知道还有没有更好的办法。

[ZT]All PSP Error Codes

First 4 digits indicate the functional area that reported an error : 8002 is the kernel, 8001 is the standard libc (and the error numbers correspond to the POSIX errno.h constants). Others are less well known, but you can see the wifi range from your list, for instance.

Continue reading…

[ZT]PSP program formats

The PSP uses ELF (Executable and Linking Format) as the executable format. These are packaged into a EBOOT.PBP along with other files for easy distribution and loading. When loaded, the MIPS cpu can run the code in kernel or user mode. Most of the XMB and drivers for the hardware boot in kernel mode. Most of the kernel code and device drivers for the PSP are coded in a relocateable executable format with the extension .prx. This format is a proprietary format made by Sony. Note that .prx format code need not run in kernel mode, but a vast majority of them are because Sony provided them to control the PSP hardware.

Continue reading…

如何使MFC的MDI默认不创建空child窗口

[color=#008000]// Parse command line for standard shell commands, DDE, file open[/color]
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
[color=#008000]// 防止开启后自动创建child[/color]
[color=#0000D0]if[/color] (cmdInfo.m_nShellCommand==CCommandLineInfo::FileNew)
{
[color=#0000D0]if[/color] (cmdInfo.m_strFileName==[color=#808080]””[/color])
{
cmdInfo.m_nShellCommand=CCommandLineInfo::FileNothing;
}
}
[color=#008000]// Dispatch commands specified on the command line[/color]
[color=#0000D0]if[/color] (!ProcessShellCommand(cmdInfo))
[color=#0000D0]return[/color] [color=#0000D0]FALSE[/color];
本代码由xTiNt自动着色 http://kbadboy.yeah.net