473,395 Members | 1,653 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,395 software developers and data experts.

Library events

Max
I would like to load a library at runtime to do some work for the main application that calls it.
I would also like the main application to be notified when the library is done the work. Is this
possible? What kind of events should I look into. A link to some sample code or a site would
be helpful.

Cheers,
Max

Nov 17 '05 #1
1 1150
Max,

You need to take a look at 'Evetns & Delegates' in .Net:

http://msdn.microsoft.com/library/de...sDelegates.asp

http://www.akadia.com/services/dotne...nd_events.html

http://www.csharpfriends.com/Article...x?articleID=18

HTH

Ollie Riches

"Max" <ma******@yahoo.com> wrote in message
news:ug**************@TK2MSFTNGP14.phx.gbl...
I would like to load a library at runtime to do some work for the main
application that calls it.
I would also like the main application to be notified when the library is
done the work. Is this
possible? What kind of events should I look into. A link to some sample
code or a site would
be helpful.

Cheers,
Max

Nov 17 '05 #2

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

Similar topics

3
by: Giovanni Boschi | last post by:
We have found a memory leak when using a COM library with a C# application. The leak appears only if the C# application is compiled with the /optimize flag. It goes away when the C# application is...
6
by: Art | last post by:
Hi I'm new at this and need some help. I have a "solution" with 2 projects - the main project and a library. The library is simple, it contains a text box that will appear many times in the form...
2
by: OxyGen | last post by:
can i create an .Net Library wich expose events to all the aplications connected to it?
0
by: james.tsao | last post by:
Version: Microsoft Enterprise Library June 2005 I use the ConfigurationManager's static CreateContext methods to create my own ConfigurationContext, passing in the required values in the...
4
by: =?Utf-8?B?QWxwZXIgQUtDQVlPWg==?= | last post by:
Hello, I developed a control at Windows Control Library that contains a CheckBox and several Labels. All of them are docked or anchored. And their height are same as control. I wrote several...
3
by: Monkeyfun | last post by:
Hi, I have a CAN controller from which I need to read packets whenever one is received. With the CAN controller came a WIN32 (non clr) library. When a CAN packet is received the library must...
24
by: Aaron Gray | last post by:
From what I have been looking at for Javascript library development, browsers that support Javascript 1.5/ECMAScript 3/JScript 5.5 looks like the base level to pitch at. Anyone add anything ? ...
1
by: inlovewithmusic | last post by:
Hi, I am writing an application to monitor Operating system events, processes and services that are running on an OS etc. Now , C# has the really cool library System.Diagnostics which provides the...
6
by: Thomas Heller | last post by:
I'm using the logging module in my comtypes library to log 'interesting' things that happen. In other words, the idea is if the user of the library is interested in the details that happen in the...
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: 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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.