Re: [Tpm4java-users] tpm4java: count not init dll code: -2
Brought to you by:
tews
|
From: Erik T. <er...@de...> - 2006-12-04 16:50:16
|
Am Montag, den 04.12.2006, 17:36 +0100 schrieb Markus:
> Erik:
>=20
> thank you for your quick reply!
>=20
> I'll be glad to do some testing, C code is just fine!
>=20
> Please don't gun down my tpm :-)
OK, here is the code from tpm4java which seems to cause this problem:
opentpm =3D (MyTddli_Open) GetProcAddress(dll, "Tddli_Open");
if (opentpm =3D=3D NULL) {
(*env)->ReleaseByteArrayElements(env, dllname, realname, 0);
FreeLibrary(dll);
return -2;
}
So, could you send me your dll please or check if there is really a
function called "Tddli_Open" in that file?
|