I am trying to write a simple external stored procedure that calls out
into the dll. The environment used is Win2k, Sybase SQL Anywhere.
The problem I am encountering is the following:

I have the dll with a function defined as follows:

void __declspec(dllexport) __stdcall myFunc()
//code snipped

I have registered the function as a external stored procedure as
Create Procedure myFunc()
external name 'WindowsNT:myFunc@Proc.dll'

When I call the stored procedure, I get the error, that it is not able
to find the function.. in this case myFunc in the dll.

Do, any of the users had a similar problem can pointers to what may be going wrong...