Thanks Jon. But is that the only step required to expose the project through COM? Do you have any detailed link that can help me out with that? Thanks again, E.A.
E6AD
Posts
-
How to build a DLL in C#? -
Calling a C# COM Object from VC++ 6.0Thanks a lot Christian. You are right,I meant to call.:-O Thanks, E.A.
-
Calling a C# COM Object from VC++ 6.0Hi all, Can someone please guide me on how can I call a C# COM Object from VC++ 6.0? Best Regards, E.A.
-
Calling a C# COM Object from VC++ 6.0Hi all, Can someone please tell me how can I build a C# COM Object from VC++ 6.0? Best Regards, E.A.
-
How to build a DLL in C#?Hi everyone, Can someone please tell me how can I build a DLL in C#? Best Regards, E.A.
-
Problem with the PictureBox Control: Please HelpHi, Can someone please tell me how can I zoom in and out of an image that is displayed in a picture box control??? Please Help... Thanks, E.A.
-
Zooming in/out of Pictures in a PictureBox ControlHi, Can someone please tell me how can I zoom in and out of an image that is displayed in a picture box control??? Please Help... Thanks, E.A.
-
How to scroll an image?Hi, is there a simple way to scroll the image that is larger than the screen size in a simple way?please help Best regards, E.A.
-
Opening the Form in maximized mode?Hi, Does anyone has an idea on how can I open the form,so that initally when it is opened it is set to the maximum window size as if I have clicked the maximize button? Thanks, E.A.
-
How to scroll an image?Hi, Can someone please tell me how can I scroll an image?and how can I manipulate its size so that it's adjust it according to the monitor size of the user's monitor? Thanks, E.A.
-
Calling C/C++ function from C#Thanks a lot Andrew, Hope this might help me sort it out. Best Regards, E.A.
-
Calling C/C++ function from C#Thanks for trying to help out. I have heard about MC++ but I havent' heard about IJT. Does this mean that after using my class with MC++ that I can call it directly from .NET or what? Best Regards, E.A.
-
Calling C/C++ function from C#Thanks Andrew, And the same if it's written in C++? Can you please guide me to an article or so,so I can follow it step by step?I have never tried creating a C++ dll before? Thanks and Best Regards, E.A.
-
Calling C/C++ function from C#Can someone please tell me how to call a C/C++ function that is in a .c or .cpp file from C#?
-
Urgent : dll function?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.
-
Calling a DLL from C#What if I have the following case : struct x (whose structure is unknown) x* a = function(string m); int b= function2(a,....); If I used your idea, will it work in that case? Thanks for your help,I really appreciate it... Best Regards, E.A.
-
Calling a DLL from C#Thanks Christian Unfortunately,it's not a MS one.It's an Intel one. I have already checked the pinvoke documentation and marsalling in msdn but it didn't provide me with examples in my case. do you have any idea what can i do? Thanks and Best Regards, E.A.
-
Calling a DLL from C#HI All, I am trying to call a function from a dll. One of its parameters is a structure that I will need later to call another function from another dll but the problem is that I don't know its detailed structure to be able to marshall it in C#. I am not interested in accessing the struc:confused:ture's attributes,it's a temporary step for me before calling the other function. However,it must be accuartely done in order to pass a correct argument to the other function. Can I just marshal the unknow datatypes within the structure as it they were "void"? Any ideas or suggestions? It's really has been puzzling me for a time now and I can't reach a solution Thanks and Best Regards, E.A.
-
Please Help:Marshaling Question??Dear All, How can I marshall the following attributes in the following structure; typedef struct IplImage {. . struct _IplROI * roi; void * imageid; } where _IplROI is itself a structure? Another question is that the function unmanaged prototype is ; IplImage * cvvLoadImage(const char * filename); do I have to marshall the return type after defining the IplImage or I just write "IplImage *" after marshalling the structure?? Please Help, Thanks and Best Regards, E.A.
-
Please Heeeeeeeeelp: Problem with Pinvoke???Dear All, How can I marshall the following attributes in the following structure; typedef struct IplImage {. . struct _IplROI * roi; void * imageid; } where _IplROI is itself a structure? Another question is that the function unmanaged prototype is ; IplImage * cvvLoadImage(const char * filename); do I have to marshall the return type after defining the IplImage or I just write "IplImage *" after marshalling the structure?? Please Help, Thanks and Best Regards, E.A.