Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to program cash drawer? Pin
Syed Shahid Hussain1-Oct-10 5:09
Syed Shahid Hussain1-Oct-10 5:09 
GeneralRe: how to program cash drawer? Pin
OriginalGriff1-Oct-10 5:21
mveOriginalGriff1-Oct-10 5:21 
AnswerRe: how to program cash drawer? Pin
Abhinav S1-Oct-10 5:54
Abhinav S1-Oct-10 5:54 
AnswerRe: how to program cash drawer? Pin
spencepk2-Oct-10 5:27
spencepk2-Oct-10 5:27 
QuestionDeploying new WCF service does not expose client ???!!! Pin
Michael Eber30-Sep-10 11:40
Michael Eber30-Sep-10 11:40 
AnswerRe: Deploying new WCF service does not expose client ???!!! Pin
PIEBALDconsult30-Sep-10 17:55
mvePIEBALDconsult30-Sep-10 17:55 
AnswerRe: Deploying new WCF service does not expose client ???!!! Pin
Abhinav S1-Oct-10 5:56
Abhinav S1-Oct-10 5:56 
QuestionFreeing UnmanagedType.ByValArray Pin
bajamba30-Sep-10 4:47
bajamba30-Sep-10 4:47 
The project I am working on has a memory leak and will throw OutOfMemory exception when left running long enough. I believe the source of this problem is an object which multiple instances are created and never properly freed. After I am done with the object I would like to manually call Dispose().

The object is defined as such and is contained within a struct implementing IDisposable.

[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct CamAcquisition : IDisposable
{

[MarshalAs(UnmanagedType.ByValArray, SizeConst = 82944)]
public ushort[] frameData;

...
}

I do not know how to properly implement Dispose() to free this object.

How can I manually free an instance of this object?
AnswerRe: Freeing UnmanagedType.ByValArray [modified] Pin
Luc Pattyn30-Sep-10 5:44
sitebuilderLuc Pattyn30-Sep-10 5:44 
Questionwin7,sc delete, windows servis,process start Pin
tomorrow_ft30-Sep-10 3:50
tomorrow_ft30-Sep-10 3:50 
AnswerRe: win7,sc delete, windows servis,process start Pin
Not Active30-Sep-10 3:54
mentorNot Active30-Sep-10 3:54 
GeneralRe: win7,sc delete, windows servis,process start Pin
tomorrow_ft30-Sep-10 3:58
tomorrow_ft30-Sep-10 3:58 
AnswerRe: win7,sc delete, windows servis,process start Pin
Bernhard Hiller30-Sep-10 4:18
Bernhard Hiller30-Sep-10 4:18 
GeneralRe: win7,sc delete, windows servis,process start Pin
tomorrow_ft30-Sep-10 4:21
tomorrow_ft30-Sep-10 4:21 
GeneralRe: win7,sc delete, windows servis,process start Pin
Dave Kreskowiak30-Sep-10 5:33
mveDave Kreskowiak30-Sep-10 5:33 
GeneralRe: win7,sc delete, windows servis,process start Pin
Sunil G 31-Oct-10 18:35
Sunil G 31-Oct-10 18:35 
GeneralRe: win7,sc delete, windows servis,process start Pin
Dave Kreskowiak1-Oct-10 18:37
mveDave Kreskowiak1-Oct-10 18:37 
QuestionUsing C++ class in C# Pin
Nematjon Rahmanov30-Sep-10 3:36
Nematjon Rahmanov30-Sep-10 3:36 
AnswerRe: Using C++ class in C# Pin
Not Active30-Sep-10 3:51
mentorNot Active30-Sep-10 3:51 
QuestionRe: Using C++ class in C# Pin
Nematjon Rahmanov30-Sep-10 3:57
Nematjon Rahmanov30-Sep-10 3:57 
AnswerRe: Using C++ class in C# Pin
Saksida Bojan30-Sep-10 6:54
Saksida Bojan30-Sep-10 6:54 
GeneralRe: Using C++ class in C# [modified] Pin
Ziad Elmalki30-Sep-10 23:04
Ziad Elmalki30-Sep-10 23:04 
AnswerRe: Using C++ class in C# Pin
cepi691-Oct-10 5:08
cepi691-Oct-10 5:08 
QuestionActive directory permissions management Pin
allstarmisho30-Sep-10 1:44
allstarmisho30-Sep-10 1:44 
AnswerRe: Active directory permissions management Pin
Eddy Vluggen30-Sep-10 6:29
professionalEddy Vluggen30-Sep-10 6:29 

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.