Solved

How to Load Xlcall32.dll

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand data scrubbing tool 13 35
either24  challenge 19 101
canBalance challenge 34 98
moto 4g phone enable finger print 4 28
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 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