Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2004

Tip: Looking for answers? Try searching our database.

Strange DLL behavior

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bikerider7 - 22 May 2004 03:05 GMT
Has anyone seen a problem like this?

I have a DLL module, statically linked into an executable. When
running small testcases, everything works fine -- the executable
is able to call functions in the DLL. But then when a very
large testcase is run (i.e. more memory is allocated), at runtime
the executable cannot call the DLL API routines and gives the
infamous "Module not found" error.

Setting breakpoints with the debugger, it is clear the program
never even enters the DLL routine, so it isn't a case of the
DLL routine running out of memory.

The exact error msg: "Unhandled exception at xxxx in foo.exe:
0xC06D007E: Module not found."
Matt Osborn - 24 May 2004 19:49 GMT
> Has anyone seen a problem like this?
>
[quoted text clipped - 11 lines]
> The exact error msg: "Unhandled exception at xxxx in foo.exe:
> 0xC06D007E: Module not found."

It would appear as though you're corrupting memory; perhaps walking on your
stack.  You may wish to profile your application with Dependency Walker
http://www.dependencywalker.com/ to ensure that the expected DLL is being
loaded.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.