🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DLL not created

#16791
From: Beto
Date: Thu, 24 Apr 2003 02:05
19 lines
1289 bytes
I am trying to build a DLL with the DLL wizard in BCB5 as follows. The
project compiles ok but the .dll file is not created. What am I doing wrong
? Thanks in advance.

#include <windows.h>
#pragma argsused

int __export retorno(int a);

int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*
lpReserved)
{
        return 1;
}

int __export retorno(int a)
{
        return (2*a);
}
Technical Details
Message-ID: <3ea74753@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9fe7ca6c2cc15621,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-23 19:12:02 PST
Reply-To: "Beto" <pasini@netbank.com.br>
From: "Beto" <pasini@netbank.com.br>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: DLL not created
Date: Wed, 23 Apr 2003 23:05:21 -0300
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 200.181.174.38
Message-ID: <3ea74753@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051150163 200.181.174.38 (23 Apr 2003 19:09:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail