473,545 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ATL VC++ Web Service loading a dll

Hi all,

I wrote a VC++ ATL Web Service I'm trying load unmanaged dll (C++)
from the
web service. It compiles okay. However, when I try to debug it I get
the
following error in the output window:
LoadLibrary Failed, the error code is 126.

When using this dll from a simple MFC application it works fine.
What am I doing wrong?

Thanks,
Saran
May 31 '08 #1
1 1353
It seems that there is a module dependency issue and the followinh
link may be of some help to you:
http://blogs.msdn.com/david.wang/arc..._Failures.aspx
Jun 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5622
by: Seabass | last post by:
Hey all, I have come across the following issue. I have an application written with Borland C++ Builder, this application loads dlls(plug-ins) dynamically during run time. To make things easier for my users, I am trying to make it possible for them to create dlls in C++ Builder (which works great) and VC++. I tried to use the same code in...
35
3312
by: Ram Laxman | last post by:
I have used vector in the VC++ compiler. I have included #include <string> #include <algorithm> #include <vector> std::vector<int> field; std::vector <int>::size_type i;
5
12925
by: Dhilip Kumar | last post by:
Hi All, I'm writing a Windows Service app using C#. I need to read some configuration settings before the service starts up. These settings will be used by the service in its operation. Question is, which is the best way to store & retrieve the settings? I'm thinking of storing it in the registry in HKLM\Software\ServiceName and access...
0
404
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
9
1948
by: borhan | last post by:
Hi folks, I am using vs.net 2003 for a time, however since last week I was using MFC. Now, I am into managed C++ and windows forms. I can say that I am very much confused with it, and I have some questions I hope I can find some answers here... 1. First of all, I got the answer to this question but I have to point that out! What kind...
8
1042
by: BilMuh | last post by:
Hello Esteemed Developers, I am using 'Microsoft Visual C++ .NET Standard' SDE at MS Windows 2000 Pro Turkish by using IBM ThinkCentre PC that has 2,66GHz P4 CPU, 512MB RAM, 120GB HDD. I am developing an application that is Windows Forms Application that is communicating with a machine via TCP/IP. I designed 8 user interfaces and one of...
1
317
by: Frederiek | last post by:
Hi, I need to create a Windows service that has to access a web service through a SOAP interface. I am using Visual C++ 2005. Thus far I have not really created .NET applications. Up to now I used VC++ 2005 for creating non-CLR applications. However, it seems that the SOAP Toolkit has been deprecated, and the alternative is to use the...
1
2458
by: Rob C | last post by:
I want to develop some data access web services in C# that can be accessed from both an ASP.NET web application as well as a VC++ desktop application. i have used web services in the past from VC++ by using the WSDL file provided by the web service. We are migrating our application to the web but still want to be able to access the SQL...
1
231
by: Saran | last post by:
Hi all, I wrote a VC++ ATL Web Service I'm trying load unmanaged dll (C++) from the web service. It compiles okay. However, when I try to debug it I get the following error in the output window: LoadLibrary Failed, the error code is 126. When using this dll from a simple MFC application it works fine.
0
7457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7802
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5962
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5320
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
693
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.