🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: linking to VC++ Dll's (_stdcall)

#10309
From: Norm Jaffe
Date: Fri, 23 Apr 2004 15:46
17 lines
1266 bytes
[snip]

>
>     typedef short __stdcall (*Inp32Ptr)(short PortAddress);
>     typedef void __stdcall (*Out32Ptr)(short PortAddress, short data);
>
>     Inp32Ptr *Input;
>     Out32Ptr *Output;

This results in a pointer-to-pointer-to-function; it should be

Inp32Ptr Input;
Out32Ptr Output;

[snip]

Norm
Technical Details
Message-ID: <40893a59$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <408802ed$1@newsgroups.borland.com> <408862a6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8a83c52dcba9336c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-23 09:10:24 PST
From: "Norm Jaffe" <mail@aurelsystems.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <408802ed$1@newsgroups.borland.com> <408862a6$1@newsgroups.borland.com>
Subject: Re: linking to VC++ Dll's (_stdcall)
Date: Fri, 23 Apr 2004 08:46:33 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 206.116.206.246
Message-ID: <40893a59$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1082735193 206.116.206.246 (23 Apr 2004 08:46:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail