At 11:36 AM 8/9/2004, you wrote:
Hi, i try to use a Visual C++ code to program on palm.
Infortunately, a part of the code use HGLOBAL.

Can you tell me please the equivalent of HGLOBAL of MS VC++ on the palm?

typedef struct tag_ENTITIES
{
HGLOBAL hEntities; <<<-----------------
long TotalSize;
long FreePos;
long LastEntityPos;
long CurrentEntityPos;
long EntitiesNumber;
} ENTITIES, *PENTITIES;

A MemHandle is probably the closest type -- both are resizable handles that have to be locked before use, if I remember my Win32 programming correctly.



-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to