i need good advise

J

Jochen Kalmbach

Daylor said:
its go like this.
i have some hardware that came with dll to access his resources and
manage them. (there is nice api).


the question his, can i create my component,with all my requirments,
WITHOUT USING COM.(atl for example).

If the DLL exposes some functions, then you can simply call it from C# via
P-Invoke.
You can also use (managed) C++.

See DllImportAttribute
http://msdn.microsoft.com/library/en-
us/cpref/html/frlrfSystemRuntimeInteropServicesDllImportAttributeClassTopic
..asp

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/useritems/leakfinder.asp
 
D

Daylor

its go like this.
i have some hardware that came with dll to access his resources and manage
them.
(there is nice api).


my target:
i want to create a class for each resource ,and able to manage him in the
O.O way.
(and not in the c/procedural way).

this dll will be accessed from mulithread application.

the question his, can i create my component,with all my requirments, WITHOUT
USING COM.(atl for example).

what are my options to do my thing ?

hope im clear.
have a nice day.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top