473,382 Members | 1,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to call a win32 API from C# wthout using Pinvoke?

I want to dynamically load a c# DLL from a c# client project(say by using LoadLibrary)

I dont want to use pinvoke add-in.

Please suggest way to use LoadLibrary in c# code or any other means to dynamically load the c# dll.

Please help!!
Oct 12 '07 #1
3 1689
kenobewan
4,871 Expert 4TB
Welcome to TSDN. Why dont want to use pinvoke add-in?
Oct 12 '07 #2
Welcome to TSDN. Why dont want to use pinvoke add-in?
I simply dwant to explore the possibility other than P\Invoke.

Please suggest me some way by which i will be able to call LoadLibrary API for loading C# DLL runtime..
Oct 12 '07 #3
Motoma
3,237 Expert 2GB
I simply dwant to explore the possibility other than P\Invoke.

Please suggest me some way by which i will be able to call LoadLibrary API for loading C# DLL runtime..
Take a look at this article and let us know if this is what you are looking for.
Oct 12 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Muthiah Samy | last post by:
Hi All, I am trying to call COM Component in .NET using PInvoke. In the following scenario, ( I am getting an exception called SEH - External component has thrown an exception) UnManaged...
7
by: Vincent Nguyen | last post by:
Hi, Does anyone know how call Win32 native API GetTokenInformation() by using C#? Any sample code would be helpful. Thanks! Vincent
4
by: Jerry | last post by:
I am trying to read a physical sector off of the disk (the boot sector for drive C:) from C#. I have no problems doing it from a C/C++ application using the Win32 API CreateFile and ReadFile....
4
by: Alan Wang | last post by:
Hi there: I am just wondering if I could call java library using C#. The reason to do that is my application wants to automate OpenOffice and create document. Thanks in advance Alan
4
by: Chad Miller | last post by:
I have a class with 50 properties sp01 .. sp50 is there a way to call a property using a string? ex. o.sp & "01" Chad
2
by: Griff | last post by:
Bizarre problem here.... I have a classic ASP web page that exists in one project. I have copied this code file into another web project and it errors! The code has not been altered in any...
9
by: Allen | last post by:
The arguments of function is variable. Given function address, argument type and data, how to dynamically call the function? The following is pseudo code. int count = 0; int offset = 0; char...
7
by: Timothy Madden | last post by:
Hello I would like to use php-cli as a sort of shell scripting language or generic scripting language. I have php 5.2 on WindowsXP and I would like to call Win32 API functions like...
3
by: not_a_commie | last post by:
The CLR won't garbage collect until it needs to. You should see the memory usage climb for some time before stabilizing. Can you change your declaration to use the 'out' keyword rather than a 'ref'...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.