how does classic asp use .NET system DLLs?

Results 1 to 2 of 2

Thread: how does classic asp use .NET system DLLs?

  1. #1
    Join Date
    Dec 1969

    Default how does classic asp use .NET system DLLs?

    I am able to use a C# DLL that I&#039;ve created via asp by doing something like:<BR><BR>&#060;%<BR>Dim objMyDll<BR>Set objMyDll = Server.CreateObject(XXXX.ZZZZZ)<BR>objMyDll.AAAAAA AAAAA<BR>%&#062;<BR><BR>but now i&#039;d like to use the .NET System.dll for it&#039;s "system.collections.hashtable" object. Is there a different method of setting this object because it is a native .NET class?<BR>Thanks!

  2. #2
    Join Date
    Dec 1969

    Default With a *LOT* of difficulty

    So far as I know, DLL&#039;s created with .NET compilers are *NOT* COM objects.<BR><BR>You&#039;d have to use old-fashioned VB or C++ to put a "wrapper" around the managed code. And even then you&#039;d need some mildly funky "interop" code.<BR><BR>Having said that... I admit I haven&#039;t done it in this "direction". I have used old-fashioned DLLs from managed code (from VB.NET), though, and it&#039;s certainly not something that is automatic.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts