Jump to content
  • Advertisement
Sign in to follow this  
Lith

Using C/C++ libraries in Assembly

This topic is 2925 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!