Click here to Skip to main content
15,921,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can i add tab bar using VS 2008 in WPF Application? Pin
Simon P Stevens2-Apr-08 1:53
Simon P Stevens2-Apr-08 1:53 
QuestionHow to call a c++ function from c# program Pin
sree1-Apr-08 23:14
sree1-Apr-08 23:14 
AnswerRe: How to call a c++ function from c# program Pin
N a v a n e e t h1-Apr-08 23:19
N a v a n e e t h1-Apr-08 23:19 
GeneralRe: How to call a c++ function from c# program Pin
sree1-Apr-08 23:33
sree1-Apr-08 23:33 
GeneralRe: How to call a c++ function from c# program Pin
Jonathan [Darka]2-Apr-08 0:19
professionalJonathan [Darka]2-Apr-08 0:19 
GeneralWTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:12
Harvey Saayman1-Apr-08 22:12 
GeneralRe: WTF??? AccessViolationException Issue Pin
phannon861-Apr-08 22:24
professionalphannon861-Apr-08 22:24 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:29
Harvey Saayman1-Apr-08 22:29 
GeneralRe: WTF??? AccessViolationException Issue Pin
phannon861-Apr-08 22:38
professionalphannon861-Apr-08 22:38 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:47
Harvey Saayman1-Apr-08 22:47 
GeneralRe: WTF??? AccessViolationException Issue Pin
Rob Philpott1-Apr-08 22:39
Rob Philpott1-Apr-08 22:39 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:45
Harvey Saayman1-Apr-08 22:45 
GeneralRe: WTF??? AccessViolationException Issue Pin
Rob Philpott1-Apr-08 22:46
Rob Philpott1-Apr-08 22:46 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:57
Harvey Saayman1-Apr-08 22:57 
GeneralRe: WTF??? AccessViolationException Issue Pin
Rob Philpott1-Apr-08 23:04
Rob Philpott1-Apr-08 23:04 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 23:23
Harvey Saayman1-Apr-08 23:23 
GeneralRe: WTF??? AccessViolationException Issue Pin
Victor van Hagen6-Apr-08 2:56
Victor van Hagen6-Apr-08 2:56 
Harvey,

When using classes from interop assemblies (like CSKEMClass) you, as a developer, are responsible for cleaning up any resources you use in your program. Not doing so might cause AccessViolationExceptions and will leak memory because the memory isn't freeed properly.

Try using the following pattern:

CZKEMClass zkSDK = new CZKEMClass();<br />
  // do you stuff<br />
zkSDK.Disconnect(); //disconnect the conection<br />
<br />
Mashal.ReleaseComObject(zkSDK); // This is vital!<br />


Hope it helps.
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman7-Apr-08 20:44
Harvey Saayman7-Apr-08 20:44 
GeneralRe: WTF??? AccessViolationException Issue Pin
Victor van Hagen9-Apr-08 8:28
Victor van Hagen9-Apr-08 8:28 
Generalcrystal report formula Pin
Member 44784001-Apr-08 22:07
Member 44784001-Apr-08 22:07 
QuestionCoding help needed Pin
bdiepeveen1-Apr-08 21:26
bdiepeveen1-Apr-08 21:26 
GeneralRe: Coding help needed Pin
Pete O'Hanlon1-Apr-08 22:14
mvePete O'Hanlon1-Apr-08 22:14 
GeneralRe: Coding help needed Pin
Herman<T>.Instance1-Apr-08 23:18
Herman<T>.Instance1-Apr-08 23:18 
GeneralRe: Coding help needed Pin
bdiepeveen3-Apr-08 1:36
bdiepeveen3-Apr-08 1:36 
GeneralAbout Hashtables Pin
John.L.Ponratnam1-Apr-08 19:42
John.L.Ponratnam1-Apr-08 19:42 

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.