Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > C-Sharp > Assembly


Search:
What's New - What's Hot
Turning local paths from an HTML code in external accessible paths  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: McPhantom      Rating:  
Read Reviews | Write Review |  Your Rating: 

Let's say you have a project where you coded some stuff to get all links (href) from a webpage (html) but the links are all local paths like /pages/download.php...

Advanced Topics in PInvoke String Marshaling  Version: 0.00     Price: $0.00  
Total Hits: 12  |  Today: 0Author: David Jeske      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Platform Invoke tools, used through the DllImportAttribute, are a powerful and simple mechanism to interface with unmanaged DLLs. However, there are many subtleties that are important when addressing string buffer ownership responsibility with unmanaged code. This article covers some of the additional options besides the default MarshalAs(UnmanagedType.LPStr)....

Multilingual Applications in .NET  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: pradeep.kellangere      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains the basic understanding on different methods of developing multilingual applications in .NET. Here emphasis is given on handling multiple languages using resource files. This also explains the necessary settings to be made in the Windows operating system and SQL Server database to support the multilingual capabilities....

Assemblies : The Ins and Out : Part III  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Chris Rausch      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is the third part of a three part series of articles covering the .Net assemblies. In Part 1, I covered what exactly an assembly is, and what an assembly contains. Part 2 of the series I discussed both Private and Shared assemblies and how to create a "Shared Assembly". In part 2 I briefly mentioned some of the utilities available for working with assemblies. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies....

Modest Introduction to IL Assembly Language  Version: 0.00     Price: $0.00  
Total Hits: 8  |  Today: 0Author: Filip Bulovic      Rating:  
Read Reviews | Write Review |  Your Rating: 

To compile and run the code you must have installed Microsoft .NET Framework Beta 2 available for download from http://msdn.Microsoft.com. Since I received copy of Visual Studio .NET Beta 2 and did not manage to find "ILAssemblyLanguageProgrammersReference.doc" which was included in beta 1 I decided to share my experience with other assembly enthusiasts. Documents for somebody interested in intermediate language could be find in : "C:\ProgramFiles\Microsoft.NET\FrameworkSDK\Tool Developers Guid...

Startup Checker  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Programm3r      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following dynamic link library searches for a certain process that was specified by the user / calling application, that is currently running. Thus if you want to prevent another process of the same application from opening / starting more than once, this function will do just that. I hope this will be useful....

Calling COM DLLs from Console Applications  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: Amol Kakhandki      Rating:  
Read Reviews | Write Review |  Your Rating: 

* Create a new ATL project for a DLL , Click Finish.
* Use ATL Object Wizard to add a simple object, Short Name as mydll , accept defaults.
* Using Class View Add Method to the new interface , Method Name as multiply and parameters as '[in] int ifirst,[in] int isecond,[out] int* result'....

Create Simple Load time DLLs  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: R.selvam      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you like to create modular software, you choose DLLs. Dynamic linked libraries are easy to create compared to applications. Dynamic linked library is a set of modules that contains a set of functions or other called DLLs....

Delay Loading a DLL  Version: 0.00     Price: $0.00  
Total Hits: 14  |  Today: 0Author: Sachin R Sangoi      Rating:  
Read Reviews | Write Review |  Your Rating: 

The code snippet shown in this article is used to delay load a DLL, i.e., DLL is implicitly linked but not actually loaded until your code attempts to reference a symbol contained within the DLL. If your application uses several DLLs, its initialization time might be slow because the loader maps all of the required DLLs into the process' address space and there is every possibility that even a single function from one of these DLLs is not called, so a better way for a loading a DLL which is rare...

Dynamic DLL Loading  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: Zoran M. Todorovic      Rating:  
Read Reviews | Write Review |  Your Rating: 

Usually, programmers use static linking when using functions in a DLL. This is the most easiest way to use a DLL. However, if a DLL is missing, application cannot be started. This is not a big problem: missing DLL means that something is wrong with application installation and the application should not be started anyway....

How to do run-time (or explicit) linking of C++ plug-in components and objects  Version: 0.00     Price: $0.00  
Total Hits: 6  |  Today: 0Author: Gert Boddaert      Rating:  
Read Reviews | Write Review |  Your Rating: 

How can we create a program that will be able to work with objects that do not even exist at the time when our executable is conceived? Would it not be nice if we could design a program, which functionality we would be able to extend without altering the original executable?s source (and even without recompiling): an application where we can plug-in additional functionality on the fly....

