- Windows Vista / Windows 7 / Windows Server 2008 / Windows Server 2008 R2
- IIS 7.0 (with ASP.NET, WCF HTTP Activation, Static Content, and optionally CGI)
- Microsoft Visual Studio 2010/ Microsoft Visual Web Developer 2010 Express / Microsoft Visual Studio 2008 SP1 / Microsoft Visual Web Developer 2008 Express Edition with SP1.
- SQL Server 2005 Express Edition or above
Wednesday, June 30, 2010
Windows Azure SDK Requirements
ラベル:
Programming,
Windows Azure
Friday, June 11, 2010
Access Java Class Variables from NDK
Access Java class variables from NDK (non-static function) in C:
- env and obj are the first two parameters of the NDK function
- "Ljava/lang/String;" is called the field descriptor of type String
Field Descriptor of other Variable Types:
- Remember the semi-colon
- Replace "Get" by "Set" for Set Field Functions
| Field Descriptor | Type | Get Field Function |
|---|---|---|
| Z | boolean | GetBooleanField |
| B | byte | GetByteField |
| C | char | GetCharField |
| S | short | GetShortField |
| I | int | GetIntField |
| J | long | GetLongField |
| F | float | GetFloatField |
| D | double | GetDoubleField |
| Ljava/lang/String; | String | GetObjectField |
| [I | int[] | GetObjectField, and then cast it to an array jintArray *arr = reinterpret_cast<jintArray*>(&data); |
| [Ljava/lang/Object; | object[] | GetObjectField, and then cast it to an array |
ラベル:
Android,
Android Development
Wednesday, June 9, 2010
OSX C/C++ Header Differences with Linux
- Header <mntent.h> does not exist
- Header <linux/rtc.h> does not exist
- Header <sys/sysinfo.h> does not exist
- In <string.h>, function strndup() does not exist
- In <unistd.h>, function ftruncate64() does not exist
- In <netinet/in.h>, struct ip_mreqn does not exist
- Struct statfs requires <sys/param.h> and <sys/mount.h>
- Variable environ doest not exists, but you can "access" it using function _NSGetEnviron() defined in <crt_externs.h>
- To retrieve full path of current executable, use function _NSGetExecutablePath() defined in <mach-o/dyld.h>
ラベル:
iPhone,
iPhone Development
Subscribe to:
Posts (Atom)