Files
harbour-core/harbour
Viktor Szakats e18f4f39db 2009-05-14 20:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwin/legacy.c
    + Added old MESSAGEBOX() call.

  * contrib/hbwin/win_misc.c
    * WAPI_MESSAGEBOX() now accepts pointer only.
    + WAPI_LOADLIBRARY() added, pointer based only.
    + WAPI_FREELIBRARY() added, pointer based only.
    + WIN_N2P() added to convert numeric pointers to real pointers.
    + WIN_P2N() added to convert real pointers to numeric ones.
      I know this is a hack but it's IMO better than embedding the
      conversion logic to all functions, and makes it possible to
      "bridge" this parameter passing difference between existing
      apps/libs and our developing Windows API layer.
      So f.e. 3rd party app may switch to our new API, while
      keeping some parts of his local code intact by using:
      WAPI_MESSAGEBOX( WIN_N2P( MYWINFUNC_RETURNING_A_NUMHND() ), "hello", "world", MB_OK )
      Later after doing local fixes this can be changed to:
      WAPI_MESSAGEBOX( MYWINFUNC_PROPER(), "hello", "world", MB_OK )

  * contrib/hbwin/win_dll.c
    * Changed stub order for DLLLOAD()/LOADLIBRARY(),
      DLLUNLOAD()/FREELIBRARY(), so that it workd if XBase++ parts 
      are disabled.
2009-05-14 18:11:14 +00:00
..