WPF

Ultimate Coder - A zig and a zag

Ziggy plays guitar.

Well here we are,  nearing the end of the Perceptual Challenge. There's not much longer to go with the competition, so it's time to start locking things down. and really starting to test the application. To that end, I've been concentrating on adding some gestures in to trigger the gesture creation, and doing some of the standard application housekeeping work such as creating an installer project.

Ultimate Coder Week 3 - For Those About To Rock

Week 2

Well, it's week 2 now and development is carrying on apace. I've managed to get a fair bit into Huda in the first week, so the question has to be asked "Will Peter manage to maintain this awesome pace?" We all know that was the question you wanted to ask, but were far too nice to ask, so we'll take it as read, shall we?

Ultimate Coder - The first week of development

Week 1

Well, this is the first week of coding for the Perceptual Computing challenge, and I thought it might be interesting for you to know how I'm approaching developing the application, what I see the challenges as being, and any roadblocks that I hit on the way. I must say, up front, that this is going to be a long post precisely because there's so much to put in here. I'll be rambling on about decisions I make, and I'll even post some code in for you to have a look at if you're interested.

WPF/C#等非C++软件如何借助IADP平台发布软件

        苹果最近非常火,不光是因为它的iPhone、iPad以及最近刚刚发布的iPhone4,另一个重要原因是,基于苹果产品开发的小程序也可以为开发人员赢取丰厚的收入,那就是通过其AppStore(软件商店)发布程序,以透过其成熟的收费模式收取费用。也许是Intel也已嗅出了其中的味道,发现这是一种良性的互惠互利的发展模式,Intel AppUp由此诞生。

        我们知道,要在Intel的AppUp中发布程序,必须通过Adp小组的验证。而验证的最重要一项是,你的程序必须调用Adp sdk中的函数,比如初始化adp、adp授权、退出adp。基于adp内嵌的服务,你的程序便能通过AppUp平台实现授权和收费。

        IADP目前还处于非正式发布阶段,目前的版本是0.91(前几天刚刚发布了0.92)。按照通常的做法,WPF/C#程序要想使用C/C++的库函数进行开发,那就必须封装其dll(除非它是ocx控件),将其中的函数导出,这样C#程序就可以调用了。但是,IADP sdk只提供静态链接库,所以无法用C#直接封装,而必须新建一个C/C++的dll项目,包装一下此sdk静态库,然后再用C#dll将此C++ dll 中的函数导出。

        基本实现如下:

Subscribe to WPF