| 265 | | #if defined(WIN32) && defined(_MSC_VER) |
|---|
| 266 | | osDPOption.Printf( "DATAPOINTER=0x%p", pabyPolyMask ); |
|---|
| 267 | | #else |
|---|
| 268 | | osDPOption.Printf( "DATAPOINTER=%p", pabyPolyMask ); |
|---|
| 269 | | #endif |
|---|
| 270 | | apszOptions[0] = (char *) osDPOption.c_str(); |
|---|
| | 263 | char szDataPointer[100]; |
|---|
| | 264 | char *apszOptions[] = { szDataPointer, NULL }; |
|---|
| | 265 | |
|---|
| | 266 | memset( szDataPointer, 0, sizeof(szDataPointer) ); |
|---|
| | 267 | sprintf( szDataPointer, "DATAPOINTER=" ); |
|---|
| | 268 | CPLPrintPointer( szDataPointer+strlen(szDataPointer), |
|---|
| | 269 | pabyPolyMask, |
|---|
| | 270 | sizeof(szDataPointer) - strlen(szDataPointer) ); |
|---|