maul-esel / COM-Classes

AHK classes that implement COM interfaces
39 stars 10 forks source link

Allocate non-persistent memory for GUIDs #21

Closed maul-esel closed 12 years ago

maul-esel commented 12 years ago

I many cases where memory is allocated for a GUID, it does not need to be persistent. Therefore VarSetCapacity() should be used in favor of AllocateMemory(). This should shorten the code and improve performance