Click here to Skip to main content
15,919,358 members
Home / Discussions / C#
   

C#

 
GeneralProblem solved Pin
Ungi.4-Mar-04 20:15
Ungi.4-Mar-04 20:15 
GeneralDatagrid Rows Pin
Reinier van de Wetering1-Mar-04 19:13
Reinier van de Wetering1-Mar-04 19:13 
GeneralMethod <Summary> descriptions Pin
Reebop1-Mar-04 11:52
sussReebop1-Mar-04 11:52 
GeneralRe: Method <Summary> descriptions Pin
Meysam Mahfouzi1-Mar-04 17:45
Meysam Mahfouzi1-Mar-04 17:45 
GeneralRe: Method <Summary> descriptions Pin
Heath Stewart1-Mar-04 18:15
protectorHeath Stewart1-Mar-04 18:15 
GeneralRe: Method <Summary> descriptions Pin
Meysam Mahfouzi1-Mar-04 18:17
Meysam Mahfouzi1-Mar-04 18:17 
GeneralRe: Method &lt;Summary&gt; descriptions Pin
Reebop1-Mar-04 22:32
sussReebop1-Mar-04 22:32 
Generalfog in opengl Pin
shedid1-Mar-04 9:29
shedid1-Mar-04 9:29 
GeneralRe: fog in opengl Pin
Nick Parker1-Mar-04 9:36
protectorNick Parker1-Mar-04 9:36 
GeneralRe: fog in opengl Pin
shedid4-Mar-04 6:55
shedid4-Mar-04 6:55 
GeneralClient Disconnected. Pin
HAHAHA_NEXT1-Mar-04 8:39
HAHAHA_NEXT1-Mar-04 8:39 
GeneralRe: Client Disconnected. Pin
Heath Stewart1-Mar-04 9:21
protectorHeath Stewart1-Mar-04 9:21 
GeneralRe: Client Disconnected. Pin
HAHAHA_NEXT1-Mar-04 10:52
HAHAHA_NEXT1-Mar-04 10:52 
GeneralRe: Client Disconnected. Pin
Heath Stewart1-Mar-04 10:59
protectorHeath Stewart1-Mar-04 10:59 
GeneralRe: Client Disconnected. Pin
RNEELY2-Mar-04 6:38
RNEELY2-Mar-04 6:38 
QuestionServicedComponent: How to tell you are in a transaction? Pin
Le centriste1-Mar-04 8:29
Le centriste1-Mar-04 8:29 
AnswerRe: ServicedComponent: How to tell you are in a transaction? Pin
Heath Stewart1-Mar-04 9:18
protectorHeath Stewart1-Mar-04 9:18 
GeneralRe: ServicedComponent: How to tell you are in a transaction? Pin
Le centriste1-Mar-04 9:24
Le centriste1-Mar-04 9:24 
GeneralCalling a third party DLL Pin
Andy *M*1-Mar-04 8:28
Andy *M*1-Mar-04 8:28 
GeneralRe: Calling a third party DLL Pin
Nick Parker1-Mar-04 8:53
protectorNick Parker1-Mar-04 8:53 
GeneralRe: Calling a third party DLL Pin
Heath Stewart1-Mar-04 9:15
protectorHeath Stewart1-Mar-04 9:15 
GeneralRe: Calling a third party DLL Pin
Andy *M*1-Mar-04 9:52
Andy *M*1-Mar-04 9:52 
Thanks for answering.

Yes, this is a native DLL - I believe it was written with Visual C/C++ 6.0 (the C++ part of it only works when linked with VC++6)

The DLL is in the same directory as the C# exe.

No exceptions are thrown. I think that the pointer that I am receiving back is not right but I don't know how to tell or not. If a native DLL allocates memory when being used in a managed application is there anything special I need to do? I've written a test application in C as well as the C# version and the test works in C - the code is virtually identical.

The symptom of the error is that when running in C# the IsOpen() function always returns false.


GeneralRe: Calling a third party DLL Pin
Heath Stewart1-Mar-04 9:57
protectorHeath Stewart1-Mar-04 9:57 
GeneralRe: Calling a third party DLL Pin
Andy *M*1-Mar-04 10:09
Andy *M*1-Mar-04 10:09 
GeneralRe: Calling a third party DLL Pin
Heath Stewart1-Mar-04 10:46
protectorHeath Stewart1-Mar-04 10:46 

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.