Using exports clause in exe project

Giganews Newsgroups
Subject: Using exports clause in exe project
Posted by:  Bob Dawson (bdaws…@idtdna.com)
Date: Mon, 27 Mar 2006

From help: "An exports clause can appear anywhere and any number of times in
the declaration part of a program or library, or in the interface or
implementation section of a unit. Programs seldom contain an exports
clause."

Seldom? Or never? The language allows it, but what's it good for?
LoadLibrary isn't going to work against an exe, since it's not going to be
mapped as an in-process call the way a dll procedure would.

So this pretty much a useless feature? Or is there some other point to it?

bobD

Replies