Forum Stats

  • 3,752,071 Users
  • 2,250,454 Discussions
  • 7,867,707 Comments

Discussions

start FSAL as 32 Bit Version ?

Norbert.Hein
Norbert.Hein Member Posts: 223 Bronze Badge
edited Apr 30, 2021 8:58AM in Forms

FORMS 12.2.1.4 on WINDOWS Server

Client Windows 10


we are in Upgrade Forms11.2 to 12.2.1.4

Our application works generally well under 12.2.1.4,

in APPLET - Mode as well as in FSAL

but we use a own old DLL,in WEBUTIL_C_API, this is in32 Bit, and this works well in APPLET Mode

but not within FSAL, because FSAL is running in 64 Bit.


#1

yes , it can be solved with a 64 Bit Version of this DLL, but there are no sources no longer available

#2

As a interim workaround : can FSAL start in 32 Bit to run in Webutil the 32 Bit - DLL's?

#3

can WEBUTIL C_API run a 32 Bit DLL in a 64 Bit mode ?


regards & thanks

Best Answers

  • Billy Verreynne
    Billy Verreynne Software Engineer Member Posts: 28,570 Red Diamond
    Accepted Answer

    #2 - are there 32bit executable with 32bit runtime installed for FSAL? (e.g. search for matching executable(s) and check properties).

    #3 - no, 32bit DLLs cannot be loaded by a 64bit process as the DLL uses that process's data segment (which will be 64bit).

  • Norbert.Hein
    Norbert.Hein Member Posts: 223 Bronze Badge
    Accepted Answer

    #2 - just tested myself,

    start with java / x64 FSAL enviroment want to have the 64-Bit DLL,

    start with java / x86 FSAL enviroment takes the 32-Bit DLL,

    ok this 'workaround' is for this moment well


    #3 yes, 32bit cannot work with 64bit process, think about possibility to encapsulate 32 in 64 ....

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,815 Employee
    Accepted Answer

    @Norbert.Hein

    FSAL (Forms Standalone Launcher) is a Java app. It can be run with 64 or 32 bit. What determines the arch is the Java installation you use and not FSAL. If you run with a 64bit Java installation then a 64bit JVM will be used. A 32bit Java installation, a 32bit JVM will be used.

    You said, "...this works well in APPLET Mode....". This suggests that you have a 32bit JRE installed on the machine. You can use the same JRE java.exe to run FSAL and your problem will have been solved. Alternatively, just download a 32bit Java distribution.

    https://www.oracle.com/java/technologies/javase-downloads.html#JDK8

Answers

  • Billy Verreynne
    Billy Verreynne Software Engineer Member Posts: 28,570 Red Diamond
    Accepted Answer

    #2 - are there 32bit executable with 32bit runtime installed for FSAL? (e.g. search for matching executable(s) and check properties).

    #3 - no, 32bit DLLs cannot be loaded by a 64bit process as the DLL uses that process's data segment (which will be 64bit).

  • Norbert.Hein
    Norbert.Hein Member Posts: 223 Bronze Badge
    Accepted Answer

    #2 - just tested myself,

    start with java / x64 FSAL enviroment want to have the 64-Bit DLL,

    start with java / x86 FSAL enviroment takes the 32-Bit DLL,

    ok this 'workaround' is for this moment well


    #3 yes, 32bit cannot work with 64bit process, think about possibility to encapsulate 32 in 64 ....

  • Michael Ferrante-Oracle
    Michael Ferrante-Oracle Senior Principal Product Manager USMember Posts: 6,815 Employee
    Accepted Answer

    @Norbert.Hein

    FSAL (Forms Standalone Launcher) is a Java app. It can be run with 64 or 32 bit. What determines the arch is the Java installation you use and not FSAL. If you run with a 64bit Java installation then a 64bit JVM will be used. A 32bit Java installation, a 32bit JVM will be used.

    You said, "...this works well in APPLET Mode....". This suggests that you have a 32bit JRE installed on the machine. You can use the same JRE java.exe to run FSAL and your problem will have been solved. Alternatively, just download a 32bit Java distribution.

    https://www.oracle.com/java/technologies/javase-downloads.html#JDK8