yo tambien me anoto
yo tambien me anoto
hola, yo tambien ,,,,, para que me apunte
saludos
Hola,
Evidentemente yo claro que s铆
.
Vamos, vamossss... esto se anima!!!
A ver si llegamos a 15 o 20.
Habr铆a que pensar en crear un foro nuevo... ( quien se apunta a hacerlo? por ejemplo en los grupos de google o yahoo o no s茅...)
Y como ejemplo pr谩ctico de los ejemplos qu茅 quereis ![]()
Teneis docenas de ejemplos de usar C y Harbour en el c贸digo fuente en FWH\source\winapi*.c
...y ser谩n tomados como gu铆a a seguir, entre otras cosas porque est谩n hechos por un maestro y por si fuera poco un gran amigo...
Gracias Antonio...
PD: Tengo muchas ganas de verte. Si vienes por Sevilla me das un toque vale?
Manu,
Era solo un recordatorio porque a veces obviamos lo que tenemos m谩s a mano ![]()
Hace tiempo que no voy por Sevilla, a ver si voy y por supuesto que nos vemos ![]()
Yo tambi茅n estoy interesado.
Muchas gracias.
// C functions call from Harbour
//---------------------------------
#pragma BEGINDUMP
#include <hbapi.h>
#include <math.h>
// Bitwise NOT (C Function)
HB_FUNC( C_NOT )
{
聽 聽 long long int nHexadecimal;
聽 聽 long long int nNot;
聽 聽 nHexadecimal = hb_parnll(1);
聽 聽 nNot = ~nHexadecimal;
聽 聽 hb_retnll( nNot );
}
#pragma ENDDUMP
//---------------------------------
#pragma BEGINDUMP
#include <hbapi.h>
#include <math.h>
// Bitwise AND (C Function)
HB_FUNC( C_AND )
{
聽 聽 long long int nHexadecimal1, nHexadecimal2;
聽 聽 long long int nAnd;
聽 聽 nHexadecimal1 = hb_parnll(1);
聽 聽 nHexadecimal2 = hb_parnll(2);
聽 聽 nAnd = nHexadecimal1 & nHexadecimal2;
聽 聽 hb_retnll( nAnd );
}
#pragma ENDDUMP
//---------------------------------
#pragma BEGINDUMP
#include <hbapi.h>
#include <math.h>
// Bitwise XOR (C Function)
HB_FUNC( C_XOR )
{
聽 聽 long long int nHexadecimal1, nHexadecimal2;
聽 聽 long long int nXor;
聽 聽 nHexadecimal1 = hb_parnll(1);
聽 聽 nHexadecimal2 = hb_parnll(2);
聽 聽 nXor = nHexadecimal1 ^ nHexadecimal2;
聽 聽 hb_retnll( nXor );
}
#pragma ENDDUMP
//-----------------------------------------
#pragma BEGINDUMP
#include <hbapi.h>
#include <math.h>
// Bitwise OR (C Function)
HB_FUNC( C_OR )
{
聽 聽 long long int nHexadecimal1, nHexadecimal2;
聽 聽 long long int nOr;
聽 聽 nHexadecimal1 = hb_parnll(1);
聽 聽 nHexadecimal2 = hb_parnll(2);
聽 聽 nOr = nHexadecimal1 | nHexadecimal2;
聽 聽 hb_retnll( nOr );
}
#pragma ENDDUMP
//---------------------------------
#pragma BEGINDUMP
#include <hbapi.h>
#include <math.h>
HB_FUNC( C_SHIFT_R )
{
聽 聽 long long int nHexadecimal1;
聽 聽 long long int nToShiftR;
聽 聽 long long int nShifted;
聽 聽 nHexadecimal1 = hb_parnll(1);
聽 聽 nToShiftR = hb_parnll(2);
聽 聽 nShifted = nHexadecimal1 >> nToShiftR;
聽 聽 hb_retnll( nShifted );
}
#pragma ENDDUMP
//---------------------------------
#pragma BEGINDUMP
#include <hbapi.h>
#include <math.h>
HB_FUNC( C_SHIFT_L )
{
聽 聽 long long int nHexadecimal1;
聽 聽 long long int nToShiftL;
聽 聽 long long int nShifted;
聽 聽 nHexadecimal1 = hb_parnll(1);
聽 聽 nToShiftL = hb_parnll(2);
聽 聽 nShifted = nHexadecimal1 << nToShiftL;
聽 聽 hb_retnll( nShifted );
}
#pragma ENDDUMPMuchas gracias George habr谩 que ternelo en cuenta...
De cualquier modo hechale un vistazo a hbbit.c que hay en harbour\src\rtl
Manuel:
A mi tambi茅n me interesa por favor.
OK, Jos茅 Luis...
Creo que tambi茅n ir铆a bien meter la Programaci贸n Orientada a Objetos y como ejemplo del sistema extendido y la POO hacer un embri贸n de acceso a SQLite...
Qu茅 os parece? ![]()
Hola Manu.
Yo tambi茅n me apunto.
Carlos.
Como siempre bienvenido Carlos...
A prop贸sito Carlos, estoy preparando una versi贸n de Eagle1 que te va agustar ![]()
Gracias Manu.
Estar茅 esperando tus noticias entonces.
Saludos.
Carlos.