Feeds:
Posts
Comments

Archive for May, 2006

To build the application to enumerate the DShow filter enmerator you need to first set the build environment in the VS2005 IDe.

1.Add strmbase.lib strmiids.lib mmtimer.lib in Project Properties->Linker->

Input->Additional dependencies

2.Include streams.h file.

This takes care of setting the build environment and interface definitions.

(more…)

Advertisements

Read Full Post »

Its one of the long awaited release from Microsoft.Finally Standalone version of the ARM based emulator ,that ships with VS 2005,has been released.See the following link for download:

http://www.microsoft.com/downloads/details.aspx?FamilyID=C62D54A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en (more…)

Read Full Post »

According to this article on register,

http://www.reghardware.co.uk/2006/05/19/us_govt_pulls_lenovo_pcs/

 ,US state departments has decided not to buy Lenovo PC's as it may lead to security breach.Talk about Global economy and free market!What's next China saying NO to windows,IBM,Dell etc. , as it may lead to potential security breach!

Read Full Post »

Takes two to Tango

Java and .Net doing a Tango?.Seems strange but this is what they seem to be doing or atleast plan to do.For long there have been two camps of .Net and Java developers but now sun has started the process of building a bridge named TANGO to connect the two camps.Project Tango the opensource initiative started by sun for the interoperability of J2EE and .Net.
Check the link for more details:
http://java.sun.com/webservices/interop/index.jsp

Read Full Post »

A Windows Mobile 5 Device ID is unique.It is of 16 byte in length,and made of two parts a platform id and preset id,both in combination are supposed to be unique.

Now how to get the Device ID of a windows mobile 5 based device?

There are 2 methods.2nd method is recommended.

1.You can use KernelIOControl method.

KernelIoControl(IOCTL_HAL_GET_DEVICEID, 0, 0, OutBuff, *Size, &OutBytes);

2.You can use HRESULT GetDeviceUniqueID(
  LPBYTE pbApplicationData,
  DWORD cbApplictionData,
  DWORD dwDeviceIDVersion,
  LPBYTE pbDeviceIDOutput,
  DWORD *pcbDeviceIDOutput
);

Now, the advantage of using 2nd method.

  • When you use KernelIOControl,the aaplication has to be signed with a previleage certificate,whereas any code can call GetDeviceUniqueID().
  • The device id is unique,right?which means that many applications can use it for the puspose of identity(eg. while communicating with server).Which is prcisely why applications shouldn’t be calling KernelIOControl,because it increases the risk of identity theft.When GetDeviceUniqueID is called it returns a 20 byte value and which is different from the value returned by KernelIOControl. ,”you ask how is the value differing between these 2 methods and how come it is of different length”?The reason is when you call GetDeviceUniqueID it takes an LPBYTE parameter(8 byte in length),it then performs a one way hash to combine the device id with LPBYTE parameter,passed by application,to generate a 20 byte value.An application can rest assured that it would get the same 20 byte value as long as it passes the same LPBYTE parameter.

Read Full Post »

When trying to synchronize Windows Media Player with Windows Mobile device ,Windows Media Player doesn't recognise the device.If you have installed Windows Media Player after you have installed Active Sync then do a repair install of Active Sync again.

Read Full Post »