Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ranger_One

Resources from .lib?

This topic is 6016 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 have a library with integral resources (bitmaps, sounds) and I want to access them in another program. It seems I cant- so I added the .libs data.rc to the program I want to use them in, then tried to access the resources. But this fails- with an Invalid memory access error? anyone know why? Ranger

Share this post


Link to post
Share on other sites
Advertisement
ok- found my problem..

but another question:

Can you use a command in a source file to link in a .rc file?
like a #pragma comment(lib,"mylib.lib)

but for .rc files?

Ranger

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!