Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can I create an OCX from a dll designed for C++?

Posted on 2004-09-24
6
Medium Priority
?
190 Views
Last Modified: 2010-04-01
Hi,
I've found a dll to handle image files but it is created in c++ and I don't have a great knowledge of that language. Would it be possible to use that in an ASP web page?
I don't know if I should transfer it to an Active X first. Please enlight me on that and on the ways to do so if possible.

the Dll is from http://www.smalleranimals.com/isource.htm  it is really cheap compared to others!
I need a quick answer so I put 250 pts on this one.

Thanks,
Jonthemoon
0
Comment
Question by:Jonthemoon
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 1000 total points
ID: 12143778
If you want a free soultion, chec out paintlib.de

>>Would it be possible to use that in an ASP web page?
>>I don't know if I should transfer it to an Active X first.

If you want to use it on a web page, you in fact need to use ActiveX. The page ypu linked above also lists ImgX (http://www.smalleranimals.com/isource.htm#imgx) as an ActiveX wrapper for that DLL, so why not go that way?
0
 
LVL 3

Author Comment

by:Jonthemoon
ID: 12144547
jkr,
ImgX could do the trick but I feel limited by licence restrictions.
PaintX looks real nice!! I've tried it from VB and it looks great.

How could I use it to output a picture to a web page?

-JTM
0
 
LVL 3

Author Comment

by:Jonthemoon
ID: 12144584
I should think before posting...

I'll try to save it to disk then display it.
Give ya some news after...

-JTM
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question