more info: i forgot to add that i'm running NT 4.0. i also noticed that the
error occurs when the OCFPCSCM.dll is loaded, so i wrote a test program:

    public class Foo {
        static {
            System.loadLibrary("OCFPCSCM");
        }

        public static void main(String[] args) {
            System.out.println("Foo!");
        }
    }

and a batch file
    set opath=%path%
    set path=c:\OCF1.1.1\lib;%path%

    java Foo
    set path=%opath%

and sure enough i got the complaint about sctrm32.dll not being a valid
image. also, here is the stack trace.

C:\OCF1.1.1\components\demo\src\demos\stockbroker>java Foo
Exception in thread "main" java.lang.UnsatisfiedLinkError:
C:\OCF1.1.1\lib\OCFPCSCM.DLL: %1 is not a valid Windows NT application
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1203)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1127)
        at java.lang.Runtime.loadLibrary0(Runtime.java:470)
        at java.lang.System.loadLibrary(System.java:745)
        at Foo.<clinit>(Foo.java:3)

can anyone shed some light on this? tia,


Aaron Stromas wrote:

> greetings,
>
> i am getting "sctrm32.dll not a valid Windows NT image" error when
> running the stockbroker example. i had to modify the PATH in sig.bat to
> point to OCF1.1.1/lib where the dll's reside. i figured that was what i
> had to do when the applet complained about not finding some dll (i'm not
> a windoz afficionado, will there be a linux port?). does anyone else
> have a problem with this library or the m$ daemons take their revenge
> upon me? tia,
>
> --
> Aaron Stromas     |   "Tick-tick-tick!!!... ja, Pantani is weg...."
> Oracle Corp.        |                  BRTN commentator,
> +1 703 708 6821   |                  L'Alpe d'Huez, 1995 Tour de France

--
Aaron Stromas     |   "Tick-tick-tick!!!... ja, Pantani is weg...."
Oracle Corp.        |                  BRTN commentator,
+1 703 708 6821   |                  L'Alpe d'Huez, 1995 Tour de France

begin:vcard 
n:Stromas;Aaron 
tel;fax:+1 703-708 7922
tel;home:+1 301 493 4933
tel;work:+1 703 708 6821
x-mozilla-html:TRUE
url:http://www.oracle.com
org:Oracle;Advanced Technology Solutions
adr:;;196 Van Buren Street;Herndon;VA;22070;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Principal consultant
x-mozilla-cpt:;0
fn:Stromas, Aaron 
end:vcard

Reply via email to