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 SkipVought 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.

egapogi

Programmer
Feb 4, 2002
60
0
0
PH
Hey Folks,

Got this error "Can't Find DLL entry point".

I tried to search in this forum and tried the reccomended solutions but still got the same :(.

I have an activexdll created using VB6.
When i include this dll as one of my references in my proj, its working smoothly.

for whatever reason, I am trying to call a function in the said dll without adding it as reference in my project.
Just like this...

Declare Function ShowFormName Lib "UserGroup.dll" (ByVal sFormName As String) as variant

I am sure i didnot misspell the function name.
I also tried using alias but it didnt work.

can anyone light me up?...

the error pops up when i call the function ShowFormName.

thanks,
egapogi

 
You can't call an mfc dll with declare function, you have to had a reference in your project. In VB you can not create a standard dll directly, to do this you need a third party programm or you have to create it with a different programming language.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top