OSD_DirectoryIterator.hxx: +#ifdef WIN64 +HANDLE myHandle; +#else Standard_Integer myHandle; +#endif OSD_EnvironmentIterator.hxx: +#ifdef WIN64 +LPCH myEnv; +CHAR* myCount; +#else Standard_Integer myEnv; Standard_Integer myCount; +#endif OSD_EnvironmentIterator.hxx: +#ifdef WIN64 +LPCH myEnv; +CHAR* myCount; +#else Standard_Integer myEnv; Standard_Integer myCount; +#endif OSD_FileIterator.hxx: #endif +#ifdef WIN64 +#include +#endif class OSD_OSDError; OSD_Error myError; +#ifdef WIN64 +HANDLE myHandle; +#else Standard_Integer myHandle; +#endif Standard_Address myData; OSD_FileNode.hxx: +#ifdef WIN64 +void* myFileChannel; +#else Standard_Integer myFileChannel; +#endif OSD_SharedMemory.hxx: +#ifdef WIN64 +HANDLE myId; +#else Standard_Integer myId; +#endif TDF_LabelMapHasher.lxx: +#ifdef WIN64 +{ return 1 + ( (int) (labs(*(long int*) &aLab.myLabelNode) % Upper) ); } +#else { return 1 + ( (int) (labs((long int) aLab.myLabelNode) % Upper) ); } +#endif MFT_FontManager.cxx: +#ifdef WIN64 + register DWORD dwFileSize = (*(long*)&hFile != -1 ? GetFileSize(hFile,NULL) : 0xFFFFFFFF); +#else register DWORD dwFileSize = ((long)hFile != -1 ? GetFileSize(hFile,NULL) : 0xFFFFFFFF); +#endif ---------- +#ifdef WIN64 + if (*(long*)&hFile != -1) { +#else if ((long)hFile != -1) { +#endif NCollection_IncAllocator.cxx: +#ifdef WIN64 +#define IMEM_ALIGN(_addr) (sizeof(aligned_t)* IMEM_SIZE((size_t)(_addr))) +#else #define IMEM_ALIGN(_addr) (sizeof(aligned_t)* IMEM_SIZE((unsigned long)(_addr))) +#endif OpenGl_polygon.cxx: if ( data < (void *)0xffff ) { +#ifdef WIN64 + long a = *(long*)&data; +#else long a = (long)data; +#endif glVertex3fv( DaTa->vertices[a].xyz ); ----------- s->tmesh_sequence[ s->ts_num - 1 ] = data; if ( data < (void *)0xffff ) { +#ifdef WIN64 + long a = *(long*)&data; +#else long a = (long)data; +#endif glColor3fv( DaTa->vcolours[a].rgb ); ----------- if ( data <= (void *)0xffff ) { +#ifdef WIN64 + long a = *(long*)&data; +#else long a = (long)data; +#endif glNormal3fv( DaTa->vnormals[a].xyz ); ----------- if ( s->tmesh_sequence[j] < (void *)0xffff ) +#ifdef WIN64 + glVertex3fv( d->vertices[ *(long*)&s->tmesh_sequence[ j ] ].xyz ); +#else glVertex3fv( d->vertices[ (long)s->tmesh_sequence[ j ] ].xyz ); +#endif else { ------------ if ( s->tmesh_sequence[j] < (void *)0xffff ) { +#ifdef WIN64 + glColor3fv( d->vcolours[ *(long*) &s->tmesh_sequence[ j ] ].rgb ); + glVertex3fv( d->vertices[ *(long*) &s->tmesh_sequence[ j ] ].xyz ); +#else glColor3fv( d->vcolours[ (long) s->tmesh_sequence[ j ] ].rgb ); glVertex3fv( d->vertices[ (long) s->tmesh_sequence[ j ] ].xyz ); +#endif } else { b = (extra_vertex) s->tmesh_sequence[j]; ------------- if ( s->tmesh_sequence[j] < (void *)0xffff ) { +#ifdef WIN64 + glNormal3fv( d->vnormals[ *(long*) &s->tmesh_sequence[ j ] ].xyz); + glVertex3fv( d->vertices[ *(long*) &s->tmesh_sequence[ j ] ].xyz); +#else glNormal3fv( d->vnormals[ (long) s->tmesh_sequence[ j ] ].xyz); glVertex3fv( d->vertices[ (long) s->tmesh_sequence[ j ] ].xyz); +#endif } else { b = (extra_vertex) s->tmesh_sequence[j]; glNormal3fv( d->vnormals[(b->ind)].xyz); OpenGl_polygonholes.cxx: if ( s->tmesh_sequence[j] < (void *)0xffff ) { +#ifdef WIN64 + glVertex3fv( d->vertices[ *(long*)&s->tmesh_sequence[ j ] ].xyz ); +#else glVertex3fv( d->vertices[ (long)s->tmesh_sequence[ j ] ].xyz ); +#endif } --------- if ( s->tmesh_sequence[j] < (void *)0xffff ) { +#ifdef WIN64 + glColor3fv( d->vcolours[ *(long*) &s->tmesh_sequence[ j ] ].rgb ); + glVertex3fv( d->vertices[ *(long*) &s->tmesh_sequence[ j ] ].xyz ); +#else glColor3fv( d->vcolours[ (long) s->tmesh_sequence[ j ] ].rgb ); glVertex3fv( d->vertices[ (long) s->tmesh_sequence[ j ] ].xyz ); +#endif } else { --------- if ( s->tmesh_sequence[j] < (void *)0xffff) { +#ifdef WIN64 + glNormal3fv( d->vnormals[ *(long*) &s->tmesh_sequence[ j ] ].xyz ); + glVertex3fv( d->vertices[ *(long*) &s->tmesh_sequence[ j ] ].xyz ); +#else glNormal3fv( d->vnormals[ (long) s->tmesh_sequence[ j ] ].xyz ); glVertex3fv( d->vertices[ (long) s->tmesh_sequence[ j ] ].xyz ); +#endif } else { --------- s->tmesh_sequence[ s->ts_num - 1 ] = data; if ( data < (void *)0xffff ) { +#ifdef WIN64 + long int a = *(long int*)&data; +#else long int a = (long int)data; +#endif glVertex3fv( DaTa->vertices[a].xyz ); --------- if ( data < (void *)0xffff ){ +#ifdef WIN64 + long int a = *(long int*)&data; +#else long int a = (long int)data; +#endif glColor3fv( DaTa->vcolours[a].rgb ); -------- s->tmesh_sequence[ s->ts_num - 1 ] = data; if ( data < (void *)0xffff ) { +#ifdef WIN64 + long int a = *(long int*)&data; +#else long int a = (long int)data; +#endif glNormal3fv( DaTa->vnormals[a].xyz ); OpenGl_subrvis.cxx: TsmRegisterWsid( aview->WsId ); +#ifdef WIN64 + data.ldata = *(Tint*) &win; +#else data.ldata = (Tint) win; +#endif TsmSetWSAttri( aview->WsId, WSWindow, &data ); OpenGl_txgl.cxx: if( os.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS ) win95 = TRUE; +#ifdef WIN64 + if ( _Txgl_Map.IsBound( *(Tint*)&par ) ) { + hte = _Txgl_Map.ChangeFind( *(Tint*)&par ); +#else if ( _Txgl_Map.IsBound( (Tint)par ) ) { hte = _Txgl_Map.ChangeFind( (Tint)par ); +#endif if ( hte ) ------------ OpenGl_ResourceCleaner::GetInstance()->AppendContext( hte -> hGLRC, isShared); +#ifdef WIN64 + _Txgl_Map.Bind( *(Tint*)&par, hte ); +#else _Txgl_Map.Bind( (Tint)par, hte ); +#endif return par; ------------ if( os.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS ) win95 = TRUE; +#ifdef WIN64 + if ( _Txgl_Map.IsBound( *( Tint *)&par ) ) + { + hte = _Txgl_Map.ChangeFind( *( Tint *)&par ); +#else if ( _Txgl_Map.IsBound( ( Tint )par ) ) { hte = _Txgl_Map.ChangeFind( ( Tint )par ); +#endif ++hte -> nUsed; ------------ if ( pfd.dwFlags & PFD_NEED_PALETTE ) { +#ifndef WIN64 + WINDOW_DATA* wd = ( WINDOW_DATA* )GetWindowLong ( par, GWL_USERDATA ); +#else WINDOW_DATA* wd = ( WINDOW_DATA* )GetWindowLong ( par, GWLP_USERDATA ); +#endif InterfaceGraphic_RealizePalette (hte -> hDC, wd -> hPal, FALSE, ---------------- hte -> hGLRC = previous_ctx = ctx; +#ifdef WIN64 + _Txgl_Map.Bind( *( Tint *)&par, hte ); +#else _Txgl_Map.Bind( ( Tint )par, hte ); +#endif --------------- +#ifdef WIN64 + if ( !_Txgl_Map.IsBound( *( Tint *)&win ) ) { +#else if ( !_Txgl_Map.IsBound( ( Tint )win ) ) { +#endif printf("OpenGL interface: TxglWinset failed.UNKNOWN win %x\n",win); __leave; } +#ifdef WIN64 + hte = _Txgl_Map.ChangeFind( *( Tint *)&win ); +#else hte = _Txgl_Map.ChangeFind( ( Tint )win ); +#endif if( win95 ) { ----------------- +#ifdef WIN64 + if ( !_Txgl_Map.IsBound(*( Tint *)&win) ) + return; + hte = _Txgl_Map.ChangeFind(*( Tint *)&win); +#else if ( !_Txgl_Map.IsBound(( Tint )win) ) return; hte = _Txgl_Map.ChangeFind(( Tint )win); +#endif if ( --hte -> nUsed == 0 ) --------------------- ReleaseDC ( win, hte -> hDC ); +#ifdef WIN64 + _Txgl_Map.UnBind( *(Tint *) &win ); +#else _Txgl_Map.UnBind( (Tint ) win ); +#endif if( _Txgl_Map.Size() == 0 ) { previous_ctx = 0; -------------- GLCONTEXT TxglGetContext( WINDOW win ) { GLCONTEXT ctx = NULL; +#ifdef WIN64 + if ( _Txgl_Map.IsBound( *(Tint*) &win ) ) +#else if ( _Txgl_Map.IsBound( (Tint) win ) ) +#endif ctx = #ifdef WNT +#ifdef WIN64 + _Txgl_Map.Find( *(Tint*) &win )->hGLRC; +#else _Txgl_Map.Find( (Tint) win )->hGLRC; +#endif #else _Txgl_Map.Find( win ); #endif return ctx; } OSD_DirectoryIterator.cxx: myFlag = Standard_False; + #ifdef WIN64 + myHandle = INVALID_HANDLE_VALUE; + #else myHandle = ( Standard_Integer )INVALID_HANDLE_VALUE; + #endif ------ void OSD_DirectoryIterator :: Destroy () { if ( myData != NULL ) HeapFree ( GetProcessHeap (), 0, myData ); + #ifdef WIN64 + if ( myHandle != INVALID_HANDLE_VALUE ) + #else if ( myHandle != ( Standard_Integer )INVALID_HANDLE_VALUE ) + #endif FindClose ( ( HANDLE )myHandle ); } // end OSD_DirectoryIterator :: Destroy ---------------- + #ifdef WIN64 + if ( myHandle == INVALID_HANDLE_VALUE ) { + #else if ( myHandle == ( Standard_Integer )INVALID_HANDLE_VALUE ) { + #endif -------------- + #ifdef WIN64 + myHandle = FindFirstFile ( + wc.ToCString (), ( PWIN32_FIND_DATA )myData + ); + #else myHandle = ( Standard_Integer )FindFirstFile ( wc.ToCString (), ( PWIN32_FIND_DATA )myData ); + #endif -------------- + #ifdef WIN64 + if ( myHandle == INVALID_HANDLE_VALUE ) + #else if ( myHandle == ( Standard_Integer )INVALID_HANDLE_VALUE ) + #endif ------------- FindClose ( ( HANDLE )myHandle ); +#ifdef WIN64 + myHandle = INVALID_HANDLE_VALUE; +#else myHandle = ( Standard_Integer )INVALID_HANDLE_VALUE; +#endif ---------------- OSD_EnvironmentIterator.cxx: OSD_EnvironmentIterator :: OSD_EnvironmentIterator () { +#ifdef WIN64 + myCount = myEnv; + myEnv = GetEnvironmentStrings (); +#else myCount = ( Standard_Integer )myEnv; myEnv = ( Standard_Integer )GetEnvironmentStrings (); +#endif } // end constructor -------------- OSD_File.cxx: +#ifdef WIN64 +static void __fastcall _test_raise ( void*, Standard_CString ); +#else static void __fastcall _test_raise ( Standard_Integer, Standard_CString ); +#endif ------------- +#ifdef WIN64 +Standard_Integer __fastcall _get_file_type ( Standard_CString, void* ); +#else Standard_Integer __fastcall _get_file_type ( Standard_CString, Standard_Integer ); +#endif ------------ +#ifdef WIN64 + myFileChannel = _open_file ( fName.ToCString (), Mode, OPEN_NEW ); +#else myFileChannel = ( Standard_Integer )_open_file ( fName.ToCString (), Mode, OPEN_NEW ); +#endif --------------- +#ifdef WIN64 + myFileChannel = _open_file ( fName.ToCString (), Mode, OPEN_OLD ); +#else myFileChannel = ( Standard_Integer )_open_file ( fName.ToCString (), Mode, OPEN_OLD ); +#endif if ( ( HANDLE )myFileChannel == INVALID_HANDLE_VALUE ) { ------------- RAISE( TEXT( "OSD_File :: Append (): incorrent call - no filename given" ) ); +#ifdef WIN64 + myFileChannel = _open_file ( fName.ToCString (), Mode, OPEN_APPEND, &fNew ); +#else myFileChannel = ( Standard_Integer )_open_file ( fName.ToCString (), Mode, OPEN_APPEND, &fNew ); +#endif ------------- void OSD_File :: Close () { TEST_RAISE( TEXT( "Close" ) ); CloseHandle ( ( HANDLE )myFileChannel ); +#ifdef WIN64 + myFileChannel = INVALID_HANDLE_VALUE; +#else myFileChannel = ( Standard_Integer )INVALID_HANDLE_VALUE; +#endif myIO = 0; } // end OSD_File :: Close ---------------- +#ifdef WIN64 + flags = _get_file_type ( + fName.ToCString (), INVALID_HANDLE_VALUE + ); +#else flags = _get_file_type ( fName.ToCString (), ( Standard_Integer )INVALID_HANDLE_VALUE ); +#endif ---------- +#ifdef WIN64 +static void __fastcall _test_raise ( void* hFile, Standard_CString str ) { +#else static void __fastcall _test_raise ( Standard_Integer hFile, Standard_CString str ) { +#endif Standard_Character buff[ 64 ]; ----------- +#ifdef WIN64 +Standard_Integer __fastcall _get_file_type ( + Standard_CString fName, void* fileHandle + ) { +#else Standard_Integer __fastcall _get_file_type ( Standard_CString fName, Standard_Integer fileHandle ) { +#endif Standard_Integer retVal; DWORD dwType; int fileType; +#ifdef WIN64 + fileType = fileHandle == INVALID_HANDLE_VALUE ? + FILE_TYPE_DISK : + GetFileType ( ( HANDLE )fileHandle ); +#else fileType = fileHandle == ( Standard_Integer )INVALID_HANDLE_VALUE ? FILE_TYPE_DISK : GetFileType ( ( HANDLE )fileHandle ); +#endif ---------------- OSD_FileIterator.cxx: myFlag = Standard_False; +#ifdef WIN64 + myHandle = INVALID_HANDLE_VALUE; +#else myHandle = ( Standard_Integer )INVALID_HANDLE_VALUE; +#endif -------------- +#ifdef WIN64 + if ( myHandle != INVALID_HANDLE_VALUE ) +#else if ( myHandle != ( Standard_Integer )INVALID_HANDLE_VALUE ) +#endif --------- +#ifdef WIN64 + if ( myHandle == INVALID_HANDLE_VALUE ) { +#else if ( myHandle == ( Standard_Integer )INVALID_HANDLE_VALUE ) { +#endif ---------- +#ifdef WIN64 + myHandle = FindFirstFile ( + wc.ToCString (), ( PWIN32_FIND_DATA )myData + ); +#else myHandle = ( Standard_Integer )FindFirstFile ( wc.ToCString (), ( PWIN32_FIND_DATA )myData ); +#endif +#ifdef WIN64 + if ( myHandle == INVALID_HANDLE_VALUE ) +#else if ( myHandle == ( Standard_Integer )INVALID_HANDLE_VALUE ) +#endif ------------- } else if ( !myFlag ) { +#ifdef WIN64 + FindClose ( myHandle ); + myHandle = INVALID_HANDLE_VALUE; +#else FindClose ( ( HANDLE )myHandle ); myHandle = ( Standard_Integer )INVALID_HANDLE_VALUE; +#endif OSD_FileNode.cxx: +#ifdef WIN64 +Standard_Integer __fastcall _get_file_type ( Standard_CString, void* ); +#else Standard_Integer __fastcall _get_file_type ( Standard_CString, Standard_Integer ); +#endif ------------- OSD_FileNode::OSD_FileNode () { +#ifdef WIN64 + myFileChannel = INVALID_HANDLE_VALUE; +#else myFileChannel = ( Standard_Integer )INVALID_HANDLE_VALUE; +#endif } // end constructor ( 1 ) ------------- OSD_FileNode::OSD_FileNode ( const OSD_Path& Name ) { +#ifdef WIN64 + myFileChannel = INVALID_HANDLE_VALUE; +#else myFileChannel = ( Standard_Integer )INVALID_HANDLE_VALUE; +#endif myPath = Name; } // end constructor ( 2 ) ------------ +#ifdef WIN64 + switch ( _get_file_type ( fName.ToCString (), + INVALID_HANDLE_VALUE ) ) { +#else switch ( _get_file_type ( fName.ToCString (), ( Standard_Integer )INVALID_HANDLE_VALUE ) ) { +#endif ----------- +#ifdef WIN64 + switch ( _get_file_type ( fName.ToCString (), INVALID_HANDLE_VALUE ) ) { +#else switch ( _get_file_type ( fName.ToCString (), ( Standard_Integer )INVALID_HANDLE_VALUE ) ) { +#endif ----------------- +#ifdef WIN64 + switch ( _get_file_type ( fName.ToCString (), + INVALID_HANDLE_VALUE ) ) { +#else switch ( _get_file_type ( fName.ToCString (), ( Standard_Integer )INVALID_HANDLE_VALUE ) ) { +#endif ---------------------- pSD, retVal, +#ifdef WIN64 + _get_file_type ( fName.ToCString (), INVALID_HANDLE_VALUE ) == +#else _get_file_type ( fName.ToCString (), ( Standard_Integer )INVALID_HANDLE_VALUE ) == +#endif FLAG_DIRECTORY ---------- _get_file_type ( fName.ToCString (), +#ifdef WIN64 + INVALID_HANDLE_VALUE ) == +#else ( Standard_Integer )INVALID_HANDLE_VALUE ) == +#endif FLAG_DIRECTORY, ----------- +#ifdef WIN64 + return *((int*)(&retVal)); +#else return ( Standard_Integer )retVal; +#endif } // end OSD_FileNode :: UserId ------------ case FLAG_FILE: +#ifdef WIN64 + return *((int*)(&retVal)); +#else return ( Standard_Integer )retVal; +#endif } // end OSD_FileNode :: GroupId ----------- OSD_Process.cxx: +#ifdef WIN64 + return *((int*)(&retVal)); +#else return ( Standard_Integer )retVal; +#endif OSD_SharedMemory.cxx: +#ifdef WIN64 + myId = hFileMapping; +#else myId = ( Standard_Integer )hFileMapping; +#endif ----------- +#ifdef WIN64 + myId = hFileMapping; +#else myId = ( Standard_Integer )hFileMapping; +#endif OSD_signal_WNT.cxx: static Standard_Boolean fSETranslator = #ifdef _MSC_VER Standard_True; #else Standard_False; #endif #ifdef WNT +#ifdef WIN64 +#undef NOGDI +#endif ------------ +#ifdef WIN64 +char* aIDHand = IDI_HAND; +int aIntOfHand = *(int*)(&aIDHand); +#endif MB_DESC fatalErrorDesc[] = { +#ifdef WIN64 + { MBT_ICON, aIntOfHand }, + { MBT_BUTTON, IDYES, TEXT( "Continue" ) }, + { MBT_BUTTON, IDNO, TEXT( "Debugger" ) }, + { MBT_BUTTON, IDCANCEL, TEXT( "Stop" ) } +#else { MBT_ICON, ( int )IDI_HAND }, { MBT_BUTTON, IDYES, TEXT( "Continue" ) }, { MBT_BUTTON, IDNO, TEXT( "Debugger" ) }, { MBT_BUTTON, IDCANCEL, TEXT( "Stop" ) } +#endif }; OSD_Thread.cxx: +#ifdef WIN64 + return *((DWORD*)(&ret)); +#else return (DWORD)ret; +#endif } OSD_WNT.cxx: +#ifdef WIN64 + void *aDW = TlsGetValue ( dwLevel ); +if ( ( level = *( DWORD *)&aDW ) == NULL ) { +#else if ( ( level = ( DWORD )TlsGetValue ( dwLevel ) ) == NULL ) { +#endif ++level; OSD_WNT_1.cxx: +#ifdef WIN64 + ul = *(ULONG*) &lpIn; +#else ul = (ULONG) lpIn; +#endif ul +=3; Visual3d_ViewManager.cxx: +#ifdef WIN64 + void* aWDEW = THEWindow->HWindow (); + int TheSpecifiedWindowId = *(int*) &aWDEW; +#else int TheSpecifiedWindowId = int (THEWindow->HWindow ()); +#endif #endif // WNT ------------------ const Handle(WNT_Window) theWindow = *(Handle(WNT_Window) *) &AspectWindow; +#ifdef WIN64 + void* aWDEW = THEWindow->HWindow (); + TheWindowIdOfView = *(int*) &aWDEW; +#else TheWindowIdOfView = int (theWindow->HWindow ()); +#endif ------------------ const Handle(WNT_Window) THEWindow = *(Handle(WNT_Window) *) &AWindow; +#ifdef WIN64 + void *aWDEW = THEWindow->HWindow (); + int TheSpecifiedWindowId = *(int*) &aWDEW; +#else int TheSpecifiedWindowId = int (THEWindow->HWindow ()); +#endif #endif // WNT ------------- #else const Handle(WNT_Window) theWindow = *(Handle(WNT_Window) *) &AspectWindow; +#ifdef WIN64 + void *aWDEW = THEWindow->HWindow (); + TheWindowIdOfView = *(int*) &aWDEW; +#else TheWindowIdOfView = int (theWindow->HWindow ()); +#endif #endif // WNT WNT_DDriver.cxx: if ( UseMFT() ) { Standard_Integer aFont = (aFontIndex < 0 ? +#ifdef WIN64 + *(int*)&A->myTextFont : aFontIndex); +#else (int)A->myTextFont : aFontIndex); +#endif Handle(MFT_FontManager) theFontManager = WNT_MFTDraw.cxx: WNT_DDriver* lpDDrv = (WNT_DDriver*) lpDraw->theParam.pDriver; +#ifdef WIN64 + int aFont = *(int*)&lpW32->myTextFont; +#else int aFont = (int)lpW32->myTextFont; +#endif double myPixelToUnit = lpDraw->theP2U; WNT_TextManager.cxx: void WNT_TextManager::SetDrawAttribs(const Standard_Address aDrawData) { PMFT_TEXTMAN_DATA aData = (PMFT_TEXTMAN_DATA)aDrawData; +#ifdef WIN64 + myDevContext = *(int*)&aData->theHDC; +#else myDevContext = (int)aData->theHDC; +#endif WNT_WDriver.cxx: Standard_Integer aFont = (aFontIndex < 0 ? +#ifdef WIN64 + *(int*)&A->myTextFont : aFontIndex); +#else (int)A->myTextFont : aFontIndex); +#endif -------------- if ( UseMFT() ) { Standard_CString fstring; Standard_Integer aFont = (aFontIndex < 0 ? +#ifdef WIN64 + *(int*)&A->myTextFont : aFontIndex); +#else (int)A->myTextFont : aFontIndex); +#endif WNT_Window.cxx: void WNT_Window :: SetCursor ( const Aspect_Handle aCursor ) const { #ifndef WIN64 SetClassLong ( ( HWND )myHWindow, GCL_HCURSOR, ( LONG )aCursor ); #else SetClassLong ( ( HWND )myHWindow, GCLP_HCURSOR, *( LONG *)&aCursor ); #endif } // end WNT_Window :: SetCursor --------------- myExtraData.hPal = ( HPALETTE )dev -> HPalette (); +#ifdef WIN64 + if ( uData != *( LONG* )&myExtraData ) +#else if ( uData != ( LONG )&myExtraData ) +#endif