• Advertisement
Sign in to follow this  

Using C/C++ libraries in Assembly

This topic is 2739 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I think it's possible because of the many google searches i did on how to use OpenGL with assembly. Most of the time it just said to call the C OpenGL api from assembly.

But i dont know how to do this. I think i cant use the .h files so i will have to replace them but the rest should'nt be a problem?

Does anyone know how to do this?

[Edited by - Lith on October 20, 2010 3:46:43 PM]

Share this post


Link to post
Share on other sites
Advertisement
What does the documentation that came with your assembler say about it?

From what I understand, you need to link to the stub library for the dll and then use the decorated name of the target function with the "call" instruction. I could be wrong. Again, consult the assembler documentation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement