473,769 Members | 6,404 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1543
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
3555
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 to find the _current_ reporting page... #include <vector> #include <iostream>
26
10882
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 compiles the same solution much faster (about 10 seconds for the first project). My home computer is only marginally faster than the one I have at the office (P4 2.53 vs. P4 2.4, same amount of RAM). On the slow machine, the CPU usage is very low,...
11
1865
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 using an Application Wizard. #include "stdafx.h" #using <mscorlib.dll>
3
1958
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 appears that the project files get created in the URL specified Location field on the New Project dialog box. This makes sense to me. What is confusing is that the solution file gets created in a folder with the same name as the location folder (the...
3
2315
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 Asp.Net 1.1 / VB.NET. These web sites use Access Databases and NOT Microsoft SQL 2000. In the future I will need to make a few changes now and then to this web sites.
1
7090
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 solution in Source Safe that I want to add some web service projects to. I create a folder under my solution folder for the new web service project. I create a virtual directory using IIS and accept the default settings for security etc.
2
1839
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 solution file: C:\Documents and Settings\clintb.GCSSOFTWARE\My Documents\Visual Studio 2005\Projects\WebSite1\WebSite1.sln I didn't want it there. I wanted it the same folder as all the other
4
4636
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 visual studio .Net 2003 which has three projects a.dsp,b.dsp,c.dsp.
1
3601
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 some files and work on it. Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer, connected to websiteOrder.sln located in Visual Source Safe 6.0(source safe located in another...
0
7335
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 beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who don't know how to use the IDE for best results. Visual Studio automatically creates a number of...
0
9587
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9993
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.