Can a .dll have an 'init' ?

DrEvil

FCRI Associate!
Reaction score
111
Well.. I've made a few .dll's for some stuff I've been doing , but I have to manually initialize each one :

Code:
using Stuff;

Content1.Load();
.e.t.c.
Code:
using Stuff;

// When run , loads up the .dll 'init' method...


So... Can .dll's have init's ? :D ( C# - If that helps anyhow... )
 

Vestras

Retired
Reaction score
248
No, they can't. Nothing really can - your main Form in your app is run in the Program.cs file 'manually'.
 

DrEvil

FCRI Associate!
Reaction score
111
Thanks for telling me that :thup:

Doesn't hurt too much anyway ... lol ...
( Just might have saved some time .. but anyway :D )


>your main Form in your app is run in the Program.cs file 'manually'
But I don't have to write that. It's already there :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top