sdk

Can I manipulate the "Now Playing" queue in Windows Media Center using the SDK?

I've downloaded the Windows Media Center SDK and have looked through the documentation, but I don't really see how I can interact with the "Now Playing" queue. Is it possible? ...

Wifi Sniffer App Guidance

I am writing a WiFi connectivity/sniffer in .Net to be used as a self deploying tool from a USB stick. The intention is that it will scan for unsecured available networks and then try to connect to each one in turn and detmerine whether there is a login / proxy or whether directo connection to my arbitary website is possible. This is to ...

Silverlight and the speech sdk

Hello. I would like to have Silverlight read text. I've seen this done with the speech SDK, does anyone know if Silverlight supports that? ...

C# and mp3 fade in/out

I am looking for a library to offer me an option to cut mp3 files. I want to cut a certain part of file and fade in/out the volume. Right now Im using Windows Media Encoder SDK, but it does not have an option to fade in/out or I am not aware of it. On some forum I noticed that somebody suggested DirectX SDK for fading, but I cant find ...

iPhone SDK: NSString-to-C-char-array crashes on second invoke to drawRect

I could not find a post exactly like this, so please forgive me if this is a duplicate. I am trying to write text using a Core Graphics context. I can do it the first time, no problem, but the second time crashes my iPhone app. Here is a code snippet: NSString *name = [MyClass getName]; const char *cname = [name UTF8String]; [self dr...

iPhone SDK: How do you measure the width and height of a string using Quartz?

Before I ask my questions, this is from Apple's documentation re: how to determine the width of a string using Quartz: If text measurements are important to your application, it is possible to calculate them using Quartz 2D functions. However, you might first consider using ATSUI, whose strength is in text layout and measurement. ATSU...

If I install the 3.0 SDK, can I still make 2.0 compatible apps?

I've been putting off installing the 3.0 beta SDK in case I can't make apps to target 2.0. If I install 3.0 on my computer and iPhone, will I still be able to submit apps to the app store for users with 2.0 iPhones to download? Will I have to wait until 3.0 is released to submit more apps? ...

Integrating with Dentrix via API?

I'm looking for a rumored API/SDK for Dentrix. Does anybody have any experience or has anybody seen it? What are the capabilities, limitations, etc...? ...

Error installing Windows SDK v6.1 with windowssdkver command: Input string was not in a correct format

When installing Windows SDK v6.1, following the chromium instructions (http://dev.chromium.org/developers/how-tos/build-instructions-windows) I run the following command: windowssdkver -version:v6.1 -legacy I get the following error: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyle...

how to invalidate parent window without sending wm_paint to child window?

the parent and the child window is in the same size. and the the parent listens to the child's repainting when child repainting, the parent repainting. so I cannot use invalidate to clean the parent window, cos this will send wm_paint to child window, then a endless cycle. how can i clean up parent widnow without use invalidateRect,inva...

Always missing one row in UITableView

I created a UITableView programmatically (not using a XIB). It reads a *.plist file containing an NSMutableArray of NSDictionary objects. The problem I am experiencing is this: When I display the objects in the UITableView, it never shows the object at row zero. I know this because I get the following NSLog output: 2009-06-01 10:02:3...

Any Tutorials for Win32 SDK Programming?

What are some good websites for Win32 SDK programming tutorials? ...

Crashing when masking an image

I am trying to mask an image with a 'mask image". its work fine at first time. but when i try one more time with in the application with same mask image . Application crashed. but when trying with another mask image it works fine. Why this happens? pls help? Console shows ": CGImageMaskCreate: invalid mask bits/component: 4294967295." ...

Sending tweets from iPhone apps using Oauth

Does anyone know of a good example utilizing the twitter API and Oauth authentication for iPhone SDK 2.2.1 or older? Found an example, but it seems to utilize a 3.0 only framework at http://ow.ly/bdpm . ...

How to replace "ld --exclude-libs" on Mac OS X?

We're trying to port a commercial SDK software from Linux to Mac OS X and we're running into the problem that ld on Mac OS X does not support the --exclude-libs switch which we use on the linux side. We are linking in static libraries, object files to create a shared library. We want to only expose symbols marked with: #define EXPORT_...

Is there any Win32 API to trigger the hibernate or suspend mode in windows?

Is there any Win32 API to put the machine into hibernate or suspend mode? I read MSDN and found that WM_POWERBROADCAST message gets broadcasted when power-management events occur. I thought of simulating the same with PostMessage(WM_POWERBROADCAST). Is this the correct way of doing or any Win32 API exists to achieve this? ...

What is the purpose of this method in the Silverlight SDK source code?

The following code snippet is from the Silverlight SDK and I am trying to understand the reason it is the way it is. Can anyone explain the need for the for loop? internal static DependencyObject GetVisualRoot(DependencyObject d) { DependencyObject root = d; for (; ; ) { Fr...

Good tutorials for starting Palm WebOS development?

Recently I've been getting more and more into mobile development. I am currently working with the iPhone and Android based devices. Palm's new WebOS looks interesting. Are there any good online tutorials for quickly getting up to speed on developing for the Palm WebOS? ...

Is there any open source OCR project for the iPhone out there?

I'm looking for an open source or free OCR project for the iPhone. Maybe there is some port of tesseract-ocr for the iPhone? What I've found so far: How to compile Unix Apps for iPhone Thanks for any help. ...

How to make a view like Recents in the Phone application for iPhone?

Hi, I need to make a view just like Recents in the Phone application. There are two connected buttons on the top, and when either one is clicked, the view below will change. I tried to use UIToolbar but there are spaces between buttons. Does anyone know how to do this? Thanks in advance. -Joey ...