DLL weirdness

Giganews Newsgroups
Subject: DLL weirdness
Posted by:  Markus Humm (markus.hu…@freenet.de)
Date: Tue, 28 Mar 2006

Hello,

a dll which exports 2 procedures/functions has caused me trouble today.

First the exports section looked like this:

exports
  init index 1,
  init_kommunikation index 2;

If I loaded the dll with loadlibrary and then did a GetProcAddress for
init_kommunikation it always was nil. If I shortened the name of the
function to init_kommunik then it worked!

Is there any restriction of the length of a exported name? I'm not aware
of any.

Greetings

Markus

Replies