[ODE] ODE via JNI

Michael Scharvogel thubba at gmx.net
Wed Jun 18 07:46:01 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C335B9.30EDAB50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi there.

unfortunately I did not find a solution yet..

at least not the way I hoped to.
I am now quiet sure that the problem is the ressources.res file.

I am not sure if it is possible to start a whole application from a =
windows dll containing ressources (I might possible that the ressources =
are linked but the access functionality is missing) .
Another solution idea is that the problem is the way you compile your =
ode libraries and the ressources.rc. Due to time problems (I am working =
on my diploma thesis and cannot afford much time playing around right =
now). The standard make file information compiles the whole stuff using =
Single Threaded options (at least I think so. less the c++ and more the =
java guy).

It might be possible that it's working all fine if I would compile the =
ode sources and teh .rc file using multithreaded dll compiler flags. But =
as mentionend I didn't give this approach a try yet...


cya&bfn, mike


  ----- Original Message -----=20
  From: florian Crespon=20
  To: thubba@gmx.net=20
  Sent: Monday, June 16, 2003 6:49 PM
  Subject: [ODE] ODE via JNI=20


  Hi,
  i use ode and jni to call the native method from java. I work with =
visual c++ under windows and i have the same problem, when i run my java =
application , the following error message appears "could not load =
accelerators".
  Under Linux, i have no problem, all work.

  have you resolve your problem?

  Best regards=20
  Florian Crespon



-------------------------------------------------------------------------=
-----
  Pro ou perso, toutes les adresses et num=E9ros de t=E9l que vous =
cherchez Cliquez-ici 
------=_NextPart_000_0021_01C335B9.30EDAB50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi there.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>unfortunately I did not find a solution =

yet..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>at least not the way I hoped =
to.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am now quiet sure that the problem is =
the=20
ressources.res file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am not sure if it is possible to =
start a whole=20
application from a windows dll containing ressources (I&nbsp;might =
possible that=20
the ressources&nbsp;are linked but the access&nbsp;functionality is=20
missing)&nbsp;.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Another solution idea is that the =
problem is the=20
way you compile your ode libraries and the ressources.rc. Due to time =
problems=20
(I am working on my diploma thesis and cannot afford much time playing =
around=20
right now). The standard make file information compiles the whole=20
stuff&nbsp;using Single Threaded options (at least I think so. less the =
c++ and=20
more the java guy).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It might be possible that it's working =
all fine if=20
I would compile the ode sources and teh .rc file using multithreaded dll =

compiler flags. But as mentionend I didn't give this approach a try=20
yet...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>cya&amp;bfn, mike</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dfcrespon@hotmail.com =
href=3D"mailto:fcrespon@hotmail.com">florian=20
  Crespon</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dthubba@gmx.net=20
  href=3D"mailto:thubba@gmx.net">thubba@gmx.net</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 16, 2003 =
6:49 PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [ODE] ODE via JNI =
</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>Hi,</DIV>
  <DIV>i use ode and jni to call the native method from java. I work =
with visual=20
  c++&nbsp;under windows and i have the same problem, when i run my java =

  application , the following error message appears "could not load=20
  accelerators".</DIV>
  <DIV>Under Linux, i have no problem, all work.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>have you resolve your problem?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Best regards </DIV>
  <DIV>Florian Crespon</DIV>
  <DIV>&nbsp;</DIV></DIV><BR clear=3Dall>
  <HR>
  Pro ou perso, toutes les adresses et num=E9ros de t=E9l que vous =
cherchez <A=20
  href=3D"http://g.msn.com/8HMEFRFR/2740??PS=3D">Cliquez-ici=20
</A></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0021_01C335B9.30EDAB50--