/
Forside
/
Teknologi
/
Udvikling
/
Java
/
Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn
*
Kodeord
*
Husk mig
Brugerservice
Kom godt i gang
Bliv medlem
Seneste indlæg
Find en bruger
Stil et spørgsmål
Skriv et tip
Fortæl en ven
Pointsystemet
Kontakt Kandu.dk
Emnevisning
Kategorier
Alfabetisk
Karriere
Interesser
Teknologi
Reklame
Top 10 brugere
Java
#
Navn
Point
1
molokyle
3688
2
Klaudi
855
3
strarup
740
4
Forvirret
660
5
gøgeungen
500
6
Teil
373
7
Stouenberg
360
8
vnc
360
9
pmbruun
341
10
mccracken
320
Recursion too deep; the stack overflowed?
Fra :
Henrik Rosenberg Ras~
Dato :
02-12-02 11:55
Hi,
I have to use a C-library form my Java application (JDK 1.4) running on a
W2K workstation.
First, I wrote a tiny stand-alone C application (.exe), which uses the new C
library to check if I could make it work at all - it did work fine!
Next, I took my existing C source code for a .dll, which I am already
loading and using succesfully from my Java application and added a call to
the new C library - exactly as I used the library from my stand alone
application (.exe).
The call to the C library i done during the PROCESS ATTACH part of the dll
loading.
BUT, now is get the following exeception from the Java VM:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
D:\pro\ecco\work\her\src\COM\crisplant\ecco\css\interfaces\mc\MCConnectionSA
PI_S7.dll: Recursion too deep; the stack overflowed
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1404)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at
COM.crisplant.ecco.css.interfaces.mc.McProxyImplTest.<clinit>(McProxyImplTes
t.java:38)
at
COM.crisplant.ecco.css.interfaces.mc.McTelegramHandlerImpl.<init>(McTelegram
HandlerImpl.java:287)
at
COM.crisplant.ecco.css.interfaces.mc.McTelegramHandlerImpl.main(McTelegramHa
ndlerImpl.java:1427)
Can anybody help me or give a hint to why this problem might occur??
Søg
Alle emner
Teknologi
Udvikling
Java
Indstillinger
Spørgsmål
Tips
Usenet
Reklame
Statistik
Spørgsmål :
177558
Tips :
31968
Nyheder :
719565
Indlæg :
6408925
Brugere :
218888
Månedens bedste
Årets bedste
Sidste års bedste
Copyright © 2000-2024 kandu.dk. Alle rettigheder forbeholdes.