p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: RE: Problem referencing C++ DLL from ASP


Message #1 by "Kumar, Pankaj" <Kumarpa@t...> on Thu, 28 Feb 2002 23:28:07 -0500
 Are you able to create instance of component?

 In Asp you can use only COM components.

 Try to register the C++ dll.If you are unable to register dll (typical

error

 "entry point not found.." ) you cann't use and you need to covert it into

 com component.



 If you are doing file handling make sure you have closed each and every

file



 hope this helps

 

-----Original Message-----

From: Melissa Mussitsch [mailto:melissa.mussitsch@a...]

Sent: Thursday, February 28, 2002 11:30 PM

To: ASP components

Subject: [asp_components] Problem referencing C++ DLL from ASP





A colleague wrote a C++ DLL that I am trying to access with ASP.  The DLL 

works fine with VB, just not ASP.



My ASP code is simply as follows:

on error resume next

Dim m_AnsLic



Set m_AnsLic = Server.CreateObject("ManGenCom.AnsLic.1")

if err.number > 0 then

	Response.Write err.description

	Response.End

end if



The page simply hangs and never comes back or prints an error messages.



Any ideas?



Melissa

 




$subst('Email.Unsub')






$subst('Email.Unsub').





**********************************************************************

This message and any attachments are intended for the 

individual or entity named above. If you are not the intended

recipient, please do not read, copy, use or disclose this 

communication to others; also please notify the sender by 

replying to this message, and then delete it from your system. 



The Timken Company

**********************************************************************


  Return to Index