Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: c/c++ differences


  • Subject: Re: lug-bg: c/c++ differences
  • From: viktor@email.domain.hidden (Viktor Vasilev)
  • Date: Fri, 04 Jul 2003 12:08:01 +0200


privet,

Stanislav Lechev [AngelFire] wrote:

<em class="quotelev1">> kakto wivdame w C++ funkciqta e sys ime "_Z11plugin_mainv"
<em class="quotelev1">> koeto weroqtno e zaradi polimorfizma
<em class="quotelev1">> ili pone taka si go obqsnqwam az ...
<em class="quotelev1">> wyprosa mi e sledniq 
<em class="quotelev1">> kogato se opitwam da zaredq plugina si ...
<em class="quotelev1">> az napraktika ne mu znam imenata na funkciite
<em class="quotelev1">> kogato sa kompilirani na C++
<em class="quotelev1">> znam che ima wariant sys dummy funkcii prez C da go prekaram
<em class="quotelev1">> no ne me ustrojwa...
<em class="quotelev1">> interesnoto e che na razlichnite versii na libc/glibc 
<em class="quotelev1">> tezi prefix i suffix: _Z11 i v
<em class="quotelev1">> sa razlichni...
<em class="quotelev1">> 
<em class="quotelev1">> wyprosa mi e kak po dqwolite da si adresiram prawilno funkciqta
<em class="quotelev1">> sled kato ne znam imeto i...

In C++ functions are loaded just like in C, with dlsym. The functions 
you want to load must be qualified as extern "C" to avoid the symbol 
name being mangled.
eto i kyde pishe podrobnostite:
http://www.tldp.org/HOWTO/mini/C++-dlopen/

ycnex,
viktor

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================


  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.