Entry Point Not Found in DLL
- To: mathgroup at smc.vnet.net
- Subject: [mg61593] Entry Point Not Found in DLL
- From: Abraham Howell <abe at abotics.com>
- Date: Sun, 23 Oct 2005 05:45:56 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello, my name is Abe Howell and I'm trying to leverage a .NET DLL that I created as a Visual Basic .NET Class Library and compiled into a DLL. I made sure to install and start the .NETLink and declare the DLL function using DefineDLLFunction, but when I try to use the function I get an error stating that the entry point can't be found. I was able to get the externalFloor example to work. My code is listed below and any help will be much appreciated. Here's the exact error code: NET::netexcptn: A .NET exception occurred: System.EntryPointNotFoundException: Unable to find an entry point named ShowNumb in DLL C:\Pro?unctions_Lib_Mathematica.dll. at Wolfram.NETLink.DynamicDLLNamespace.DLLWrapper3.ShowNumb(). -Thanks, Abe InstallNETLink[] Needs["NETLink`"] ShowNumber = DefineDLLFunction["ShowNumber","C:\Program Files\Wolfram Research\Mathematica\5.0\BioBot_Functions_Lib.dll","int",{}]; ShowNumber[]