473,800 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP:Using dlls with Visual 2005 Web Services?

I have just converted a 2003 webservice to 2005. It used a dll created in C++
however now when running the web service I get the error that it could not
load the specified dll. It seems like a path issue. With the 2003 both the
Web Service Dll and the other dll resided in the bin directory.
Can anyone help
Thanks.

Apr 20 '06 #1
2 1180
q
Are you talking about COM Interop? If so you will be to create the
wrapper...

gacutil /i Math.dll
regasm /tlb Math.dll

Or are we talking Component Services?

gacutil /i WebServiceLogic .dll
regsvcs /fc WebServiceLogic .dll

Or something else?

Apr 20 '06 #2
Hi
I am simply talking about a dll which I compile in C++ which is used by the
web sevice. and load the functions using
[DllImport("MyDl l.dll")]
private static extern int GetValue(byte[]);

With V2003 when compiling the web service it created a dll in a bin dir and
I simply copied the other dll to the same bin dir and everything worked. Now
it seems like it is running the C# code , there is no web service dll (I dont
want to do Publish Web Site yet) and the only time I can get it to work is if
I make sure my other dll is in one of the systems path directories. Isnt
there another way I can tell the project that I need to run this dll as
well.? why doesnt it use the bin dir any more to find more dlls.
"q" wrote:
Are you talking about COM Interop? If so you will be to create the
wrapper...

gacutil /i Math.dll
regasm /tlb Math.dll

Or are we talking Component Services?

gacutil /i WebServiceLogic .dll
regsvcs /fc WebServiceLogic .dll

Or something else?

Apr 23 '06 #3

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

Similar topics

9
2221
by: Wayne | last post by:
I have used this old compiler since 1997, but for the last year or two, I can no longer access any of its Help info (like function definitions, etc). Attempts to do so now just says "the page cannot be displayed". The little toolbar window implies its search path is, for example: mk:@ivt:vbscript/D1/8.htm (or various files, maybe mk:@ivt:vccore/F3F/F43/D4C/S4CF2D.HTM ) I cannot make any sense of that, and dont know what I am lacking....
4
3165
by: Sai | last post by:
Hi, I am using VSTO 2005 Beta for building an excel application. I added application configuration file to the project (app.config) and it has the following section in it. <configuration> <appSettings> <add key="serv" value="test" /> </appSettings> </configuration>
2
2582
by: Ken Crismon | last post by:
Hello, I am currently working on an embedded systems project where by I have written a small web server that is being hosted on our internet appliance (running on an Atmega128 chip and doing lots of col RFID and Mesh network stuff). In this example I am trying to get the AuthenticateUser web service to work. I am using the following WSDL:
0
1271
by: oren18 | last post by:
hello.does anybody know .. how to make an image database by using VB.NET 2005 and Microsoft Access i want to make an application ( VB.NET 2005 ) that prompt a user to put his picture into database (Mic. Access) the database i've set have a pictures field , staff name , address and so on.. so in the VB i know how to build a connection to the database ..
1
5329
by: sahilrekhi | last post by:
Hi i am working on a graphical user interface deisgn programme. when i compile the file i i get the following output with the mentioned errors: 1>------ Rebuild All started: Project: guiq, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'guiq', configuration 'Debug|Win32' 1>Compiling... 1>stdafx.cpp 1>Compiling... 1>Custom Message.cpp 1>guiq.cpp 1>Generating Code...
1
1469
by: max100 | last post by:
hi, i need help regarding DateTimePicker using VB.net 2005. i have one textbox that will accept numbers and DateTimePicker i want code for if i enter any number in textbox say 10 then DateTimePicker should show next date ie current date + 10
3
1162
by: ravitunk | last post by:
hi all....i have VS.net 2005 for framework 2.0 installed on my pc.....can i create web pages for framework 1.1 using VS.net 2005....????....if so how would i do that???.........and also is it possible to convert a page developed using VS.net 2005 for framework 2.0 to VS.net 2003 for framework 1.1...?????....if so then plz tell me how to do that???...thx for any kind of help.....
3
2318
by: dipalipatel | last post by:
Hi, I have one Access database with one table ForExample: MYTable with fields called Type, Version, data, Value. now i would like to create an XML file with this MYTable value using VB.NET 2005. For example: <MYTable> <Type>H</Type>
3
6884
by: amollokhande1 | last post by:
Hi All, I am using Sql server 2005 as a backend for my application. I want to read/write the unicode data using sql query. When I am using insert into UnicodeData values('سي') command and if we view the data using sql query analyser, it shows ??. On the otherhand, when i insert the same unicode data through sql enterprize manager simply copying the data in the actual field, it properly stores the data.
0
9690
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7576
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2945
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.