🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #230

Re: Klopot z DLL

#230
From: Piotr Miller
Date: Thu, 06 Nov 1997 08:59
24 lines
1302 bytes

julek w. <julekw@laser.com.pl> napisał(a) w artykule
<34608d79.17016432@news.tpsa.pl>...
> Witam,
> Napisalem dwie funkcje w C++ i skopmpilowalem to jako DLL
> 

Ja z kolei widzial bym problem w tym, ze pisales to pod C++. Poniewaz
funkcja Inc ma jeden argument typu short wynikowa nazwa tej funkcji jest
inna niz Inc. C++ umozliwiajac przeciazanie nazw funkcji modyfikuje ich
nazwy dodajac przed wlasciwa nazwa typ argumentu. Nazywa sie to chyba name
mangling. Aby temu zapobiec musisz zadeklarowac ta funkcje jako funckcje C.

Pozdrawiam


-- 
Piotr Miller

Politechnika Lubelska
Katedra Sieci Elektrycznych i Zabezpieczeń

MILLER@Elektron.pol.lublin.pl
Technical Details
Message-ID: <01bcea92$5272a0a0$2c1b3bc1@ELEKTRON>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!lublin.pl!not-for-mail
References: <34608d79.17016432@news.tpsa.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!lublin.pl!not-for-mail
From: "Piotr Miller" <Miller@Elektron.pol.lublin.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: Klopot z DLL
Date: 6 Nov 1997 08:59:37 GMT
Organization: Katedra Sieci i Zabezpieczeń
Lines: 24
Message-ID: <01bcea92$5272a0a0$2c1b3bc1@ELEKTRON>
References: <34608d79.17016432@news.tpsa.pl>
NNTP-Posting-Host: elpc44.pol.lublin.pl
X-Newsreader: Microsoft Internet News 4.70.1157
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit