<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DLL for ASPs in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959024#M21432</link>
    <description>Has anyone produced a DLL for use in an ASP? &lt;BR /&gt;I understand that the functions return types must be Variants. Since I have not done this before, If anyone has a template for doing this I will much appreciate getting it. &lt;BR /&gt; &lt;BR /&gt;Thanks, Tim H</description>
    <pubDate>Wed, 18 Jul 2001 04:21:29 GMT</pubDate>
    <dc:creator>rahzan</dc:creator>
    <dc:date>2001-07-18T04:21:29Z</dc:date>
    <item>
      <title>DLL for ASPs</title>
      <link>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959024#M21432</link>
      <description>Has anyone produced a DLL for use in an ASP? &lt;BR /&gt;I understand that the functions return types must be Variants. Since I have not done this before, If anyone has a template for doing this I will much appreciate getting it. &lt;BR /&gt; &lt;BR /&gt;Thanks, Tim H</description>
      <pubDate>Wed, 18 Jul 2001 04:21:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959024#M21432</guid>
      <dc:creator>rahzan</dc:creator>
      <dc:date>2001-07-18T04:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: DLL for ASPs</title>
      <link>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959025#M21433</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;ASP pages use VBScript (which is a subset of the full VB language).  I'm not a VBScript expert, but as far as I can tell VBScript does not support calling a routine in a DLL.  If anyone knows better..., please respond.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leo</description>
      <pubDate>Thu, 19 Jul 2001 02:26:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959025#M21433</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-19T02:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: DLL for ASPs</title>
      <link>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959026#M21434</link>
      <description>Have a Look at : &lt;BR /&gt;&lt;A href="http://p2p.wrox.com/archive/beginning_asp/2001-05/13.asp" target="_blank"&gt;http://p2p.wrox.com/archive/beginning_asp/2001-05/13.asp&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;Which amounts to the following code: &lt;BR /&gt;ASP Code (generic class works fine through a sub) &lt;BR /&gt;	set Generic = Server.CreateObject("MYOBJ.Generic") &lt;BR /&gt;	Generic.UserID = Request.Form("userid") &lt;BR /&gt;	Generic.Password = Request.Form("pwd") &lt;BR /&gt; &lt;BR /&gt;	Generic.LogIn &lt;BR /&gt;	session("agency_id") = Generic.AgencyID &lt;BR /&gt;	session("access_level") = Generic.AccessLevel &lt;BR /&gt; &lt;BR /&gt;	set Client = Server.CreateObject("MYOBJ.Client") &lt;BR /&gt;	Client.UserID = Request.Form("userid") &lt;BR /&gt;	Client.Password = Request.Form("pwd") &lt;BR /&gt;	Client.AgencyID = cint(session("agency_id")) &lt;BR /&gt;	myagency = cint(session("agency_id")) &lt;BR /&gt;	session("mycontract") = Client.FetchContractor(myagency) &lt;BR /&gt; &lt;BR /&gt;VB DLL: &lt;BR /&gt;Public Function FetchContractor(intAgencyID As Integer) As Variant &lt;BR /&gt;    On Error GoTo ErrorHandler &lt;BR /&gt; &lt;BR /&gt;    'Open connection to database &lt;BR /&gt;    ConnectRstToDatabase &lt;BR /&gt; &lt;BR /&gt;    With rst &lt;BR /&gt;        .Open "Exec SP_ContractorFetchByAgency " &amp;amp; intAgencyID &amp;amp; " " &lt;BR /&gt;        If .EOF = False Then &lt;BR /&gt;            FetchContractor = .GetRows &lt;BR /&gt;        End If &lt;BR /&gt;    End With &lt;BR /&gt; &lt;BR /&gt;    'Clean up and exit &lt;BR /&gt;    CleanUpResources &lt;BR /&gt; &lt;BR /&gt;    Exit Function &lt;BR /&gt; &lt;BR /&gt;ErrorHandler: &lt;BR /&gt;    Call RaiseError(Err.Number, "FetchContractor", Err.Description) &lt;BR /&gt;End Function</description>
      <pubDate>Thu, 19 Jul 2001 02:35:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959026#M21434</guid>
      <dc:creator>rahzan</dc:creator>
      <dc:date>2001-07-19T02:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: DLL for ASPs</title>
      <link>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959027#M21435</link>
      <description>AFAIK, Leo is correct, ASP doesn't support classic DLLs, just COM objects.  The reponses posted at the link Tim gave all seem to be focused on VB ActiveX DLLs (the hint is the Server.CreateObject calls) which are not which are not plain old DLLs.   &lt;BR /&gt; &lt;BR /&gt;With CVF, create a COM object using a dual interface and only VARIANT args.  That should get you going where you want. &lt;BR /&gt; &lt;BR /&gt;John</description>
      <pubDate>Thu, 19 Jul 2001 03:47:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/DLL-for-ASPs/m-p/959027#M21435</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-19T03:47:07Z</dc:date>
    </item>
  </channel>
</rss>

