🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8832

Re: Export the function from exe.

#8832
From: Ed Mulroy [TeamB]
Date: Mon, 06 Sep 2004 13:20
22 lines
1631 bytes
I have posted a zip file containing source, header file and make file 
for a simple demo program which creates a DLL and creates an EXE which 
exports a function that the DLL calls.

The file is here
  http://www.mulroy.org/HELLOEXP.ZIP

To create the demo, unzip the contents into a new directory, make that 
directory the default and give this command.

  make -f helloexp.mak
  (the space after the "-f" and the ".mak" are optional)

Please let me know how it works for you.

.  Ed

> Igor Tsukanov wrote in message
> news:413c4566$1@newsgroups.borland.com...
>
> How can I export functions from my exe-file like exporting
> function from dll(__declspec(dllexport)...)?
Technical Details
Message-ID: <413c6439@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <413c4566$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,783862a20cd9a6ce
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy [TeamB]" <dont_email_me@invalid.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <413c4566$1@newsgroups.borland.com>
Subject: Re: Export the function  from exe.
Date: Mon, 6 Sep 2004 09:20:14 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 12.161.27.65
Message-ID: <413c6439@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094476857 12.161.27.65 (6 Sep 2004 06:20:57 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail