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!

VB Type External Function Declaration in PB

Status
Not open for further replies.

pb10developer

Programmer
Sep 9, 2004
2
US
I am converting an app from PB8 to PB10 and have run into one snag. PB10 will not accept one of the external function declarations - I get "Syntax Error". Works great in PB8.

Here is the declaration:
Code:
Subroutine _n3sgusd@48 (ref String P1, ref String P2, &
ref String P3, ref String P4, ref String P5, &
ref String P6, ref String P7, ref String P8, &
ref String P9, ref String P10, ref String P11, &
ref String P12) Library "n3sgus.dll" ALIAS FOR "_n3sgusd@48;Ansi"
This is a VB style DLL where the @48 indicates the entry point into the DLL. I have tried putting single and double quotes around "_n3sgusd@48" but it doesn't work. "Syntax Error"

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top