by Antonio Linares » Wed Jun 03, 2009 5:37 am
- Code: Select all Expand view
#include "c:\harbour\include\hbapi.h"
class Sample
{
public:
int iValue;
Sample();
};
Sample::Sample()
{
iValue = 123;
}
HB_FUNC( TEST )
{
Sample * p = new Sample;
hb_retnl( ( unsigned long ) p );
}
HB_FUNC( TEST_IVALUE )
{
hb_retnl( ( ( Sample * ) hb_parnl( 1 ) )->iValue );
}
extern "C"
{
HB_FUN_MSGINFO( void );
}
HB_FUNC( XMSGINFO )
{
HB_FUN_MSGINFO();
}
-
Antonio Linares
- Site Admin
-
- Posts: 42099
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
-
Return to FiveWin para Pocket PC
Who is online
Users browsing this forum: No registered users and 32 guests