Click here to Skip to main content
15,915,611 members
Home / Discussions / C#
   

C#

 
GeneralRe: filling RichTextBox using MemoryStream Pin
leppie2-Dec-04 4:47
leppie2-Dec-04 4:47 
GeneralRe: filling RichTextBox using MemoryStream Pin
Hovik Melkomian4-Dec-04 1:55
Hovik Melkomian4-Dec-04 1:55 
GeneralRe: filling RichTextBox using MemoryStream Pin
leppie4-Dec-04 2:23
leppie4-Dec-04 2:23 
GeneralRe: filling RichTextBox using MemoryStream Pin
Hovik Melkomian4-Dec-04 2:40
Hovik Melkomian4-Dec-04 2:40 
GeneralRe: filling RichTextBox using MemoryStream Pin
leppie4-Dec-04 3:33
leppie4-Dec-04 3:33 
GeneralRe: filling RichTextBox using MemoryStream Pin
Hovik Melkomian6-Dec-04 1:42
Hovik Melkomian6-Dec-04 1:42 
Generallibraries, DLL's, Wrappers Pin
Mridang Agarwalla2-Dec-04 2:50
Mridang Agarwalla2-Dec-04 2:50 
GeneralRe: libraries, DLL's, Wrappers Pin
turbochimp2-Dec-04 3:45
turbochimp2-Dec-04 3:45 
Libraries are places people got to check out books or read periodicals...

Just kidding. In the context of software development, "library" usually implies the same thing as "DLL", in fact "DLL" stands for "Dynamic Link Library" or just "library".

"Library" can also refer to a collection of components (DLLs) that together form a reference source for an area of functionality, as in term "Control Library".

A wrapper is a class or group of classes that abstract the functionality of another component or group of components, making them easier to work with.

For instance, automating MS Office 2003 with C# is neither fun nor quick, because the automation API for Office is COM-based, and often provides for very broad usage interpretation in its method calls by employing optional arguments. To automate Word, for instance, using C#, there is at least one required wrapper - the interop wrapper or "RCW" (runtime-callable wrapper) that allows managed code to see and use the Word automation type libraries. You may have seen or heard of the Office Primary Interop Assemblies? That's what those are; RCWs customized and provided by Microsoft.

In my experience with Office automation, I've learned that a second wrapper is often beneficial, just to simplify calls. As I've said, the method signatures in the Office automation classes are often VERY long (many arguments). In VB 6, that was no problem, since many of the arguments were optional and could be omitted for the most part. In C# however, that's not an option, so every argument must be provided, every time a call is made...tedious. So I have a sizable and growing library that "wraps" many of the methods in the Office API, just to make calling them simpler.


The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

Generalviewing multiple image formats Pin
Mridang Agarwalla2-Dec-04 2:46
Mridang Agarwalla2-Dec-04 2:46 
Generalcontrols inside a datagrid Pin
Mridang Agarwalla2-Dec-04 1:36
Mridang Agarwalla2-Dec-04 1:36 
GeneralRe: controls inside a datagrid Pin
turbochimp2-Dec-04 2:46
turbochimp2-Dec-04 2:46 
GeneralRe: controls inside a datagrid Pin
Hugo Migneron2-Dec-04 4:04
Hugo Migneron2-Dec-04 4:04 
GeneralApplication winforms in InterNet Explorer - Problem Pin
crisyuri2-Dec-04 1:22
crisyuri2-Dec-04 1:22 
GeneralPicture Box Pin
camposeo792-Dec-04 0:55
camposeo792-Dec-04 0:55 
GeneralRe: Picture Box Pin
Stefan Troschuetz2-Dec-04 1:35
Stefan Troschuetz2-Dec-04 1:35 
GeneralRe: Picture Box Pin
Robin Panther2-Dec-04 7:28
Robin Panther2-Dec-04 7:28 
GeneralMessage Filtering Pin
A T I F2-Dec-04 0:01
A T I F2-Dec-04 0:01 
GeneralRe: Message Filtering Pin
A T I F2-Dec-04 0:03
A T I F2-Dec-04 0:03 
GeneralRe: Message Filtering Pin
Mike Dimmick2-Dec-04 0:24
Mike Dimmick2-Dec-04 0:24 
GeneralRe: Message Filtering Pin
A T I F2-Dec-04 19:43
A T I F2-Dec-04 19:43 
GeneralError When Copying from Clipboard to PowerPoint slide Pin
GandalfTheWhite1-Dec-04 22:56
GandalfTheWhite1-Dec-04 22:56 
GeneralThreads in C# Pin
Member 5834331-Dec-04 21:54
Member 5834331-Dec-04 21:54 
GeneralRe: Threads in C# Pin
Stefan Troschuetz1-Dec-04 22:44
Stefan Troschuetz1-Dec-04 22:44 
GeneralRe: Threads in C# Pin
Member 5834331-Dec-04 22:57
Member 5834331-Dec-04 22:57 
GeneralRe: Threads in C# Pin
Sebastian Schneider3-Dec-04 1:06
Sebastian Schneider3-Dec-04 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.