473,396 Members | 1,767 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.

Call a standard DLL from ASP?

Is there a third-party product or something that will allow me to call a
standard DLL (not a COM DLL) from ASP code?

--Dave
Jul 19 '05 #1
7 2684
Visual Basic.

A common solution. Get a VB developer to write you a wrapper DLL that
exposes the COM object model and passes the calls through.

Chris.

"Dave Navarro" <da**@dave.dave> wrote in message
news:MP************************@news-40.giganews.com...
Is there a third-party product or something that will allow me to call a
standard DLL (not a COM DLL) from ASP code?

--Dave
Jul 19 '05 #2
In article <eY*************@tk2msftngp13.phx.gbl>, chris@blue-
canoe.co.uk.NOSPAM says...
Visual Basic.

A common solution. Get a VB developer to write you a wrapper DLL that
exposes the COM object model and passes the calls through.


Yuck! I could do that myself, but VB has so much overhead that calling
a VB created COM control would probably kill my server performance.

I may see if I can find a C++/C# programmer to create such a product for
me.

--Dave
Jul 19 '05 #3
I believe that it is possible to do with C++ but not that easy and I'm hurt
that you should feel that way about my favourite language (VB).

:)

I'm sure there is some overhead but VB 6.0 still seems to be pretty fast for
small DLL's although I've never done any speed trials of course.

Anyway, here is a link to three methods of allowing C++ DLL's to be used
within VB (eg. COM).
http://www2.ari.net/tobywan/DllIntro.html

LoL.

Chris.
"Dave Navarro" <da**@dave.dave> wrote in message
news:MP************************@news-40.giganews.com...
In article <eY*************@tk2msftngp13.phx.gbl>, chris@blue-
canoe.co.uk.NOSPAM says...
Visual Basic.

A common solution. Get a VB developer to write you a wrapper DLL that
exposes the COM object model and passes the calls through.


Yuck! I could do that myself, but VB has so much overhead that calling
a VB created COM control would probably kill my server performance.

I may see if I can find a C++/C# programmer to create such a product for
me.

--Dave
Jul 19 '05 #4
"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
I believe that it is possible to do with C++ but not that easy and I'm hurt that you should feel that way about my favourite language (VB).

:)

I'm sure there is some overhead but VB 6.0 still seems to be pretty fast for small DLL's although I've never done any speed trials of course.


My bet is most Server Components are written in VB.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #5
Chris Barber wrote:
I believe that it is possible to do with C++ but not that easy and
I'm hurt that you should feel that way about my favourite language
(VB).

:)

I'm sure there is some overhead but VB 6.0 still seems to be pretty
fast for small DLL's although I've never done any speed trials of
course.


MS has:
http://msdn.microsoft.com/library/en...ocu2kbench.asp

--
HTH,
Bob Barrows - ASP MVP
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #6
Well, C/C++ *is* my favorite language - except when it comes to COM dlls
which I never do in C++. VB just makes it too easy - and the wrapper
approach works fine for me.

"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
I believe that it is possible to do with C++ but not that easy and I'm hurt that you should feel that way about my favourite language (VB).

:)

I'm sure there is some overhead but VB 6.0 still seems to be pretty fast for small DLL's although I've never done any speed trials of course.

Anyway, here is a link to three methods of allowing C++ DLL's to be used
within VB (eg. COM).
http://www2.ari.net/tobywan/DllIntro.html

LoL.

Chris.
"Dave Navarro" <da**@dave.dave> wrote in message
news:MP************************@news-40.giganews.com...
In article <eY*************@tk2msftngp13.phx.gbl>, chris@blue-
canoe.co.uk.NOSPAM says...
Visual Basic.

A common solution. Get a VB developer to write you a wrapper DLL that
exposes the COM object model and passes the calls through.


Yuck! I could do that myself, but VB has so much overhead that calling
a VB created COM control would probably kill my server performance.

I may see if I can find a C++/C# programmer to create such a product for
me.

--Dave

Jul 19 '05 #7
At the last Microsoft Event that I went to back in July I had a chance
to talk with an MS rep about it. His opinion was that VB componants for
IIS are fine when you're hosting your own server with just a few
domains, but you don't want to use it on a production or high volume
server.

I have seen that effect myself... I installed a couple of VB created
componants on my web server previously and saw performance drop
considerable when they were used on popular sites. The fact that VB has
to load an instance of the runtime (the data segment, not the code
segment which is only loaded once and mapped into each instance) for
each connection can use up your physical memory rather quickly.

I'm certaintly not putting down VB, which I have used in the past and
will use in the future. But it's not a "panacea" for all forms of
software development.

--Dave

In article <eI**************@TK2MSFTNGP10.phx.gbl>, chris@blue-
canoe.co.uk.NOSPAM says...
I believe that it is possible to do with C++ but not that easy and I'm hurt
that you should feel that way about my favourite language (VB).

:)

I'm sure there is some overhead but VB 6.0 still seems to be pretty fast for
small DLL's although I've never done any speed trials of course.

Anyway, here is a link to three methods of allowing C++ DLL's to be used
within VB (eg. COM).
http://www2.ari.net/tobywan/DllIntro.html

LoL.

Chris.
"Dave Navarro" <da**@dave.dave> wrote in message
news:MP************************@news-40.giganews.com...
In article <eY*************@tk2msftngp13.phx.gbl>, chris@blue-
canoe.co.uk.NOSPAM says...
Visual Basic.

A common solution. Get a VB developer to write you a wrapper DLL that
exposes the COM object model and passes the calls through.


Yuck! I could do that myself, but VB has so much overhead that calling
a VB created COM control would probably kill my server performance.

I may see if I can find a C++/C# programmer to create such a product for
me.

--Dave

Jul 19 '05 #8

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

Similar topics

15
by: chirs | last post by:
I am trying to understand a piece of code. In a javascrpit file, there is a function: function ItemStyle(){ var names=; addProps(this,arguments,names,true); }; In the html file, it calls...
7
by: Tim ffitch | last post by:
Hi I have created a VB dll file that contains common functions I use across various projects in VB, Access and Excel. Rather than have to code the functions in each I decided to use the dll...
35
by: hasho | last post by:
Why is "call by address" faster than "call by value"?
5
by: Seong-Kook Shin | last post by:
Hi, I'm reading Steve's "C Programming FAQs" in book version, and have two question regarding to Q11.16 ... Also, a `return' from `main' cannot be expected to work if data local to main might be...
18
by: AlexanderVX | last post by:
How do I write a constructor mehtod call in this case /*-----------*/ template<typename Tclass CObjectPoolImpl { public: void smth(T* pObj) { if (pObj)
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...
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...
7
by: cppquester | last post by:
What does this code do? #include <iostream> class A { public: A() { std::cout << "A::A()" << std::endl;} };
12
by: Rahul | last post by:
Hi Everyone, I have the following code and i'm able to invoke the destructor explicitly but not the constructor. and i get a compile time error when i invoke the constructor, why is this so? ...
6
by: RandomElle | last post by:
Hi there I'm hoping someone can help me out with the use of the Eval function. I am using Access2003 under WinXP Pro. I can successfully use the Eval function and get it to call any function with...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.