Solved

Converting a BSTR FAR* into CString

Posted on 1998-11-25
2
238 Views
Last Modified: 2013-11-20
From what i have seen and used, basically.  There are always components that you can add to ASP to make it match any other CGI/PERL script.  By itself, it cannot replace those, but with the addons and the "component" structure it employs, yes, it could very possibly replace CGI/PERL.

BUT,  I don't think it will.  People are to familiar and like CGI/PERL.  
.
As MasseyM says, you could substitute ASP for Perl/CGI. But why would you want to?

The real problem is that ASP is a proprietary development method that's pretty much limited to microsoft's web server.The O'Reilly web server has an ASP implementation and there are a few weak attempts at Unix ports, but mostly ASP is Windows/IIS only.

Compare ASP to established, open development methods like CGI and Perl. Perl is widely used... in fact it's probably the MOST widely used web development language of all. Easy to learn, but with the power of C++ for those who need it. CGI apps (and WIN-CGI) can be designed to run nearly unchanged regardless of what web server software and operating system they are running on. ASP can't do that.

Even with the benefits of being open, free and cross-platform, I personally like Perl and CGI because of the vast libraries of tools, documentation and modules already written. There are far more collections of Perl and CGI scripts available than ASP scripts... I dunno about you, but I'd rather use someone else's code than write from scratch... THAT is where perl and CGI really outshines ASP for me. Most of the web apps I need to develop can be built in perl using a modules from CPAN and a few lines of custom code. If you add an embedded Perl method to your web server (wuch as ePerl or embperl) you can stick perl code directly in your html documents without having to write separate CGI scripts.
.
Okay Okay, Wait...
I working in IIS enviroment and dont give for other WEB servers.
In that case dose ASP is the best choice?

.
As my answer above states.  YES.  It is designed specifically for IIS and works just as well if not better on the NT servers.
.
..asp when implemented properly, *and* extended works well.
Perl however IS the best thing to use (unless you hook up
C to your webengine).  You can get Activestate Perl for IIS
and that gives you everything you need.

.
Okay, I had my answers, How to I grade the answer and give you the points?

.
I assume that you are talking to me? If so, you can grade this question.  Please if you have another question about ASP, please let me know. You can email me at masseym@hotmail.com


.
0
Comment
Question by:toblo
2 Comments
 
LVL 3

Accepted Solution

by:
stefanr earned 50 total points
Comment Utility
Just use the built-in assignment operator for wide-character strings:

CString strFileName = *FileName;
0
 

Author Comment

by:toblo
Comment Utility
I KNEW there was a simple answer.. DANG! :)
You wouldn't believe the unlikely things I tried!

thanks
/Toblo
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now