c# - API assembly -


In my VB6.0 days I used a lot of Windows API so I came to know that all the API methods I declared They are too much process based - or its process based entry point.

My question:

I have written some code in C # which I need to access from VB 6.0. Is it possible to compile the C # code in DLL and declare VB6.0 to C # DLL as an API call? If so, how is it done?

(I have already tried to complain to my C # DLL COM, and it worked - but I want to try to do the above mentioned approach too)

< P> Thank you

No, you can enter Win32-style APIs as entry points in your C # Can not expose. In fact, in fact, for any .NET library, there really is a need to create procedural insertion points, perhaps the best part is that a mixed-mode cover library is created using C ++ / CLI. But it seems like hard work: exposing your C # as Com Objects is likely to be very little effort and it is very easy to maintain.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -