Export functions only from dll

I am working on a DLL, and I want the functions that I export to be exported only by serial number, not by name.

Is it possible? If so, I would like to know how to do it.

+7
source share
1 answer

The only way to get Delphi to mark the export function is to use the exports directive. Delphi will always add a named entry to the PE export table for each function you export. But it's easy enough to give a function a name.

 library Project32; procedure Foo; begin end; exports Foo index 1 name ''; begin end. 
+13
source

All Articles