🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17487

Re: Varias cosillas.....

#17487
From: batsman batsman
Date: Tue, 21 Dec 1999 00:00
44 lines
2578 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <V6u74.24$F%1.1968@m2newsread.uni2.es>, �lvaro L. Maroto Conde wrote:
>Otra cosa: Podr�a alguien decirme como puedo hacer un 'dlopen' a una
>libreria de g++, para cargar una clase din�micamente?

No lo hagas, en C++ los nombres est�n "mangled", por ejemplo:

Item::insert_field(char *, char *)

queda as�:

insert_field__4ItemPcT1

Adem�s tendr�as que estar pasando el puntero this continuamente, y no
podr�as crear con facilidad objetos de las clases cargadas...
Tal vez te interese CORBA o EDMA (este �ltimo comentado en Linux Actual,
forma parte del proyecto GNU, es un sistema orientado a objetos bastante
potente y sencillo. Se puede usar desde cualquier lenguaje que permita
llamar a funciones de C).

- -- 
              _           _                             
             | |__   __ _| |_ ___ _ __ ___   __ _ _ __  
             | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
             | |_) | (_| | |_\__ \ | | | | | (_| | | | |
             |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
  ________________________________________________________________
 |Visit   |  http://www.geocities.com/SiliconValley/Vista/2075    |
 |Linux   |  http://www.geocities.com/SiliconValley/Vista/4289    |
  ----------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQEVAwUBOF/V3b0Y27yr0iefAQHkcwf/S/AwhpESjzrj8nftoPvSmbhxIGmNH24V
s44Waq0JN9SMsuRDe63LLurJvWYbrG9E8qR00tItgi7PSLkuom6Fn3mUy1vbZ+GB
qmV15jXh+nUZyqGb+n0bVBtrbZ0nhUhye8UCT70idIcHmE8GONcomgrs/N5M/1S3
SLCpX+tNu0PSu6Swk8U/T7VjV3Dh5IcfE3uY2Mmv5ZtqzkV/LHlqJvS6cfjA7ANf
wV7rkyDKuv5YD4bRWTUiqthklhkjIEOkv1IQTz890doXkrPBkcdgYGmiYIUK8OEW
En0lWh8YogtPXbDgITSo/DPc7wzLIOE/tuRvfsvioQYDZnhhQm2k2A==
=7kz0
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <2lko38.7e3.ln@simpsons4ever>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <V6u74.24$F%1.1968@m2newsread.uni2.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,9c75c5eb628a2d2
X-Google-Attributes: gidf86c8,public
From: batsman@simpsons4ever. (batsman)
Subject: Re: Varias cosillas.....
Date: 1999/12/21
Message-ID: <2lko38.7e3.ln@simpsons4ever>
X-Deja-AN: 563492296
Content-Transfer-Encoding: 8bit
References: <V6u74.24$F%1.1968@m2newsread.uni2.es>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@uni2.es
X-Trace: m2newsread.uni2.es 945802224 62.36.6.168 (Tue, 21 Dec 1999 19:50:24 MET)
Organization: Wanadoo
Mime-Version: 1.0
Reply-To: Usa el programa de descodificación 
NNTP-Posting-Date: Tue, 21 Dec 1999 19:50:24 MET
Newsgroups: es.comp.os.linux.programacion