Home » Developer & Programmer » Forms » ora_ffi and LoadKeyboardLayout
ora_ffi and LoadKeyboardLayout [message #199619] Wed, 25 October 2006 04:46 Go to next message
nebojsad
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
djmartin
Messages: 10181
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
EXCEPTION
WHEN OTHERS THEN
  FOR I IN 1..Tool_Err.Nerrors LOOP
    message (Tool_Err.Message);
    PAUSE;
    Tool_Err.Pop;
  END LOOP;

David
Previous Topic: Information on Oracle10g
Next Topic: Forms Window problem
Goto Forum:
  


Current Time: Fri Sep 20 13:43:50 CDT 2024