Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13175
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: DLL Definition/Third Party DLLs |
| Date | Thu, 10 Dec 2020 11:24:12 +0100 |
| Lines | 32 |
| Message-ID | <i3ebacFj6rqU1@mid.individual.net> (permalink) |
| References | <0d99606e-aae6-4639-81fd-20c7f6840807n@googlegroups.com> <i370meF61isU1@mid.individual.net> <d42de7a2-4dad-4f89-b9d4-5acf4d6b4fe7n@googlegroups.com> <i396m8Fivo4U1@mid.individual.net> <499292c1-11ad-4e85-b46c-3131b5b32f47n@googlegroups.com> <6a6464bb-9b5d-40e5-8b4d-09e707fdf3e8n@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net hNWx8bnHvN0XKZ9/ef1+dgKnzUTgGmeNcuuOaaSv05oACz+gE= |
| Cancel-Lock | sha1:vY81kD0JM7JBPUbkns8kWWU/eT8= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:13175 |
Show key headers only | View raw
Hi Sebastián > I will change all functions and then test... > > It's safe to change? > > DLL_EXPORT_IMPORT int DLL_STD_CALL SetPort( const char *port ); > > From: > _DLL FUNCTION SetPort(cPort AS STRING) AS INT PASCAL:DllName.SetPort > > to > _DLL FUNCTION SetPort(pszPort AS PSZ) AS INT PASCAL:DllName.SetPort > > and then call > > LOCAL iResult:= 0 AS INT > LOCAL pszPort:= NULL_PSZ AS PSZ > > pszPort:= StringAlloc(cPort) > iResult:= SetPort(pszPort) > MemFree(pszPort) > pszPort:= NULL_PSZ That should work. Wolfgang --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
DLL Definition/Third Party DLLs Sebastián BASSANO <ccyasa.sbassano@gmail.com> - 2020-12-07 05:40 -0800
Re: DLL Definition/Third Party DLLs "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-12-07 16:39 +0100
Re: DLL Definition/Third Party DLLs Sebastián BASSANO <ccyasa.sbassano@gmail.com> - 2020-12-07 08:03 -0800
Re: DLL Definition/Third Party DLLs "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-12-08 12:34 +0100
Re: DLL Definition/Third Party DLLs Sebastián BASSANO <ccyasa.sbassano@gmail.com> - 2020-12-09 03:25 -0800
Re: DLL Definition/Third Party DLLs Sebastián BASSANO <ccyasa.sbassano@gmail.com> - 2020-12-09 08:56 -0800
Re: DLL Definition/Third Party DLLs "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-12-10 11:24 +0100
Re: DLL Definition/Third Party DLLs Sebastián BASSANO <ccyasa.sbassano@gmail.com> - 2020-12-16 06:17 -0800
Re: DLL Definition/Third Party DLLs Jamal <nospam@example.com> - 2020-12-08 01:56 -0500
Re: DLL Definition/Third Party DLLs Sebastián BASSANO <ccyasa.sbassano@gmail.com> - 2020-12-09 03:24 -0800
csiph-web