BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 8: resource link/embed problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Neill
Guest





PostPosted: Wed Jul 07, 2004 9:49 am    Post subject: Delphi 8: resource link/embed problem Reply with quote



Hi,

I have an assembly containing a form with an image (picturebox). If
the form is created from another project (exe) using refelection, it
fails with : 'could not find any resources appropriate for the
specified culture in the given assembly. Make sure 'myform.resources'
was correctly embedded or linked into assembly 'myassembly''.

Now I see lots of the VS .NET guys had the same problems but none of
their suggestions looks feasable to Delphi (example manifests,
devenv.exe, classes defined before the form class, moving folders and
files etc.)

The .resx file is used to generate a .resources file on compile and
the .resources is then linked into the assembly. Therefore the image
should be embedded as a resource within the assembly, but at runtime
is tells me differently. The only reason I can think of is that it
gets confused with the namespacing. But it looks correct to me.

Anyone any suggestions?

Thanks
Neill.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.