The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

DLL and JNI fun... by MrTrick2005-01-27 14:32:42
  Do you have an object browser, like in the VB IDE? (n/t) by Merlin2005-01-27 14:36:11
    uhhhh.... uhhhmmm..... by MrTrick2005-01-27 14:42:18
      VC++ 6.0 should have by Merlin2005-01-27 14:46:29
        Hmm... by MrTrick2005-01-27 14:54:43
          Object Browser is only good for ActiveX classes... by bwkaz2005-01-27 15:02:36
            Oh. (Informative message titles, eh?) by MrTrick2005-01-27 15:09:20
              I don't know if nm will work on DLLs, even in Cygw by bwkaz2005-01-27 15:47:12
                Ahah! Wonderful, thank you. by MrTrick2005-01-27 16:24:05
                  Is it a C++ function? by ToLazyToThink2005-01-27 16:32:34
                    Huh? by MrTrick 2005-01-27 16:44:51
No C++, just plain C... 'start' is the JAVA native method, in the class ResourceAllocator.

The error I get is this:

D:\workspace\Allocator>java Main
Exception in thread "main" java.lang.UnsatisfiedLinkError: start
at allocator.ResourceAllocator.start(Native Method)
at Main.main(Main.java:19)

Which looks to me like it's found the dll just fine (if I rename the dll it gives a different error) but can't find the JNI C function... I don't know, maybe I'm wrong.
[ Reply ]
                      Are you sure you're compiling as C by ToLazyToThink2005-01-27 17:05:45
                        Otherwise... by bwkaz2005-01-27 17:10:14

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)