In article <11**********************@80g2000cwy.googlegroups. com>,
Cut <cu*******@gmail.comwrote:
>My apologies if this post is in the wrong forum.
'Tis, but I'll try to give enough information for you to decide where
the right place to ask is.
>I'd like to use an SDK written in low-level C and asm. I'm not sure
how this SDK is implemented; I'd have to buy it. So this question is
theoretical.
If it's written in C and assembly, it most likely exports entry points
callable from C programs; if you can verify that, you don't have to
care how it's actually implemented - you can just act as if it were
implemented in C.
>Is it possible to use a high-level IDE used for another language, such
as Java or C#, to use a C/ASM API?
Probably, but the C language doesn't specify how (which is what makes
comp.lang.c the wrong place to ask).
Since C has fairly simple calling conventions and nearly universal
support, many (most?) higher-level languages make it possible to call into
a library that is, or acts like it is, implemented in C. Some languages
provide this as part of the language; for languages that don't, many
(most?) implementations of the language provide it as an extension.
Look for "native code interface" or "foreign function interface" in your
documentation, and if that doesn't tell you what you need to know try
a newsgroup that discusses the language you're using and/or the tools
you're using.
dave
--
Dave Vandervies
dj******@csclub.uwaterloo.ca
We'll soon have you at the point where your method only works if the
computer is turned off.
--Kenneth Doyle in comp.theory