Subj : Re: Complicated DLL question To : borland.public.cpp.borlandcpp From : Frode Nilsen Date : Tue Sep 28 2004 12:46 am Thomas wrote: > I have two DLL's that I am accessing through a single Delphi program. > > One DLL is supplied by a vendor and has a pascal interface that lets > me access the functions in the DLL. > > The other DLL I created in Borland C++ builder 6 and I am able to > access the DLL through an individual delphi > program. How do you build this second dll with regard to other libraries/dll's? > > When I try to create a single program that accesses both the DLLs > then the program fails . It compiles but when I > do "Run" , Windows 98 gives a "Fatal exception at 0E ...." blue > screen. If I try to build in XP it gives the error "Program > failed to initialize". > > I have no clue about what is going on. The fact that they work > individually and not when combining the two leads me to suspect > some sort of memory allocation issues. Any ideas? How does one debug > such errors that occur during building? Well, in C++ builder I would try to build with makefiles, guess you can do that in delphi too? sincerely frode .