Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to Load Xlcall32.dll

Posted on 1998-11-19
4
Medium Priority
?
324 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 600 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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 …
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

722 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