Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
QuestionTwo dimensional double array Pin
SenorSouza12-Sep-05 4:52
SenorSouza12-Sep-05 4:52 
AnswerRe: Two dimensional double array Pin
Christian Graus12-Sep-05 12:50
protectorChristian Graus12-Sep-05 12:50 
GeneralRe: Two dimensional double array Pin
SenorSouza12-Sep-05 20:12
SenorSouza12-Sep-05 20:12 
QuestionReflection & Arrays Pin
Yoyosch12-Sep-05 4:25
Yoyosch12-Sep-05 4:25 
GeneralRe: Reflection & Arrays Pin
Yoyosch12-Sep-05 5:41
Yoyosch12-Sep-05 5:41 
GeneralRe: Reflection & Arrays Pin
leppie12-Sep-05 7:29
leppie12-Sep-05 7:29 
QuestionRe: Reflection & Arrays Pin
Yoyosch13-Sep-05 2:08
Yoyosch13-Sep-05 2:08 
QuestionUrgent : dll function? Pin
E6AD12-Sep-05 4:16
E6AD12-Sep-05 4:16 
Dear All,

I am trying to call a function from an Intel dll that's originally written in C/C++.

It's original prototype is :
HIGHGUI_API IplImage* cvvLoadImage( const char* filename );

I have marshalled it as :
[DllImport("highgui.dll")]
[return : MarshalAs(UnmanagedType.Struct)]
unsafe public static extern IplImage * cvvLoadImage(string filename);

when I try to run it ,I get the following error.Does anyone know how can I fix that?

Error: Cannot take the address or size of a variable of a managed type ('IplImage')

I have marshaled the originally struct IplImage into :
[StructLayout(LayoutKind.Sequential)]
unsafe public struct IplImage
{
....
};

Best Regards,
E.A.





Questionpopup window Pin
malak nour12-Sep-05 4:10
malak nour12-Sep-05 4:10 
QuestionGet index of the Column in dataset Pin
zaboboa12-Sep-05 3:42
zaboboa12-Sep-05 3:42 
AnswerRe: Get index of the Column in dataset Pin
KaptinKrunch12-Sep-05 8:41
KaptinKrunch12-Sep-05 8:41 
AnswerRe: Get index of the Column in dataset Pin
miah alom12-Sep-05 9:04
miah alom12-Sep-05 9:04 
AnswerRe: Get index of the Column in dataset Pin
Tigerkatze13-Sep-05 22:43
Tigerkatze13-Sep-05 22:43 
QuestionPreviewWord Pin
Anonymous12-Sep-05 3:15
Anonymous12-Sep-05 3:15 
AnswerRe: PreviewWord Pin
Mohamad Al Husseiny12-Sep-05 10:18
Mohamad Al Husseiny12-Sep-05 10:18 
QuestionIActiveDesktop Pin
Anonymous12-Sep-05 2:48
Anonymous12-Sep-05 2:48 
AnswerRe: IActiveDesktop Pin
Mohamad Al Husseiny12-Sep-05 10:14
Mohamad Al Husseiny12-Sep-05 10:14 
QuestionAccess create table from the app ... Pin
Sharpoverride12-Sep-05 2:45
Sharpoverride12-Sep-05 2:45 
AnswerRe: Access create table from the app ... Pin
Guffa12-Sep-05 3:09
Guffa12-Sep-05 3:09 
QuestionOpenFile and SaveFile dialogs change the current directory. Pin
Sharpoverride12-Sep-05 2:41
Sharpoverride12-Sep-05 2:41 
AnswerRe: OpenFile and SaveFile dialogs change the current directory. Pin
S. Senthil Kumar12-Sep-05 4:01
S. Senthil Kumar12-Sep-05 4:01 
AnswerRe: OpenFile and SaveFile dialogs change the current directory. Pin
Dave Kreskowiak12-Sep-05 5:52
mveDave Kreskowiak12-Sep-05 5:52 
AnswerRe: OpenFile and SaveFile dialogs change the current directory. Pin
Large Data File13-Sep-05 22:14
Large Data File13-Sep-05 22:14 
Questionpinvoke a C++ struct to C# Pin
Thomas van Veen12-Sep-05 2:27
Thomas van Veen12-Sep-05 2:27 
AnswerRe: pinvoke a C++ struct to C# Pin
Andy Moore12-Sep-05 13:00
Andy Moore12-Sep-05 13:00 

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.