Error In Loading Dll Vb6.0
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Error in loading DLL” when compiling DLL in VB6 up vote 5 down vote favorite 1 Hello to all respected developers! I need help: I have a visual basic 6 ".dll project" that uses references and when "File->Make dll" option is clicked, it should generate a dll file. Well, when clicked "File->Make dll", I get error "Error in loading DLL". My question is: how can I see which references are missing? vb6 share|improve this question edited Dec 20 '11 at 15:41 Lynn Crumbling 6,92453151 asked Dec 20 '11 at 13:48 Ivan 2612 Welcome. There's no need to put a signature on the bottom, it's already included just below your post. You amy want to check out the FAQ as well. –Deanna Dec 20 '11 at 13:54 Can't you step through the code and see where it is blowing up? –Mark Kram Dec 20 '11 at 14:37 No Mark, I cannot. "Step Over", "Step Into", "Start", "Start with full compile" - all of them return "Error in loading DLL" –Ivan Dec 20 '11 at 14:51 Does a compile work? –Deanna Dec 20 '11 at 15:07 Is this some specific option for vb6? Where can I find it? –Ivan Dec 20 '11 at 15:22 | show 6 more comments 4 Answers 4 active oldest votes up vote 2 down vote Under Project -> References. Look for the word MISSING: in front of the dll's that aren't there. share|improve this answer answered Dec 20 '11 at 13:50 Lynn Crumbling 6,92453151 there are no "MISSING" labeled references, but when build, I get the mentioned error :( –Ivan Dec 20 '11 at 13:54 1 Do you have vs6 service pack 6 installed? If not, install it, and try one more time. –Lynn Crumbling Dec 20 '11 at 13:59 already tried, but without any success. Can you provide a link where you have downloa
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site http://stackoverflow.com/questions/8576442/error-in-loading-dll-when-compiling-dll-in-vb6 Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum http://www.codeproject.com/Questions/253481/VB-Error-in-loading-DLL Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ VB6 Error in loading DLL Rate this: Please Sign up or sign in to vote. See more: VB6 DLL In our programming department we have some programs still in VB6. And every now and then an error will popup after compiling a dll. The error just states "Error in loading DLL." No error number or anything. From then on every time we try to open the dll project that error pops up. We have checked all the references for the project and they are fine. The issue seems to be with VB6 wanting to open the DLL of the project. So far sometimes restoring from a backup of the project fixes it for a while, sometimes re-registering it fixes it for a while. I looked at MSDN and found code to use the LoadLibrary API function and ran it on the most recent offending dll and it gave the error code 0, which means "System was out of memory, executable file was corrupt, or relocations were invalid." I checked the machine and there as no memory issue. As for the other 2 options, I am not sure how to che
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want http://www.vbforums.com/showthread.php?546602-VB6-complie-error-loading-dll to visit from the selection below. Results 1 to 20 of 20 Thread: VB6 - complie error : loading dll Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Nov 11th, 2008,12:05 PM #1 jimjai View Profile View Forum Posts Thread Starter Junior Member Join Date Dec 2007 Posts 18 VB6 - complie error : loading dll Hi, I inherited this VB program from the former employee, I don't know much about error in VB. I updated a line of code and try to compile the code and I got an error "compile error: error in loading dll" and it points to the word ".Recordset". I tried to re-register DAO351. Any help would be appreciated it thanks Reply With Quote Nov 11th, 2008,12:07 PM #2 Hack View Profile View Forum Posts Super Moderator Join Date Aug 2001 Location Searching for mendhak Posts 58,335 Re: VB6 - complie error : loading dll What was the line of code error in loading before you changed it and what did you change it to? Do you know what DLL it is referring to? Please use [Code]your code goes in here[/Code] tags when posting code. When you have received an answer to your question, please mark it as resolved using the Thread Tools menu. Before posting your question, did you look here? Got a question on Linux? Visit our Linux sister site. I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section. Creating A Wizard In VB.NET Paging A Recordset What is wrong with using On Error Resume Next Good Article: Language Enhancements In Visual Basic 2010 Upgrading VB6 Code To VB.NET Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked Reply With Quote Nov 11th, 2008,12:08 PM #3 LaVolpe View Profile View Forum Posts VB-aholic & Lovin' It Join Date Oct 2007 Location Beside Waldo Posts 15,368 Re: VB6 - complie error : loading dll Does your project have a reference to that DLL? Select IDE menu: Project | References Then see if Microsoft DAO 3.51 Object Library is checked at the top. If not, scroll down the list until you find it and check it. Then try again. Insomnia is just a byproduct of, "It can't be done" Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum. Read the HitchHiker's Guide to Getting Help on the Forums. Here is the list of TAGs you can use to format your posts Here are VB6 He