忆龙2009:BREW+VS2005 模拟器 调试问题

FAQ #1: The emulator gives me an error, "The application has been unloaded to save memory. You must download a new version".
Answer: If you see the app icon in the emulator, but it gives this error message, it means the emulator can find your mif file, but it can't find the dll.
You should make sure:
1) the emulator is pointing to the correct directories (see below),
2) the DLL exists in the specified directory,
3) the Class ID in your MIF matches the one in your AEEClsCreateInstance function.
By default, Visual Studio puts the DLL in a Debug or Release subdirectory depending on the build configuration. You need to change the Output Filename in the project settings on the Link tab.
If your files are in a directory structure like this:

Code:

C:/some_path/app_name.mif C:/some_path/app_name/app_name.dll

Then you need this:

Code:

Applet Directory | C:/some_path MIF directory different from App | No MIF Directory | C:/some_path

For files in a directory structure like this:

Code:

C:/some_path/app_name/app_name.mif C:/some_path/app_name/app_name.dll

You need this:

Code:

Applet Directory | C:/some_path MIF directory different from App | Yes MIF Directory | C:/some_path/app_name

If you're using the 3.0 Simulator and you change a directory in the Properties panel, press the Apply button twice.
[HR]
FAQ #2: I can't see my app icon in the emulator.
Answer: The emulator cannot display the icon contained within the MIF file, or it cannot open the MIF file.
Please check that:
1) the MIF file is in the emulator's Applet or MIF directory as specified,
2) the MIF file contains all three icons (icon, image, thumbnail),
3) the MIF file is saved out in the proper version (save as 1.1 if necessary),
4) the icons are valid 8-bit or monochrome BMP files,
5) the icons are the proper size:
-- The icon is 26 x 26 pixels or smaller.
-- The image is 65(w) x 42(h) pixels.
-- The thumbnail is 16 x 16 pixels.
BMP files should not be RLE compressed. You may have problems with 4-bit BMPs.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值