Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't Find DLL entry point.

Status
Not open for further replies.

HarrySuber

Programmer
Sep 19, 2000
1
US
I am trying to write a DLL for use in CA-Realizer. (CA-Realizer is a dialect of BASIC. It has an EXTERNAL statement similar to VB's Declare for accessing functions defined in DLLs). I get error message 453: Can't find DLL entry point for 'MyFunction' in 'MyDLL'. I used QuickView to look at the DLL so I could try using the "ordinal" for MYFunction as an Alias as suggested by Help, but ActiveX DLL's have no export table! What gives here? Every ActiveX DLL that I look at has no export table. Is this some Microsoft scheme to prevent non-Microsoft products that can't register ActiveX DLL's form using them? Or maybe I'm missing something very basic about DLLs. Help!!.



[sig][/sig]
 
Hi Harry,

FWIW, a 'Can not find entry point in dll' error is generally caused by the name of the function being incorrectly spelled. It is case-sensitive.

For Example, using the ShowWindow Function in Win32Api:

DECLARE ShowWindow blah,blah,blah

DECLARE SHOWWINDOW blah,blah,blah

The second declaration would be source of the error because the function named is not properly spelled. [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>Focus on the solution....Not the problem.[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top