473,396 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to call dll in ASP?

I want to write a dll using VB6/VC6 and used by ASP.
Questions are:

1. what special requirements for the dll used by ASP?
2. after built dll, how to use it in ASP? Where I should
save the dll? Do I need to register the dll?

Any article/link related to my question? the sample code?

Thanks
Jul 19 '05 #1
3 29756
Once you've created and registered your DLL it works like
any other object/component.

dim objMyDLL
set objMyDLL = server.createObject("projectName.className")
objMyDLL.method()
set objMyDLL.property = "abc"

Wrox has an excellent book on this exact topic.

Michael

-----Original Message-----
I want to write a dll using VB6/VC6 and used by ASP.
Questions are:

1. what special requirements for the dll used by ASP?
2. after built dll, how to use it in ASP? Where I should
save the dll? Do I need to register the dll?

Any article/link related to my question? the sample code?

Thanks
.

Jul 19 '05 #2
Read my article,
http://www.macronimous.com/resources...asp_vb_dll.asp
Benny
"Michael" <MS******@RuntimeWebDev.com> wrote in message
news:05****************************@phx.gbl...
Once you've created and registered your DLL it works like
any other object/component.

dim objMyDLL
set objMyDLL = server.createObject("projectName.className")
objMyDLL.method()
set objMyDLL.property = "abc"

Wrox has an excellent book on this exact topic.

Michael

-----Original Message-----
I want to write a dll using VB6/VC6 and used by ASP.
Questions are:

1. what special requirements for the dll used by ASP?
2. after built dll, how to use it in ASP? Where I should
save the dll? Do I need to register the dll?

Any article/link related to my question? the sample code?

Thanks
.

Jul 19 '05 #3
Benny,

Good article for newbies at COM like me.

Thanks
Mike

"Benny Alexander" <ag_BennyREMOVETHIS@Yahoo-Remove_This.com> wrote in
message news:uE**************@TK2MSFTNGP10.phx.gbl...
Read my article,
http://www.macronimous.com/resources...asp_vb_dll.asp
Benny
"Michael" <MS******@RuntimeWebDev.com> wrote in message
news:05****************************@phx.gbl...
Once you've created and registered your DLL it works like
any other object/component.

dim objMyDLL
set objMyDLL = server.createObject("projectName.className")
objMyDLL.method()
set objMyDLL.property = "abc"

Wrox has an excellent book on this exact topic.

Michael

-----Original Message-----
I want to write a dll using VB6/VC6 and used by ASP.
Questions are:

1. what special requirements for the dll used by ASP?
2. after built dll, how to use it in ASP? Where I should
save the dll? Do I need to register the dll?

Any article/link related to my question? the sample code?

Thanks
.


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: hasho | last post by:
Why is "call by address" faster than "call by value"?
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
4
by: John | last post by:
Hi all, This really is quite an urgent matter. I have a page with multiple, dynamically-loaded user controls and when a user clicks on a button, the whole form is submitted. Now at this stage...
5
by: Amaryllis | last post by:
I'm trying to call a CL which is located on our AS400 from a Windows application. I've tried to code it in different ways, but I seem to get the same error every time. Does anyone have any clue...
13
by: mitchellpal | last post by:
i am really having a hard time trying to differentiate the two..........i mean.....anyone got a better idea how each occurs?
7
by: archana | last post by:
Hi all, I am having application in which i am doing asynchronous call.I am using manualresetevent to wait for asynchronous call to complete. I want to stop asynchronous call after certain...
13
by: shsingh | last post by:
I have a class A containing some map as data variables. I creat an object of class A on heap by allocatiing memory by using "malloc". This will return me the required memory but the object is not...
46
by: Steven T. Hatton | last post by:
I just read §2.11.3 of D&E, and I have to say, I'm quite puzzled by what it says. http://java.sun.com/docs/books/tutorial/essential/concurrency/syncrgb.html <shrug> -- NOUN:1. Money or...
3
by: cberthu | last post by:
Hi all, Is it possible to have two connects in the same rexx script to different DB's? I have to get data form on DB (with specifics selects and filter out some values with RExx) and save the...
9
by: CryptiqueGuy | last post by:
Consider the variadic function with the following prototype: int foo(int num,...); Here 'num' specifies the number of arguments, and assume that all the arguments that should be passed to this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.