View previous topic :: View next topic |
Author |
Message |
Nicolas
Joined: 04 Sep 2003 Posts: 21
|
Posted: Thu Sep 04, 2003 3:36 pm Post subject: Link to exe fail |
|
|
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 |
|
 |
dragosh Guest
|
Posted: Fri Sep 05, 2003 8:04 am Post subject: |
|
|
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
|
Posted: Fri Sep 05, 2003 8:42 am Post subject: |
|
|
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 |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2129
|
Posted: Sat Sep 06, 2003 10:52 am Post subject: |
|
|
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 |
|
 |
Nicolas
Joined: 04 Sep 2003 Posts: 21
|
Posted: Mon Sep 08, 2003 3:05 pm Post subject: |
|
|
Thanks it does word now
I appreciate the quick response / fix time
Nicolas |
|
Back to top |
|
 |
Nicolas
Joined: 04 Sep 2003 Posts: 21
|
Posted: Mon Sep 08, 2003 6:39 pm Post subject: |
|
|
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 |
|
 |
dragosh Guest
|
Posted: Tue Sep 09, 2003 2:00 pm Post subject: |
|
|
Hello!
A fix will be out in a couple of days. |
|
Back to top |
|
 |
dragosh Guest
|
Posted: Wed Sep 10, 2003 2:59 pm Post subject: |
|
|
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
|
Posted: Wed Sep 10, 2003 3:22 pm Post subject: |
|
|
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 |
|
 |
dragosh Guest
|
Posted: Thu Sep 11, 2003 7:09 am Post subject: |
|
|
Hello!
Could you send us the dll after you link the resources to it? |
|
Back to top |
|
 |
dragosh Guest
|
Posted: Thu Sep 11, 2003 12:41 pm Post subject: |
|
|
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
|
Posted: Fri Sep 12, 2003 11:59 am Post subject: |
|
|
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 |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2129
|
Posted: Fri Sep 12, 2003 12:36 pm Post subject: |
|
|
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 |
|
 |
|