home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 83win / data1.cab / DLL_Toolkit / Source / HTBCursor / Tools / export.h next >
Encoding:
C/C++ Source or Header  |  2001-03-02  |  1.9 KB  |  49 lines

  1. //***********************************************************************************
  2.  
  3. //    export.h
  4.  
  5. //    High Tech BASIC, Copyright (C) TransEra Corp 1987 - 1999, All Rights Reserved.
  6.  
  7.  
  8.  
  9. //***********************************************************************************
  10. #ifndef __EXPORT_H
  11. #define __EXPORT_H
  12.  
  13. #ifndef DLLEXPORT
  14. #define DLLEXPORT __declspec(dllimport)
  15. #endif
  16.  
  17. extern "C"
  18. {
  19.  
  20. //***********************************************************************************
  21. // Variables
  22.  
  23.  
  24. extern DLLEXPORT HWND g_hBasicWindow;                // exported global WINDOW HANDLE
  25. extern DLLEXPORT HCURSOR g_hBasicCursor;            // exported global POINTER TO CURSOR HANDLE
  26.  
  27. // end Variables
  28. //***********************************************************************************
  29. // Prototypes
  30.  
  31.  
  32. DLLEXPORT void Disp(char * Msg);                    // print string on display line
  33. DLLEXPORT int Signal(int num);                        // exported SIGNAL Statement
  34. DLLEXPORT int CheckInt();                            // check for basic clear i/o or reset
  35. DLLEXPORT int PutBuffer(void * IOPath,char* data,short option);    // place null terminated string into buffer
  36. DLLEXPORT int GetBuffer(void * IOPath,char * data, long len);    // read string data from buffer
  37. DLLEXPORT void Interactive(short option);            // see HTBasic Suspend Interactive and resume interactive command
  38. DLLEXPORT void GetBasicEvents(LPHANDLE ResetEvent, LPHANDLE ShutdownEvent);    // Basic events for reset and shutdown
  39. DLLEXPORT void Registerthread(LPHANDLE phEvent);    // register event so Basic will wait on shutdown
  40. DLLEXPORT void Unregisterthread(LPHANDLE phEvent);    // call this to unregister your thread
  41. DLLEXPORT CWinApp * GetBasicApp();                    // get pointer to basic app
  42. DLLEXPORT void SetBasicCursor(char * cursor);        // set standard cursors
  43.  
  44. // end prototypes
  45. //***********************************************************************************
  46.  
  47. }    // end extern "C"
  48.  
  49. #endif // ifndef-define __EXPORT_H