I need to utilize some functions in a 3rd party dll. I'm using the
DECLARE statement, but I keep getting the "Cannot find entry point
FuncName in the DLL".

I used dumpbin /exports on the DLL. The function names look like
this:

_Function1@8
_Function2@8

I've also tried:

DECLARE integer FunctionName IN that.dll ALIAS "_Function1@8"

But this returns the same error.

Can someone help me with these decorated function names.

Thanks!

Re: Help With DECLARE DLL by Rush

Rush
Thu May 13 12:12:08 CDT 2004

What the hell, another Rush?

- Rush

"Rush" <rusha@data-tech.com> wrote in message
news:9c4a6c75.0405130853.75c28460@posting.google.com...
> I need to utilize some functions in a 3rd party dll. I'm using the
> DECLARE statement, but I keep getting the "Cannot find entry point
> FuncName in the DLL".
>
> I used dumpbin /exports on the DLL. The function names look like
> this:
>
> _Function1@8
> _Function2@8
>
> I've also tried:
>
> DECLARE integer FunctionName IN that.dll ALIAS "_Function1@8"
>
> But this returns the same error.
>
> Can someone help me with these decorated function names.
>
> Thanks!



Re: Help With DECLARE DLL by Gregory

Gregory
Thu May 13 12:37:30 CDT 2004

Rush,

Seems like an explicit export to me

If the exports show something like

FunctionName@8

then this may work (just a guess)

declare integer FunctionName in that.dll

Gregory
______________________
"Rush" <rusha@data-tech.com> wrote in message
news:9c4a6c75.0405130853.75c28460@posting.google.com...
> I need to utilize some functions in a 3rd party dll. I'm using the
> DECLARE statement, but I keep getting the "Cannot find entry point
> FuncName in the DLL".
>
> I used dumpbin /exports on the DLL. The function names look like
> this:
>
> _Function1@8
> _Function2@8
>
> I've also tried:
>
> DECLARE integer FunctionName IN that.dll ALIAS "_Function1@8"
>
> But this returns the same error.
>
> Can someone help me with these decorated function names.
>
> Thanks!


Re: Help With DECLARE DLL by Roger

Roger
Thu May 13 13:36:24 CDT 2004

Rush Strong <rush.strong]@[verizon.net> wrote:
> What the hell, another Rush?

Rushmore, perhaps?
But I agree, one Rush is enough! ;-)

-Roger



Re: Help With DECLARE DLL by Rick

Rick
Thu May 13 13:45:40 CDT 2004

Rush,
Alias is your name for the function, the function name you DECLARE must =
exactly match what's in the DLL. So try:

DECLARE integer _Function1@8 IN that.dll AS myFunc1

Note: In VFP the ALIAS is actually AS.

Rick

"Rush" <rusha@data-tech.com> wrote in message =
news:9c4a6c75.0405130853.75c28460@posting.google.com...
> I need to utilize some functions in a 3rd party dll. I'm using the
> DECLARE statement, but I keep getting the "Cannot find entry point
> FuncName in the DLL".
>=20
> I used dumpbin /exports on the DLL. The function names look like
> this:
>=20
> _Function1@8
> _Function2@8
>=20
> I've also tried:
>=20
> DECLARE integer FunctionName IN that.dll ALIAS "_Function1@8"
>=20
> But this returns the same error.
>=20
> Can someone help me with these decorated function names.
>=20
> Thanks!

Re: Help With DECLARE DLL by Rush

Rush
Thu May 13 22:10:21 CDT 2004

How odd - I've heard that so often, especially as people get to know me . .
.

- Rush

"Roger Ansell" <notmyreal@emailaddress.com> wrote in message
news:2ghth4F33fk4U1@uni-berlin.de...
> Rush Strong <rush.strong]@[verizon.net> wrote:
> > What the hell, another Rush?
>
> Rushmore, perhaps?
> But I agree, one Rush is enough! ;-)
>
> -Roger
>
>