Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Resource in static library

Reply
Thread Tools

Resource in static library

 
 
Justin
Guest
Posts: n/a
 
      09-10-2007
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

 
Reply With Quote
 
 
 
 
Zara
Guest
Posts: n/a
 
      09-10-2007
On Sun, 09 Sep 2007 20:29:20 -0700, Justin <>
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,
 
Reply With Quote
 
 
 
 
Justin
Guest
Posts: n/a
 
      09-11-2007
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.org> wrote:
> 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,



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resource expression to access resource located in library Heinrich Moser ASP .Net 1 03-27-2008 04:25 PM
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
Resource manager problem: naming for embedded resource. Dirc Khan-Evans ASP .Net 1 10-17-2005 12:52 PM
how to link static library to another static libraries free2cric@yahoo.com C++ 2 05-16-2005 04:40 PM
The system cannot locate the resource specified. Error processing resource avishosh XML 2 08-08-2004 06:28 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57