Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20010420141251.020ca800@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Fri, 20 Apr 2001 14:14:42 -0400
To: Christian Lescher <christian@lescher.de>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: AW: DLL function with string result?
Cc: Lescher Christian <christian.lescher@icn.siemens.de>,
        "'Andrew Markebo'" <flognat@flognat.myip.org>,
        Troy Noble <troy.noble@channelpoint.com>, cygwin@cygwin.com
In-Reply-To: <3AE07C0B.928C7680@lescher.de>
References: <4.3.1.2.20010420103953.022a2700@pop.ma.ultranet.com>
 <4.3.1.2.20010420122559.0224b5f0@pop.ma.ultranet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 02:12 PM 4/20/2001, Christian Lescher wrote:
>I found that in windowsx.h of cygwin/gcc there are the following functions defined:
>
>#define GlobalAllocPtr(flags,cb) (GlobalLock(GlobalAlloc((flags),(cb))))
>#define GlobalFreePtr(lp) (GlobalUnlockPtr(lp),(BOOL)GlobalFree(GlobalPtrHandle(lp)))
>
>May these functions also be used for copying a string? How must they be used? (Maybe this works also for string > 64 KB?!)
>Is this also a way for interworking of Borland and Visual?


These aren't Cygwin functions.  They are Win32 functions.  You'll probably
find all the information you're looking for about them if you check the 
MSDN for documentation on these calls.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

