Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
GeneralRe: Application Variables Pin
Colin Angus Mackay26-Feb-05 13:32
Colin Angus Mackay26-Feb-05 13:32 
GeneralRe: Application Variables Pin
S. Senthil Kumar26-Feb-05 13:45
S. Senthil Kumar26-Feb-05 13:45 
GeneralCreating invisible services Pin
Esmo200026-Feb-05 12:52
Esmo200026-Feb-05 12:52 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay26-Feb-05 13:35
Colin Angus Mackay26-Feb-05 13:35 
GeneralRe: Creating invisible services Pin
Radgar26-Feb-05 16:53
Radgar26-Feb-05 16:53 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay26-Feb-05 17:00
Colin Angus Mackay26-Feb-05 17:00 
GeneralRe: Creating invisible services Pin
Radgar26-Feb-05 17:26
Radgar26-Feb-05 17:26 
GeneralRe: Creating invisible services Pin
Mazdak27-Feb-05 4:50
Mazdak27-Feb-05 4:50 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay27-Feb-05 7:04
Colin Angus Mackay27-Feb-05 7:04 
GeneraltextBox Pin
sardonicus26-Feb-05 12:03
sardonicus26-Feb-05 12:03 
GeneralRe: textBox Pin
S. Senthil Kumar26-Feb-05 12:44
S. Senthil Kumar26-Feb-05 12:44 
GeneralRe: textBox Pin
sardonicus27-Feb-05 3:19
sardonicus27-Feb-05 3:19 
GeneralRe: textBox Pin
S. Senthil Kumar27-Feb-05 7:16
S. Senthil Kumar27-Feb-05 7:16 
GeneralNTDll's Compression Functions Pin
Stanimir_Stoyanov26-Feb-05 11:52
Stanimir_Stoyanov26-Feb-05 11:52 
GeneralRe: NTDll's Compression Functions Pin
Heath Stewart27-Feb-05 4:25
protectorHeath Stewart27-Feb-05 4:25 
Do NOT use pointers in managed code (unsafe code). There is no reason to use this, though there are acceptable reasons for performance like when manipulating pixels.

out ulong is already serving the role of a pointer, too. out ulong* with an unsafe context would actually be more like unsigned long** in native code.

You should read Marshaling Data with Platform Invoke[^] in the .NET Framework SDK to gain a better understanding of how native types translate to managed types. You can also visit http://pinvoke.net[^] for signatures to many common APIs.

You should also refrain from using undocumented APIs because they can be changed without warning, not to mention that they are not officially documented by Microsoft. There are better ways to gain compression in .NET, including class libraries that implement compression without resorting to P/Invoke, which means your applications that use such libraries are more likely to be portable to other platforms.

One popular compression library is SharpZipLib[^] but you can search for many more.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
Generalarrange dataGrid Columns Pin
Adnan Siddiqi26-Feb-05 10:53
Adnan Siddiqi26-Feb-05 10:53 
GeneralRe: arrange dataGrid Columns Pin
Heath Stewart27-Feb-05 4:30
protectorHeath Stewart27-Feb-05 4:30 
GeneralSystem.Xml.XmlException: The root element is missing. Pin
mantissaPuc26-Feb-05 9:53
mantissaPuc26-Feb-05 9:53 
GeneralRe: System.Xml.XmlException: The root element is missing. Pin
Radgar26-Feb-05 16:59
Radgar26-Feb-05 16:59 
GeneralProblem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:14
Tugbay Sahin26-Feb-05 9:14 
GeneralRe: Problem with my DB.. Pin
Colin Angus Mackay26-Feb-05 9:20
Colin Angus Mackay26-Feb-05 9:20 
GeneralRe: Problem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:27
Tugbay Sahin26-Feb-05 9:27 
GeneralRe: Problem with my DB.. Pin
Colin Angus Mackay26-Feb-05 9:41
Colin Angus Mackay26-Feb-05 9:41 
GeneralRe: Problem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:43
Tugbay Sahin26-Feb-05 9:43 
GeneralRe: Problem with my DB.. Pin
Rob Graham26-Feb-05 9:41
Rob Graham26-Feb-05 9:41 

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.