|
[讨论]小白的Windows Mobile 之旅
和Win32的完全一样。CE里有两种dll形式,一种是驱动,一种是普通导出dll,我目前只接触到普通导出dll,不过好像驱动的也是差不多的,就是入口是规范形式。 首先头文件h里声明你要导出的函数 extern "C" __declspec(dllexport) DWORD WINAPI GetBluetoothState(); 然后cpp里写函数过程 extern "C" __declspec(dllexport) DWORD WINAPI GetBluetoothState() { DWORD dwMode; BthGetMode(&dwMode); return dwMode; } 编译出来直接就能用了。 Public Declare Function GetBluetoothState Lib "wrlsmgr.dll" () As Integer 有人也许会说那直接在.NET里引用BthGetMode之类的不就是了,关键就在于这点,有些api居然是.NET不能正常使用的,例如lineSetEquipmentState这些。 |
|
[讨论]小白的Windows Mobile 之旅
C的SDK真不是盖的,速度飞快体积又小,我写的无线管理器底层DLL和免提补丁和屏幕翻转都是用C的SDK做的,体积都在10K内,一点就开。 MFC大了点,100K左右,UPX压一下也只能到80K,但是启动也是仍然飞快,其实是因为选中了静态库编译,把很多垃圾一起弄进去了,但是如果你选动态连接,那么你的程序根本没法在WM里跑起来,不能不说是个恶心的事情。 .NET CF的程序普遍体积大启动慢,但是开发周期很短,设计界面容易,这是它唯一优点了。 最近在抽空重写MFC版的无线管理器,头大得很,要做到我上一页截图里那种界面估计有得弄了。 |
|
[讨论]小白的Windows Mobile 之旅
555555555我习惯了用VB.Net做界面了 |
|
[讨论]小白的Windows Mobile 之旅
查了,Delphi 2005以上支持,但是也是基于Compact Framework的,那算了,我就是觉得NET的程序在WM上启动时间太长才想Delphi的,看来还是必须得C。 |
|
[讨论]小白的Windows Mobile 之旅
汗,我还是继续用.net吧……另外Delphi能开发Mobile应用不? |
|
|
|
[讨论]小白的Windows Mobile 之旅
SP有160X120屏幕称为QQVGA,320X240称为QVGA,基本就这两种,VGA的少见。 PPC是320X240起步QVGA,然后640X480是VGA,还有WVGA啥的不标准分辨率,通常你考虑QVGA和VGA就行了。 |
|
[讨论]小白的Windows Mobile 之旅
嘿嘿,我走VB.Net和C的SDK,经常用SDK写些底层导出dll,再用VB.Net做界面配合快速开发。 C做完整个界面的事情我也弄过,为了写个托盘程序,结果折腾了两天才出来个简单界面,我用SDK写的,MFC编译的代码太大了,SDK写的才8KB,MFC起码200KB。 |
|
[讨论]小白的Windows Mobile 之旅
你是走.net/C#的路还是VC的路,两套路下的方式是不同的。 |
|
[讨论]小白的Windows Mobile 之旅
汗,你不会以为手机编程仍然是复杂的ARM编写吧。一切都跟你在win32下写程序类似了,很简单的。 另外VC的实例应该是能生成的,你是不是装了什么IE7之类的,有冲突了,自己百度下修复方法 |
|
[求助]大家来说说手机软件测试相关的话题
换句话说就是把DrawText输出的字符给转成位图…… |
|
[求助]大家来说说手机软件测试相关的话题
我遇到个难题就是把系统用DrawText输出的字符给点阵化 |
|
[求助]大家来说说手机软件测试相关的话题
百力了解GDI编程吗……就是用设备DC绘图的…… |
|
[讨论]不公平
各有所好了,就像有些人喜欢S60有些人喜欢WM一样,你让一个喜欢S60的人去用WM他非得给你挑出无数不是刺的刺来,反之亦然。 |
|
[讨论]新手学习Windows Mobile 开发咨询,请解惑.
所以我才再三强调楼主学PocketPC Phone开发 |
|
[讨论]新手学习Windows Mobile 开发咨询,请解惑.
记住,你首先应该是个智能手机用户,然后才是开发者,否则你是不能体会到普通用户的需求也无法开发出合适的程序的。 |
|
[讨论]新手学习Windows Mobile 开发咨询,请解惑.
记得见到德州仪器OMAP TI850就绕道走哈,到时候后悔别怪我没告诉你,那是个残疾CPU。 首选Intel XScale 27x以上的,其次是高通MSM系列,折中是三星,iPhone也是用三星的SC系列。 最不堪入目就是德州仪器。 |
|
[讨论]新手学习Windows Mobile 开发咨询,请解惑.
还是那句话…………先买一台PPC Phone吧……实在不行二手的现在也就几百块,跟以前Smartphone平台的多普达565、577W之类等价了,而现在这些565之类的二手早就跌到200--400了。 目前最便宜的二手PPC Phone也就500---1500范围。 当然,我不是叫你去买Smartphone哦!别买5x5啥的,你可以考虑CHT9000、D900、838、D600、A700等 |
|
[讨论]新手学习Windows Mobile 开发咨询,请解惑.
我是混智能手机论坛的,关于使用人群这方面我想我有一定的认识。 Smartphone在早几年还火过一下,那时候我也在用Smartphone。 但是现在,PocketPC Phone的人群已经急剧扩大了,你看看ioicn的衰落和pdafans的兴盛和XDA上着重讨论范围就知道,以后PPC Phone是大趋势。 相反Smartphone现在已经没多少人在用了。 |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值