472,090 Members | 1,278 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,090 software developers and data experts.

Resource in static library

Hi Guys,

I am writing a static library in which there are some resrouces - BMPs
and dialogs etc. Unfortunately, when I call functions/dialogs in the
static library, it failed because of resource could not be located.

I have googled. But the approach I found is to include resources of
the static library in the caller. Are there some other more graceful
way to do this? I mean just like resource in DLL file, do not include
resources in static library.

And will anybody give me some tips on resource management of windows
binaries?

Any tips and suggestion will be appreciated!

Justin

--
www.rollingsoftware.com

Sep 10 '07 #1
2 2509
On Sun, 09 Sep 2007 20:29:20 -0700, Justin <ju********@gmail.com>
wrote:
>Hi Guys,

I am writing a static library in which there are some resrouces - BMPs
and dialogs etc. Unfortunately, when I call functions/dialogs in the
static library, it failed because of resource could not be located.
<...>
this is OS dependent, so you should ask in a Windows specific usenet
group.

By the way, try looking at msdn.microsoft.com, search foru resource
dll. It will probably give the results you expected.

Regards,

Zara,
Sep 10 '07 #2
Wow!

Sorry for that. I think I have some misunderstanding. Before that I
have search the group, I found a thread which discussed the problem.
So I think if this is the place to ask this question.

Anyway, thanks and I'm trying turn to another group.

Regards,
Justin
On Sep 10, 1:33 pm, Zara <me_z...@dea.spamcon.orgwrote:
On Sun, 09 Sep 2007 20:29:20 -0700, Justin <justinl...@gmail.com>
wrote:
Hi Guys,
I am writing a static library in which there are some resrouces - BMPs
and dialogs etc. Unfortunately, when I call functions/dialogs in the
static library, it failed because of resource could not be located.

<...>

this is OS dependent, so you should ask in a Windows specific usenet
group.

By the way, try looking at msdn.microsoft.com, search foru resource
dll. It will probably give the results you expected.

Regards,

Zara,

Sep 11 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Paul Cheetham | last post: by
5 posts views Thread by Daniel | last post: by
5 posts views Thread by sealo | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.