Solved

How to Load Xlcall32.dll

Posted on 1998-11-19
4
319 Views
Last Modified: 2013-11-20
Dear Sir,

 I would like to use function Excel4 which is exported by Xlcall32.dll.I tried to load the DLL, but system is unable to load the library and it is giving the error "A dynamic link library (DLL) initialization routine failed.  ERROR_DLL_INIT_FAILED" .I bought "Microsoft EXCEL97 DEVELOPER'S KIT", tried with sample examples in CD which is attached to the book. I didn't get any solution from those examples.
Please send a mail with complete details.
Thanks in Advance
K.HemabhushanReddy
0
Comment
Question by:hbreddy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:hbreddy
ID: 1324964
Question for loading Xlcall32.dll
0
 
LVL 31

Accepted Solution

by:
Zoppo earned 200 total points
ID: 1324965
This error mostly occurs when the dll does not have a DllMain-function.
Perhaps you can load the dll with this call, which does not call the dll's DllMain-function:

LoadLibraryEx("XLCALL32.DLL, , NULL, DONT_RESOLVE_DLL_REFERENCES );

hope that helps,

ZOPPO
0
 
LVL 31

Expert Comment

by:Zoppo
ID: 1324966
Sorry, there is only one comma before the NULL and of course a closing quotation mark
behind the filename

ZOPPO
0
 

Author Comment

by:hbreddy
ID: 1324967
LoadLibraryEx("XLCALL32.DLL,  NULL, DONT_RESOLVE_DLL_REFERENCES ); This will work only in Windows NT and with this i have some problems.can i get a dll from Microsoft or from any where to load
wihtout DONT_RESOLVE_DLL_REFERENCES flag ,if so please send me DLL.
Thank a lot for your valueble response
K.HemabhushanReddy
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question