Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving RTF text to Word document
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00584887
Message ID:
00618208
Views:
27
>Look at the UDFs in my ClsHeap class; I'd recommend using ClsHeap rather than the in-line code approach shown here for handling the memory issues. The class comments describe what's going on in detail; there are examples of the use of lstrcopy() and RtlMoveMemory in detail in the code that can be used for reference, and the management of the memory space is simplified. It uses a private heap rather than the global memory pool, which may be significant if you ever try running in a multithreaded environment

Yes, but in case of interprocess operations (such as clipboard functions) the use of global heap is required.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform