This sample is located in \Samples\JDirect\olemode.
Description
Using the Sample
Key Project Files
Technologies Demonstrated
This sample application is similar to the Guidgen utility which generates unique GUIDs and copies them to the clipboard.
Unlike Guidgen, however, this version parses the GUID without braces ({}). This is useful for pasting the GUID into IDL (Interface Definition Language) files. In addition to showing how to use the ole keyword to assist with OLE's special calling conventions, it shows how even raw memory access, when necessary, can be easy using @dll.import.
To run the sample
Run Go.bat in the \Samples\JDirect\Olemode directory.
This class shows how to use the auto keyword on all methods except where specifically overridden by the ole keyword.