SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Link to exe fail

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder
View previous topic :: View next topic  
Author Message
Nicolas



Joined: 04 Sep 2003
Posts: 21

PostPosted: Thu Sep 04, 2003 3:36 pm    Post subject: Link to exe fail Reply with quote

Hello,

Resource builder 2.0.5

When I try to to link the resource content to a dll, I get a Link error critical error at the end of the process, no matter replacement options are.

When I compile the same file, go back to the compiler, I can compile and make the dll.

It seems however that the link was correctly done

Please advise

Thank you
Back to top
View user's profile Send private message
dragosh
Guest





PostPosted: Fri Sep 05, 2003 8:04 am    Post subject: Reply with quote

Hello!

We are unable to reproduce this bug.
Can you send us the dll that you are trying to link to?
Back to top
Nicolas



Joined: 04 Sep 2003
Posts: 21

PostPosted: Fri Sep 05, 2003 8:42 am    Post subject: Reply with quote

Thank you

Could you give an e-mail address to which I can send the dll and the source script

Thanks

Nicolas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Sat Sep 06, 2003 10:52 am    Post subject: Reply with quote

We've just released new update for Resource Builder which includes the fix for this bug. Please update your version either by using Update Manager or by downloading complete package from our site.
Back to top
View user's profile Send private message
Nicolas



Joined: 04 Sep 2003
Posts: 21

PostPosted: Mon Sep 08, 2003 3:05 pm    Post subject: Reply with quote

Thanks it does word now

I appreciate the quick response / fix time

Nicolas
Back to top
View user's profile Send private message
Nicolas



Joined: 04 Sep 2003
Posts: 21

PostPosted: Mon Sep 08, 2003 6:39 pm    Post subject: Reply with quote

I feel sorry but it seems to me that the fix is not fully operational. While the link does work, the dll can't be registered anymore with regsvr32, as if some other piece of this original dll is broken.

Awaiting for your comments

Thank you
Back to top
View user's profile Send private message
dragosh
Guest





PostPosted: Tue Sep 09, 2003 2:00 pm    Post subject: Reply with quote

Hello!

A fix will be out in a couple of days.
Back to top
dragosh
Guest





PostPosted: Wed Sep 10, 2003 2:59 pm    Post subject: Reply with quote

Done.
Use Update manager to get the last version.

Thank you for your bug reports
Back to top
Nicolas



Joined: 04 Sep 2003
Posts: 21

PostPosted: Wed Sep 10, 2003 3:22 pm    Post subject: Reply with quote

Still have a problem with regsvr32. Says that is fails to register the dll and returns the following error code : 0x80004005

resource builder version : 2.0.7.67

Nicolas
Back to top
View user's profile Send private message
dragosh
Guest





PostPosted: Thu Sep 11, 2003 7:09 am    Post subject: Reply with quote

Hello!

Could you send us the dll after you link the resources to it?
Back to top
dragosh
Guest





PostPosted: Thu Sep 11, 2003 12:41 pm    Post subject: Reply with quote

Did you select "Replace" as a linking method when linking to dll? Note that "Replace" deletes all resources in the dll file, which aren't included in the project. So, in your case, type library also got deleted. Try to use "Smart add" method, which will preserve existing resources.
Back to top
Nicolas



Joined: 04 Sep 2003
Posts: 21

PostPosted: Fri Sep 12, 2003 11:59 am    Post subject: Reply with quote

You're right, this is what happened. Selecting smart add makes it work.

However I see a little drawback here : say I remove some strings in the source code that are still in the dll, they won't removed during the link process.

I'm wondering where you could leave the code section, and other must have stuff as it is and replace everything that belongs to interface resources (cursor, bitmap, strings, etc...)

Thanks

Nicolas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Fri Sep 12, 2003 12:36 pm    Post subject: Reply with quote

The smart add function is exactly what should be used. Resource Builder doesn't touch or change code or others sections. It just modifies resource section. And it is up to programmer to control what he will modify update when linking. In case you need to replace resources you just link RC file with Replace option and the same for other cases.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder 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 p h p B B  © 2001, 2005 p h p B B  Group