We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import needed class only
#4
I see there's a bit of confusion here, I'll break it down.

I have LitDev.dll and SmallBasicLibrary.dll along with the exe file. Runs perfectly fine.

However, I want to use ILMerge to merge the dll files with my program to make it only one exe.

This is the issue that occurs: https://pastebin.com/Uv0HTigg

Now, i thought this was probably just because i didnt include SlimDX.dll in my directory, so i did.

Same error this time, but instead, with Microsoft.Expression.Effects.dll

So i included that in my folder too, and more and more dll errors started to come up.

What I think is the problem here is that ILMerge is using all of the classes in LitDev.dll which is causing so many dll errors.

Of course though I'm not a maniac and wouldnt want to include each dll file in my directory, time wasting and resulting in a bigger file size.

I'm trying to achieve a solution for this, I am using LDDialog in my program, and as we all know small basic doesnt support import statements, so the only solution (What i think) is to break the extension in different parts e.g Call.dll, GraphicsWindow.dll, etc etc. Maybe using steve's source code?
[-] The following 1 user Likes hybridClasher.init()'s post:
  • z-s
Reply


Messages In This Thread
RE: Import needed class only - by litdev - 08-12-2024, 08:41 PM
RE: Import needed class only - by z-s - 08-13-2024, 02:27 AM
RE: Import needed class only - by hybridClasher.init() - 08-13-2024, 01:32 PM
RE: Import needed class only - by litdev - 08-13-2024, 05:08 PM
RE: Import needed class only - by litdev - 08-14-2024, 08:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)