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

Home Posts Topics Members FAQ

Help pls how to call .net dll from Delphi



Hi ,

I have written a .net dll and i want to call this from Delphi.

Please tell me the procedures and examples that helps me to call the
..net dll from Delphi.

With Thanks
Raghu
On His feet..

*** Sent via Developersdex http://www.developersdex.com ***
Nov 28 '05 #1
3 1478
Reg
Since you are looking for Delphi code, you will probably find better help
for this one in the Delphi groups.

"Raghu Raman" <ra************ @rediffmail.com > wrote in message
news:uO******** ******@TK2MSFTN GP12.phx.gbl...


Hi ,

I have written a .net dll and i want to call this from Delphi.

Please tell me the procedures and examples that helps me to call the
.net dll from Delphi.

With Thanks
Raghu
On His feet..

*** Sent via Developersdex http://www.developersdex.com ***

Nov 28 '05 #2
Hi,

You have to register your dll for COM interop (an option in the project
properties page )
After that you access it like any regular COM object from Delphi
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Raghu Raman" <ra************ @rediffmail.com > wrote in message
news:uO******** ******@TK2MSFTN GP12.phx.gbl...


Hi ,

I have written a .net dll and i want to call this from Delphi.

Please tell me the procedures and examples that helps me to call the
net dll from Delphi.

With Thanks
Raghu
On His feet..

*** Sent via Developersdex http://www.developersdex.com ***

Nov 28 '05 #3

Thanks Ignacio Machin

I will try

Raghu
*** Sent via Developersdex http://www.developersdex.com ***
Nov 29 '05 #4

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

Similar topics

0
3486
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr. Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
0
1632
by: Tom | last post by:
delphi 7 python 2.3 win98 Python for Delphi V3.25 In Delphi: 1 Create a new Form ; 2 Drop a TMemo(Memo1) to contain python code; 3 Drop a TPythonInputOutput (PythonInputOutput1) ;
2
2226
by: Hamish Dean | last post by:
Hi. To explain this, i'll list some relevant info: Prog1: A c++ dll, written by me. Prog2: A c++ dll, written by a 3rd party. Prog3: A c++ application, written by me. Prog4: A delphi 7 application, written by me. Prog5: A delphi 4 application, written by someone else. Prog1 calls a function from Prog2:
0
1883
by: Anthony Narcise | last post by:
I am trying to write an application in C# similar to one currently written in Delphi. I am VERY new to C# and need a little jump start. This is a brief explanation of what the Delphi Application did. Main Application: (Container) This application was an EXE that dynamically loaded OCX's. Basically what it did in Delphi Terms is Created an instance of a TOleControl... loaded by Class_ID.
1
1190
by: The Cleaning Wonder Boy | last post by:
I am working to converta Delphi application to a C# Winform application. Coming from the Delphi world of 1. Drop a Dataset on the form 2. Drop a Datasource on the form 3. Drop a DBGrid on the form 4. Set DBGrid's Datasource property 5. Set Datasource's Dataset property 6. Set Dataset's properties 7. Set Dataset to Active
6
1583
by: David Lozzi | last post by:
Howdy, I'm new to classes. Below is my class User. (is this a reserved namespace or class?) It works great, kind of. If I specify the username and password, the correct firstname and lastname are returned. For example, username dlozzi, password fun. It returns David Lozzi as full name. If I login as someone else on another computer, say username dsmith and password fun2, the second computer displays the correct fullname. HOWEVER if I...
1
3690
by: Peter Williams | last post by:
Hello All, I'm a newbie to this ng. I'm posting here because I have a question about debugging some javascript on some pages of my website. Please don't call me a "troll" -- because I'm not one. :-))) The next page is called "basic_snake" and creates a message which follows the cursor. Up until today, I used this type of message attached to the mouse pointer for the following pages on my website: index.html, delphi.html &...
8
6674
by: mesutalturk | last post by:
How do i convert the following C# code to Delphi? public static uint GenerateSiteID(string SiteName) { uint id = 0; char arr = SiteName.ToCharArray(); //Convert the sitename to a Char Array for (int i = 0; i < arr.Length; i++) {
3
2991
by: Anoop | last post by:
Hi All, I have a GUI module written in Delphi32. There is another main application written in CSharp.Net. I want to call the delphi GUI Form from with in CSharp.Net Code. The .Net application will provide the top level container for the Delphi GUI module. The Delphi form will be invoked in the following way: 1. A menu Item in the .Net container will trigger an event 2. From with in the event handler I will call Delphi Dll Form and...
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
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
5469
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...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.