Export functions from dll only ordinal
delphi, dllexport
Solution
The only way to get Delphi to mark a function for export is to use the `exports` directive. And Delphi will always add a named entry to the PE export table for each function that you export. But it's easy enough to give the function no name.
library Project32;
procedure Foo;
begin
end;
exports
Foo index 1 name '';
begin
end.
Problem
I am working on a DLL and I want that the functions I export to be exported only by ordinal not by name. Is this possible ? If yes I would like to know how is done.