Home » Developer & Programmer » Forms » ora_ffi and LoadKeyboardLayout
ora_ffi and LoadKeyboardLayout [message #199619] Wed, 25 October 2006 04:46 Go to next message
Messages: 2
Registered: October 2006
Location: Macedonia
Junior Member

I'm using Forms 6i on WinXP. This is a bilingual system. Data entry in some forms is done in both English & Cyrillic. How can one change the language automatically when jumping from and English entry field to an Cyrillic entry field??
I've tried with ora_ffi to call win32 api function LoadKeyboardLayout but every time ora-304500 was raised.
Any help is appreciated. Nebojsa.
Re: ora_ffi and LoadKeyboardLayout [message #199709 is a reply to message #199619] Wed, 25 October 2006 23:33 Go to previous message
Messages: 10180
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I googled 'ora-304500' and a thread I found via the 'cache' indicated that you need to have both the 'dk2wut32.dll' and 'shwhnt32.dll' files in your 'path'. Maybe you are missing one of these two 'dll' files.

In the paper "Extending Developer/2000 functionality using ORA_FFI" by
Roelof Jan van Suilichem
Technical Analyst
Oracle Customer Support in South Africa

he suggested adding the following code so that you can see the 'real' error
  FOR I IN 1..Tool_Err.Nerrors LOOP
    message (Tool_Err.Message);

Previous Topic: Information on Oracle10g
Next Topic: Regarding a form
Goto Forum:

Current Time: Wed Aug 23 01:25:40 CDT 2017

Total time taken to generate the page: 0.06636 seconds