Solved

How to Load Xlcall32.dll

Posted on 1998-11-19
4
304 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
  • 2
  • 2
4 Comments
 

Author Comment

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

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 30

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now