I have Created DLL using VB 6.0 which return the name string. Contains 1 parameter, which query and return the name. i have defined in PB as.
FUNCTION STRING GetName(STRING userid ) LIBRARY "Dbinterface.dll"
In VB it works fine.
im calling in PB as.
nm = GetName("IMTIYAZ")
When PB application is executed it gives an error.
Power Builder Application Error: (R0021)
Err: bad runtime funtion at line 62 ..
where line 62 contains the above codes.
Please, help me if anyone is aware of how to use VB dll in PB.
Thanking you in advance