Home » Developer & Programmer » Forms » call dll from oracle 6i (call dll from oracle 6i)
|
Re: call dll from oracle 6i [message #667969 is a reply to message #667968] |
Mon, 29 January 2018 01:53   |
 |
Kokew2000
Messages: 12 Registered: December 2017
|
Junior Member |
|
|
PLEASE I NEED HELP CAUSE I DONT WRITE C PROGRAMMING BUT I HAVE CODE FOR C PROGRAMMING
I WANT MAKE DLL BY THIS CODE THEN CALL IT FROM FORMS 6I I THUNK THIS IS WHAT NAMED API
THIS IS A CODE IN C PROGRAMMING
const hasp_feature_t feature = HASP_DEFAULT_FID;
hasp_handle_t handle = HASP_INVALID_HANDLE_VALUE;
hasp_status_t status;
unsigned char vendor_code[] =
"P+bvguFqumejqvwOmvNDruTN3d0v4O5YpN+Q3sDSPPP8EnanCZJP/9P6a3KQvkXtjZTLAUnoZSnzM0d+"
"b8pR0dX+pBD2kDjnZb01HGvclQ50T5sIEEFexVHSckrjNCXckJjYiWBkgqxdzletOke6WQdxdPj/KZK3"
"crgrTMWfYGManxyWsIeXxtrwgrARwPYuhd5o62udILVhl+uADzFmXvRwyRUsAH1P3sfSwnlSHfLpI97x"
"GlKGmxJcUWA38+w5ye7Ta94KNkeGmwC3Ij49SeBere/jd6aC2YBpcCRqGn009T4M0n+68J/Nk3+DrisC"
"3eW+8OYce601w5rJ7Xp6+d6Ue49Rl7aUw2Uajay4e29vyC0qWWwAMhlcrzeD5byudwhNssEmiC2/GIGx"
"r8xO/K0h0/0lBnXGRlOY6EAqrOKIpptLgiZ38mhEI2wt7pl+0w/Y0Q986nFgZ/2S00W3hKuWjNxAVqJN"
"raInir6mONJoE6+S4L/Z0yfHgMF5zl7/+NCcqxRSl8FrFVAERbObwvm0U6LGzQR5p1vHVyYh7wnZoBjf"
"Nv9UYRNpSrpzSUX4IV7WVfPMmLBCVrajSeMAtxN0knY0fixAZshDMoS3X286HFEp4IlCE/zK+2vx/pfh"
"oRsknYfnRSoemWxPqy94g10D3MSu1bCBgIwKUEuYqDiThdAx2il/ZC2zSxGNpdVxWfS6kAxXeZEN3Oe0"
"PB3WaZcx7CRImBusXdBrzPAyKa60/4sCLVJX/VwqNnWbAsGZavjt43BUPTvueMrOixZlWJDJzBR3YMOM"
"+7ENIa1LmA0+jABCxyZN57d1LuS9iYD0PUrr0hEZT67oyDKAIK5yv+8LaLWqMAmiumLXaUKq/ST82utq"
"KCEspcVqjXpueqTVKtdc4oCpndmjGqiz70lmoTgVDBcdsRKiEzly00sN9UY=";
status = hasp_login(feature, vendor_code, &handle);
/* check if operation was successful */
if (status != HASP_STATUS_OK)
{
switch (status)
{
case HASP_FEATURE_NOT_FOUND:
break;
case HASP_HASP_NOT_FOUND:
break;
case HASP_OLD_DRIVER:
break;
case HASP_NO_DRIVER:
break;
case HASP_INV_VCODE:
break;
case HASP_FEATURE_TYPE_NOT_IMPL:
break;
case HASP_TMOF:
break;
case HASP_TS_DETECTED:
break;
default:
break;
}
}
PLEASE NEED SOME HELP
[EDITED by LF: applied [code] tags]
[Updated on: Mon, 29 January 2018 13:37] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 04 21:00:01 CDT 2025
|