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: 10180
Registered: March 2005
Location: Canberra ACT 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: Tue Dec 06 16:05:24 CST 2016

Total time taken to generate the page: 0.10904 seconds