Pages: 1
Posted on 07-15-11, 09:30 pm
Banned for being a complete idiot.

Karma: 529
Posts: 13/987
Since: 07-09-11
Hey guys,

I have a few questions about Be.Windows.Forms.HexBox.dll:
1) Why is there no reference to the original project where that dll file came from?
2) Why can't we compile that dll file at the same time when we compile NSMBe?
3) Why is NSMBe stuck to a specific version of Be.Windows.Forms.HexBox.dll? When I compiled that latest version from the original project's page, and replaced the one bundled with NSMBe, I got an exception when I tried to hex edit stating it tried to find the dll with assembly version 1.4.1.20144, while the one I compiled had 1.4.6.23863?
Posted on 07-15-11, 09:37 pm (rev. 1)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 325/4457
Since: 06-08-11
Posted by ELMario
Hey guys,

I have a few questions about Be.Windows.Forms.HexBox.dll:
1) Why is there no reference to the original project where that dll file came from?

I really don't know
That DLL has been around since the very early versions of NSMBe4 by Treeki.
But yeah, you're right, it should be put in the credits in the README, at least.
Posted by ELMario
2) Why can't we compile that dll file at the same time when we compile NSMBe?

No idea. Probably there's a way to do it, I haven't investigated it.
Posted by ELMario
3) Why is NSMBe stuck to a specific version of Be.Windows.Forms.HexBox.dll? When I compiled that latest version from the original project's page, and replaced the one bundled with NSMBe, I got an exception when I tried to hex edit stating it tried to find the dll with assembly version 1.4.1.20144, while the one I compiled had 1.4.6.23863?

Because the version we have now just works There's no point in fixing something that already works, unless they have fixed bugs or added new features, which I don't think is the case.

If you do see a reason, then just tell it. No problem
Posted on 07-15-11, 09:56 pm
Banned for being a complete idiot.

Karma: 529
Posts: 15/987
Since: 07-09-11
When I asked question #3, I was wondering why hard-code the version, instead of accepting any version of Be.Windows.Forms.HexBox.dll. I've learned that it's a good practice to not hard-code things in, so it won't be so difficult when you need to change it.

Well, according to the Sourceforge page under "Develop", there has been activity, even in 2011, and bugfixes too. And, the fact that my Be.Windows.Forms.HexBox.dll is newer than the one bundled with NSMBe, also implies that there has been changes.
Posted on 07-15-11, 09:58 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 328/4457
Since: 06-08-11
Oh, you meant about hard-coding the version.
Yeah, that should be changed. I will do it

Changed this to [bug] status.
Posted on 07-15-11, 11:35 pm
Banned for being a complete idiot.

Karma: 529
Posts: 23/987
Since: 07-09-11
Well, I guess I can't do a simple dll swap with the binaries.
But I still got NSMBe to work with the new dll!
I had to replace the old .dll in the source code with the new .dll and recompile NSMBe.
Then it works! Yay!
Posted on 07-15-11, 11:39 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 335/4457
Since: 06-08-11
Oh, so the version number is hard-coded at compile time.
I wonder if there's an option to prevent that..

Did you see any noticeable changes in the hex boxes when using the newer HexBox?
Posted on 07-15-11, 11:50 pm
Banned for being a complete idiot.

Karma: 529
Posts: 26/987
Since: 07-09-11
No, I don't.
If there were any improvements, they were probably hard-to-find bugs. I need to browse the project history to be sure though.
Posted on 08-02-11, 10:12 pm
Banned for being a complete idiot.

Karma: 529
Posts: 79/987
Since: 07-09-11
I think we can close this now.
I made the .dll compile at compile time with NSMBe. Also it's unnecessary to swap the .dll file after NSMBe has been compiled if it is so easy to compile NSMBe with a different dll.
Posted on 08-02-11, 10:27 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 499/4457
Since: 06-08-11
Alright.
Changed this to "Fixed"
Pages: 1