This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AW: DLL function with string result?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]