Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

ASP/ActiveX Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Gabriel - 26 May 2005 14:43 GMT
I have set up a website and am testing ASPs. I have created
a very simple ActiveX component with two interfaces:

    AboutBox() - displays  About details
    calcpi()   - returns   3.14159

Here is my configuration (All the most up to date versions
except for Visual C++):

 Windows XP (Home Edition).
 Visual C++ 6.0
 Apache Webserver
 SUN ASPONE  
 Internet Explorer

When I use ATL COM Appwizard to create my ActiveX
component (DLL really), I can get the following
to work quite easily:

<%
   Set x =Server.CreateObject("AC.AcCtrl.1")

   x.calcpi()    
%>

However, when I use MFC ActiveX Control Wizzard to create
my ActiveX (.ocx really) component, the above does not
work. Well, the instantion of the x object appears to
work but I obtain the following error when I try to
invoke x.calcpi():

              error '8000ffff'

              /t.asp, line 4

Can anyone tell me what they think is happening here?

 Possible problems: Internet Explorer ?
                    ActiveX Wizzard   ?
                    XP Home Edition   ?
                    SUN ASPONE        ? (least likely)

Please don't ask me to use the latest Express Edition of
Visual C++ (It's an abortion).

Don't know if this is the right place for this question but no activity seems
to be going on in the ASP forum...

Thanks,
John Gabriel
John Gabriel - 28 May 2005 16:53 GMT
Found out these are not supported by ASP ONE. What is strange though is that
the ATL COM DLLs do work in ASP but the Activex MFC components do not.

"ActiveX DLL files are not supported. For more information, visit the Sun
ONE Active Server Pages Web site at http://www.chilisoft.com"

> I have set up a website and am testing ASPs. I have created
> a very simple ActiveX component with two interfaces:
[quoted text clipped - 46 lines]
> Thanks,
> John Gabriel

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.