473,382 Members | 1,407 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 2629
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Fredrik Rodin | last post by:
All, I'm having problems with my resource manager in ASP.NET 2.0 after conversion from ASP.NET 1.1. Here is a background: In ASP.NET 1.1 All my user controls and aspx pages inherit from...
0
by: Mythran | last post by:
I wrote some code that is supposed to enumerate through the specified file's win32 resources and return a string-array of all icon names. When it runs, it returns a string-array with a bunch of...
5
by: Paul Cheetham | last post by:
Hi, I have some custom colour cursors which I have added to my c# project, and set them to be compiled as "Embedded Resource" It seems impossible to load a colour cursor using the standard...
3
by: Jared | last post by:
I'm using the first code sample below to play WAV files stored as embedded resources. For some reason I *occasionally* get scratching and crackling. I'm using a couple WAVs that ship with...
5
by: Daniel | last post by:
Hey guys When you hook an event (c# 2.0 syntax): myEvent += MyMethodToFire; You need to also unsubscribe it to avoid a resource leak so that the object it is in gets garbage collected like so...
8
by: CodeLeon | last post by:
Hi, All. I am creating a setup program. The way it works is that the user creates their setup info, my program generates the C# code for a setup executable, embeds the xml file containing the info...
2
by: WT | last post by:
Hello, Could we use 'Embedded resources' with resx files that contain text resources used in aspx pages with the syntaxe: Text="<%$ Resources:ResourcesMy,KEY1 %>" I tryed removing the...
5
by: sealo | last post by:
Hello, dear guys, I met another curious issue of finding the resources. There was a dynamic file, which include a resource:...
12
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.