|
||||||
| C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
DLL Entry Point
I have (and am still writing) a DLL library to be used with another program I've written. However, I am having alot of difficulty actually using the DLL. In the DLL, so far I have 2 classes, Main and ProcessMgt. Main has one function, Entry(), which is obviously where I want to enter the DLL. How exactly do I define the entry point? So far I have
Code:
[DllImport("Engine.dll", EntryPoint = "Main")]
public static extern void Entry(String line);
Thank you in advance |
|
|||
|
Re: DLL Entry Point
I finally fixed the problem. Was so simple I kicked myself for not realizing it sooner. Since the dll is written in C# too, all I needed to do was add a reference to the project. I did think of that before, however, I didn't try it because I thought it would wrap the exe with the dll instead of bundling them together. It bundles them for anyone else who's wondering. thanks anyway
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2d cartesian and polar coordinate header | Aereshaa | Classes and Code Snippets | 0 | 02-24-2009 11:58 PM |
| [ C++ ] Drawing Program. | Max_Payne | C and C++ | 6 | 01-23-2008 10:18 PM |
All times are GMT -5. The time now is 09:28 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc