🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.intrabuilder.forms
Article #116

Calling DLL-functions ?

#116
From: Pasi Bergman
Date: Mon, 03 Aug 1998 00:00
38 lines
1635 bytes
Hi,

I've developed a DLL using Borland Delphi 3. I'm trying to call the
one and only function in the DLL. Everything works fine if I call
the DLL from a Delphi program (that I've developed to test the
DLL), but if I try to call the DLL from IntraBuilder the Designer
crashes. Does anyone know why this happens ?

Does anyone have good experiences using DLLs with
IntraBuilder ?

--------------- Delphi source ----------------------
function MakeMyFile( Parameter1: PChar;
                                Parameter2: PChar;
                                Parameter3: PChar;
                                Parameter4: PChar ): integer; export;
------------------------------------------------------

--------------- IntraBuilder source ----------------
extern int MakeMyFile( char*, char*, char*, char*  ) "./MY.DLL"

// {End Header} Do not remove this comment//
// Generated on 31.07.1998
//
var f = new otfileForm();
:
:
   function button1_onServerClick()
   {
       var N = 0;
       N = MakeMyFile( '123', '123', '123', '123' );
       :
       :
   }
}
-----------------------------------------------------

Pasi B.
Technical Details
Message-ID: <35C5A891.42B3CBD1@true-media.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 14644c,69172707fadf14dc,start
X-Google-Attributes: gid14644c,public
From: Pasi Bergman <pasi.bergman@true-media.com>
Subject: Calling DLL-functions ?
Date: 1998/08/03
Message-ID: <35C5A891.42B3CBD1@true-media.com>
X-Deja-AN: 377457017
Content-Transfer-Encoding: 7bit
Organization: True Media Oy
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.intrabuilder.forms