As an experiment, I created a separate library to hold a function, and then tried to call it from within an application.

Normally, would I would expect to see in the code for the function declaration, something like this:

Code:
Public Function MyFunction Alias "MyFunction" (ByVal X As Long) Export As Long
VB uses the regular convention:

Code:
Public Function MyFunction (ByVal X As Long) As Long
I know that "export" is critical, as in the first sample, and I believe "alias" is too. I had problems doing this in VB6 and here also. There doesn't seem to be a way to specify an "entry point in VB." How do I do this?