473,385 Members | 1,553 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,385 software developers and data experts.

visual studio .net c++ projects

Hello,

I hope there is a solution to this.

I am required to develop a service application using Visual Studio
..NET.

I am required to develop it using C++.

Originally we set out using Visual Studio .NET 2003. But for the
database bugs in this framework, this environment supports Windows
Service project type for the C++ language.

I currently have a solution prepared and (mostly) working but for the
..NET framework database bugs.

The application requires Visual Studio .NET and the Service Pack 2 in
support of key database connection patches.

Unfortunately there is no Service Pack for VS.NET 2003 or the decision
would be easy to remain using 2003.

There does not appear to be a Windows Service project available in the
C++ language?!

Is it easy to add such a project type? Or do I simply start from a
blank project and copy over any source code that supported the VS.NET
2003 solution?

If necessary I'll use the C# language since this seems to be
outweighed by framework robustness where database connectivity is
concerned. And the C# is close enough to C++ to make the migration not
as painful.

Any similar experiences would be appreciated.

Best regards,
Michael Powell
Nov 17 '05 #1
1 1526
Mike wrote:
Hello,

I hope there is a solution to this.
It took a few readings to figure out which products you're talking about in
each sentence, but I hope I've understood your question correctly...

I am required to develop a service application using Visual Studio
.NET.
VS.NET 2002....
I am required to develop it using C++.

Originally we set out using Visual Studio .NET 2003. But for the
database bugs in this framework, this environment supports Windows
Service project type for the C++ language.
.... .NET framework 1.1 that VS.NET 2003 supports. What bugs might these be,
by the way? In general I've found 1.1's database support to be superior to
1.0's support.
I currently have a solution prepared and (mostly) working but for the
.NET framework database bugs.
..NET 1.1 framework, that is.
The application requires Visual Studio .NET and the Service Pack 2 in
support of key database connection patches.
..NET Framework 1.0 Service Pack 2 and VS.NET 2002.
Unfortunately there is no Service Pack for VS.NET 2003 or the decision
would be easy to remain using 2003.

There does not appear to be a Windows Service project available in the
C++ language?!
.... VS.NET 2002.
Is it easy to add such a project type? Or do I simply start from a
blank project and copy over any source code that supported the VS.NET
2003 solution?
It's not easy to add a project type, but there's nothing magic about project
types - they're simply templates that get you started. Simply copying your
..NET 1.1/VS.NET 2003 solution files into a net .NET 1.0/VS.NET 2002 project
is certainly a good place to start. Since VS.NET 2002 didn't (apparently)
support a Windows Service project type for managed C++, there may be
something that prevents it from working - that I don't know.

You could, of course, build a traditional native Windows Service, using
OLE-DB or ADO or ODBC to access your database and get away from using the
..NET framework at all.

If necessary I'll use the C# language since this seems to be
outweighed by framework robustness where database connectivity is
concerned. And the C# is close enough to C++ to make the migration not
as painful.


That's certainly another option.

-cd
Nov 17 '05 #2

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

Similar topics

19
by: Alf P. Steinbach | last post by:
// As usual the error message directs one to the report the bug. // // And as usual there is absolutely no way to do so without paying for // the privilege... // // Or using three or four hours...
26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio...
11
by: Larry Bird | last post by:
I'm attempting to build my first VC++ .net project and I'm unable to get a clean compile. Please view code below: // This is the main project file for VC++ application project // generated...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
3
by: Shapper | last post by:
Hello, I am starting 2 new projects to deliver in January 2006. I want to create them in Asp.Net 2.0 using Visual Studio 2005. All my clients web sites are Visual Studio 2003 projects in...
1
by: Andy | last post by:
This is driving me to insanity!!! I do not have a lot of experience with IIS which probably is not helping but as far as I can tell I am do things as per the MSDN documentation. I have a...
2
by: clintonb | last post by:
Using Visual Studio 2005, I created a new website: File->New->Web Site and chose the ASP.Net Web Site template. Saved it in location c:\Projects\GCSLRMS_DotNet\WS\WebSite1. It created the...
4
by: rohinichandrap | last post by:
Hi , I have quite a few questions about Visual Studio :Net 2003 and clear case Could anyone please help me with the answers. I have converted a workspace abc.dsw from visual studio 6 to...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.