View Single Post
  #7 (permalink)  
Old 05-23-2011, 06:26 PM
Qatan
Guest
 
Posts: n/a
Default Re: libreria caos.lib como la paso de 16 bits a 32 bits

Hello David,

I think I understand Macgyber.
He has the source code for that library.
He wants to know how to build it 32bits from the sources.

Qatan

"dlzc" <dlzc1@cox.net> wrote in message
news:b9bc14c3-a447-4339-8515-be0662015c26@x38g2000pri.googlegroups.com...
Dear macgyber:

On May 23, 8:37 am, macgyber <americasoftw...@gmail.com> wrote:
> On 23 mayo, 11:06, dlzc <dl...@cox.net> wrote:
> > On May 23, 6:27 am, macgyber <americasoftw...@gmail.com> wrote:

>
> > > tengo varios programas hechos en clipper y he
> > > usado la libreria caos.lib de grupo eidos
> > > he conseguido los fuentes pero no se como
> > > generarla para 32 bits, por lo que me han
> > > dicho lo puedo hacer con borland c ++,
> > > tengo instalada la version 5.5 para usarla con
> > > xailer 2 y xharbour

>
> > > atentos saludos desde uruguay

>
> > English:
> > You cannot use 16-bit libraries in a 32-bit binary.

>
> > You can write a Clipper program using this
> > library. Have your (x)Harbour program call it.

>
> > Or write your own functions to do those things.

>
> > Spanish (Google translate):
> > Usted no puede usar las bibliotecas de 16 bits
> > en un sistema binario de 32 bits.

>
> > Usted puede escribir un programa Clipper
> > usando esta biblioteca. Haga que su (x) de
> >l programa Puerto llaman.

>
> > O escribir sus propias funciones para hacer
> > esas cosas.

>
> I need convert 16bit library to 32bit.
> I have borland c++ 5.5 to do that.
> as i can do this ?


No. You need the source code to do this. The source code to the
library.

What I have done:
- compile without the library
- note the function names that are missing (may have "hbfunc" added to
the beginning of the name)
- write wrapper functions with those names, that use only the
functions built into (x)harbour.
- Link the module with these wrappers.

You can add more and change what your wrappers do, and not have to
visit all your code.

Good luck!

David A. Smith


Reply With Quote