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 bwkaz 2005-01-27 15:02:36
I don't know if JNI uses ActiveX or not, but if your native DLL is not supposed to be used in an ActiveX way, then Object Browser won't help.

Instead, if your DLL is non-ActiveX, then there's a tool in VS6 called Dependency Viewer that will show you all the exports in the DLL. It's like nm on a Linux or Unix box, if you've ever used that. Anyway, open up your DLL and check whether the correct exports are listed.

If they're not right, you might need to add a file to your VC++ project specifying the exports, or change it if there is one. If they're not there, you might need to add a DLLEXPORT attribute.
[ Reply ]
            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 MrTrick2005-01-27 16:44:51
                      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.)