ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Creating a Windows DLL with Visual Basic
Subject:   DLL as a reference
Date:   2007-06-20 08:56:19
From:   collinsauve
I would like to be able to use the functions within one of these custom dll's without having to declare every function in every project that uses it. Should it not be possible to include it as a reference to avoid this?? I would think so, so I tried it but it does not work. I did regsvr32 the dll as well, still does not work.


Also, another evolution to this would to have your modified Link.exe to determine the functions in the dll and have it write the .def file... that would again save a lot of time when working on dlls.


Any thoughts?