Home » Developer & Programmer » Forms » call dll from oracle 6i (call dll from oracle 6i)
call dll from oracle 6i [message #667968] Mon, 29 January 2018 01:49 Go to next message
Kokew2000
Messages: 12
Registered: December 2017
Junior Member
hello every body
please i need help to do something
i need to know how i can make dynamic link library(dll) in c programming for example and then call it from oracle 6i
please if anyone have source for (dll) and (fmb) about this help me
thank you very much
Re: call dll from oracle 6i [message #667969 is a reply to message #667968] Mon, 29 January 2018 01:53 Go to previous messageGo to next message
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

Re: call dll from oracle 6i [message #667975 is a reply to message #667968] Mon, 29 January 2018 10:41 Go to previous messageGo to next message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
Welcome to the forum. Please read our OraFAQ Forum Guide and How to use [code] tags and make your code easier to read

I think you are talking about running an external procedure. You need to create a library pointing to the DLL and a wrapper procedsure to execute the function within it,
https://docs.oracle.com/database/121/ADFNS/adfns_externproc.htm#ADFNS1402
The implementation details do vary from one release to another.
Re: call dll from oracle 6i [message #668018 is a reply to message #667975] Wed, 31 January 2018 01:51 Go to previous messageGo to next message
Kokew2000
Messages: 12
Registered: December 2017
Junior Member
hi
thanks for replay and help

but i want example to calling dll in c programming by oracle 6i

so if you have fmb call dll in c programming please can you send it to me
its gonna help faster
dll in c programming and fmb to call it
thank you
Re: call dll from oracle 6i [message #668021 is a reply to message #668018] Wed, 31 January 2018 04:32 Go to previous messageGo to next message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
If you want help in a hurry, you had better pay for consultancy services. I'm sure there are people here who could do the job for you, just put an advert in the Marketplace forum.
Re: call dll from oracle 6i [message #668034 is a reply to message #668021] Thu, 01 February 2018 04:16 Go to previous messageGo to next message
shahzad-ul-hasan
Messages: 615
Registered: August 2002
Senior Member
Quote:

https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:9087161189226

http://beyyfyciw.exblog.jp/26539099/

read this

[Updated on: Thu, 01 February 2018 04:17]

Report message to a moderator

Re: call dll from oracle 6i [message #668079 is a reply to message #668021] Sun, 04 February 2018 01:56 Go to previous messageGo to next message
Kokew2000
Messages: 12
Registered: December 2017
Junior Member
hi
okay i can pay to support this
but how i can find one able to support this
thank you
Re: call dll from oracle 6i [message #668081 is a reply to message #668079] Sun, 04 February 2018 07:58 Go to previous messageGo to next message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
For a little job like this, you could place adverts on appropriate bulletin boards (as I already said). Or you could approach companies directly: small ones, the big boys won't look at it.
Given the limited information you have provided, you are unlikely to get a fixed price quote. The company I work for would probably offer a time-and-materials service. You would have to make a formal approach, but my guess is that the response would be US$250 per hour, minimum 2 hours paid in advance. Would the two hours be enough? Perhaps, but no guarantee. If you firm up the requirement you might get fixed price quotes.
Your problem is that no-one is going to spend hours discussing such a small job for free, so you have to take a chance. The more information you provide up front, the better the deal you may be offered.
--
John Watson
Oracle Certified Master DBA
http://skillbuilders.com
Re: call dll from oracle 6i [message #668082 is a reply to message #668081] Sun, 04 February 2018 08:18 Go to previous message
Kokew2000
Messages: 12
Registered: December 2017
Junior Member
okay
many thanks for you
Previous Topic: oracle form opening on specific time.
Next Topic: Custom EBS Form HANG
Goto Forum:
  


Current Time: Thu Mar 28 15:35:40 CDT 2024