Visual Studio Developer Center > Visual C# Forums > Visual C# General > newbie DLLRegisterServer entry point was not found

Answered newbie DLLRegisterServer entry point was not found

  • Thursday, November 01, 2007 8:36 PM
     
     

    I created the MATHLIBRARY.DLL as from the demo in C#.

     

    It works great on my computer.

     

    I copied it to ANOTHER computer and tried to register it with regsvr32 and regasm.

     

    What do I need to do to register MATHLIBRARY.DLL on a NEW computer?

     

    I'm having a hard time finding it in the documentation.

     

    TIA

     

Answers

  • Monday, November 05, 2007 4:36 AM
    Moderator
     
     Answered

    Hi TIA,

     

    In the Microsoft .NET framework, an assembly is a partially compiled code library for use in deployment, versioning and security. The code in an assembly is compiled into MSIL, which is then compiled into machine language at runtime by the CLR. If you create a .NET DLL assembly using C#, you can copy it to another computer directly and install .NET Framework in it. This should work for you. There is no need to register .NET assembly with regsvr32 and regasm.

     

    Hope this helps,

    regards,

All Replies

  • Thursday, November 01, 2007 9:17 PM
     
     

    Once I copied the testCode.EXE to the new computer, the program TestCode

    worked!!!!

     

    I learn something new everyday.

     

     

  • Monday, November 05, 2007 4:36 AM
    Moderator
     
     Answered

    Hi TIA,

     

    In the Microsoft .NET framework, an assembly is a partially compiled code library for use in deployment, versioning and security. The code in an assembly is compiled into MSIL, which is then compiled into machine language at runtime by the CLR. If you create a .NET DLL assembly using C#, you can copy it to another computer directly and install .NET Framework in it. This should work for you. There is no need to register .NET assembly with regsvr32 and regasm.

     

    Hope this helps,

    regards,