Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OLE2 interface failure in Forms 14

SFrix5 days ago — edited 3 days ago

Hello

When we tried to upgrade to Forms 12.2.1.19, we encountered an issue with the OLE2 interface. For this issue, I opened SR 3-38960997151 and the problem was resolved; please see KB5489129.

Due to this issue, we postponed our upgrade to wait for the fix and decided to upgrade directly to Forms 14.

A quick test of the use case in the SR showed that the bug was also fixed in Forms 14. However, during further testing, we discovered that another feature in OLE2 is now failing with the same symptom.

Therefore, I have opened a new SR, SR 4-0001513090, to request a fix.

@michael-ferrante-oracle / @michael-ferrante (two profiles now ! 😄), Could you check with the Dev team when they will receive the SR, in order to speed up development, and ask them to fully test the interface? In the previous bug fix, it seems that the testing was not sufficient?

Thank you.

Sebastien

PS: Here is the piece of code to put in a new module (e.g. in button trigger) to reproduce.
Our config Server: Windows 2025 / Forms 14.1.2.0 - Client: windows 11 / JRE 1.8.0_441

declare 
  g_wApp ole2.OBJ_TYPE; 
  docs ole2.OBJ_TYPE; 
  args ole2.LIST_TYPE; 
  doc ole2.OBJ_TYPE; 
begin 
  -- Start of steps that crashed but fixed with Bug 35933061 / KB548912 
  g_wApp := ole2.create_obj('Word.Application'); 
  ole2.set_property(g_wApp, 'Visible', 0); 
  docs := ole2.get_obj_property(g_wApp, 'Documents'); 
  --End of steps concerned by the fix in 12.2.1.19 avail in 14.2.1.0 

  -- Start of new case that crash 
  args := ole2.create_arglist; 
  ole2.add_arg(args, 'c:\temp\file_test.docx'); -- THIS CALL CRASH with "FRM-93652: The runtime process has terminated abnormally" 

  doc := ole2.invoke_obj(docs, 'open', args); 
end;
Comments
Post Details
Added 5 days ago
5 comments
114 views