$1.99

Dynamic DLL's (XDEV17204)

I want this!

Dynamic DLL's (XDEV17204)

$1.99

Dynamic Link Libraries (DLL's) are the main components of reusable code on the Windows Operating System. There are many functions which can be viewed by using the dumpbin.exe or link.exe command-line tools. Xojo can dynamically load DLLs by using Windows API declare functions, and this example shows how to show a message with the Windows API MessageBox function.

One of the many reasons for performing this task dynamically is to minimize memory usage by clearing the data after each call. On older systems this greatly helps performance, and lowers the memory needed to run API calls on business computers with many programs running in the background. This example can be used as a template for almost all of Windows DLL's, and also for exposed third-party DLL's. This article shows how to dynamically call the MessageBoxW function in the accompanying example project.

I want this!
Size
163 KB
Copy product URL