Thanks for the response.

I have version 6 as well as the 2005 beta versions.
What would be the better one for this type of project?


What I have been tasked to do is create a DLL that can be called by an ASP
page to create a thumbnail image of an uploaded image. The app has to report
the size of the uploaded image too. I have been playing around with GDI+ and
it does the job quite nicely. The server is running 2003 server so DGI+ is
available too.

I assume that ASP can call GDI+ directly too but as this might be used to
batch images before processing, speed is an issue.

Hylton
----- Original Message ----- 
From: "Paul Grenyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 27, 2004 12:09 PM
Subject: Re: [msvc] Starting point needed


> Hi
>
> > I need to write a DLL that can be called from an asp page. From reading
I
> > understand that this DLL/class has to be registered on the
> > server. I am under the impression that it has to be a COM object in the
> > DLL. I have not done anything with COM before and am in
> > need of a starting point. There is a lot of functions in the MSDN for
COM
> > but I have found very little in the line of what sequence they
> > need to be used. A lot of examples that I have found appear only to use
a
> > COM object but not many appear to create a COM object.
> >
> > I have seen CoCreateInstance called in some samples. Is it called when
> > creating a COM object as well as when using one? If called
> > when creating one, what is the value of  REFCLSID rclsid (First
> > Parameter).
> >
> > Secondly what is the easiest way to start this project. Do I use ATL
> > (another new one for me) or is it possible to do this without ATL..
> > I would prefer not to use MFC in this project.
> >
> > Waffle aside, what I am looking for is a place to start to be able to
take
> > hold of this task and get started. Once going I am sure it will be
> > an interesting learning curve.
>
> Yes, it is a COM DLL you need. ATL is the easiest way to go and you are
> right to not want MFC. That's the easy bit.
>
> COM is a big subject and most people find it very difficult, although it
> isn't really to do simple stuff. I'd recomend you get a good reference
such
> as Beginning ATL Programming from Wrox Press.
>
> If you have some more details of what you want to do I may be able to
knock
> you up and example project. Which version of MSVC are you using?
>
> Regards
> Paul
>
> Paul Grenyer
> email: [EMAIL PROTECTED]
> web: http://www.paulgrenyer.co.uk
> Elephant: http://www.paulgrenyer.dyndns.org/elephant/
>
> I put my hand upon the lever, said let it rock and let it roll.
>
>
> _______________________________________________
> msvc mailing list
> [EMAIL PROTECTED]
> See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for
subscription changes, and list archive.


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to