Using classes exported from a DLL using LoadLibrary  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Anup. V      Rating:  
Read Reviews | Write Review |  Your Rating: 

I have seen quite a lot of code explaining how to use classes exported from a DLL in an application. However, all these describe the usage of the exported classes by linking implicitly to the DLL. Refreshing our DLL concepts, there are two ways for an application to use a function written in a DLL. The first way is to have your application's source code simply reference symbols contained in the DLL. This causes the loader to implicitly load (and link) the required DLL when the application is inv...

LateLoad DLL Wrapper  Version: 0.00     Price: $0.00  
Total Hits: 11  |  Today: 0Author: Jason De Arte      Rating:  
Read Reviews | Write Review |  Your Rating: 

LateLoad is a series of macros for managing LoadLibrary / GetProcAddress calls by creating a class that contains DLL exported functions as member functions. The attached sample uses LoadLoad to access the GradientFill() function exported from MSIMG32.DLL. This is not a sample on how to use GradientFill(), but I've found that people respond better to arbitrary demos if they either have blinking lights, pretty colors or are interactive in some way. Since this has 2 out of 3, maybe it will hold eve...

Retrieve the Assembly Identities from a Manifest using C++  Version: 0.00     Price: $0.00  
Total Hits: 6  |  Today: 0Author: marc ochsenmeier      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article gives an overview of the Windows side-by-side assemblies technology, and then presents a set of C++ interfaces you can use to programmatically retrieve the side-by-side relevant information out of a manifest embedded in any image file....

Create your Proxy DLLs automatically  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: Michael Chourdakis      Rating:  
Read Reviews | Write Review |  Your Rating: 

A lot of us have tried to create a proxy DLL to replace an existing one and spy other programs' calls. Here is a small program that will create the CPP and DEF for a proxy DLL based on the exports of another DLL. You can use it to generate a template and then edit this template to satisfy your needs....

RemoteLib - DLL Injection for Win9x & NT Platforms  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: =[ Abin ]=      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article was inspired by Robert Kuster's Three Ways to Inject Your Code into Another Process. At first, I was looking for some pieces of code that would allow me to easily inject my own DLLs into a remote running process. So I did a search on CP and found Robert Kuster's; it was really an excellent article I have to say, but unfortunately, none of those three solutions worked on my Windows 98 (Second Edition). In theory, the "first way" should work on all Windows platforms but it did not (th...

Exporting C++ classes without using MFC extension DLL  Version: 0.00     Price: $0.00  
Total Hits: 11  |  Today: 0Author: Tanzim Husain      Rating:  
Read Reviews | Write Review |  Your Rating: 

DLLs are a great way of sharing common pieces of code data between applications. When it comes down to exporting C++ classes from DLLs most of us go for MFC extension DLLs where we can use the AFX_EXT_CLASS macro to export an entire class. Unfortunately, MFC is no lean and mean class architecture, which means that distributing MFC extension DLLs mean that you have to include the big MFC runtime not to mention the fact that your DLL can only be linked to MFC applications exclusively. What's the s...

Extracting Data from .NET Assemblies  Version: 0.00     Price: $0.00  
Total Hits: 5  |  Today: 0Author: Ken Spencer      Rating:  
Read Reviews | Write Review |  Your Rating: 

How can I get a list of all of the methods, properties and events in a particular assembly? For instance, I need to know this information regarding Windows® Forms and ADO.NET. Ideally, I would also like to get information on the datatype of a property and the datatype of a function's return value. I also need to have this information appear in a spreadsheet....

Accessible Images, Image Format Converter, and More  Version: 0.00     Price: $0.00  
Total Hits: 17  |  Today: 0Author: Nancy Michell      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes a Web site will rely on a nice looking graphic that suggests the type of navigation it will provide. But for the visually impaired user, there needs to be much more than a simple graphic that you hope the user will click on based on visual cues. Screen readers get the text to read from an IMG tag's alt attribute, so make sure to include it. Some designers are focused on a pixel-perfect font sizing design, which rings accessibility alarm bells. If your site is to be properly accessible ...

How to: Build a Single-File Assembly  Version: 0.00     Price: $0.00  
Total Hits: 22  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

A single-file assembly, which is the simplest type of assembly, contains type information and implementation, as well as the assembly manifest. You can use command-line compilers or Visual Studio 2005 to create a single-file assembly. By default, the compiler creates an assembly file with an .exe extension....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net