Solved

How to Load Xlcall32.dll

Posted on 1998-11-19
4
316 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses

751 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