Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

C++ and Win32 Console projects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chieko - 10 Jul 2006 17:00 GMT
Hello,
Would someone know the difference between a C++ console project and a Wind
32 project?
I have a C++ console application that uses the MatLab engine and I would
like to retrieve information from a sql server database using ado.net but the
ado code only works in a Win32 environment.

Thanks so much,
Chieko
pvdg42 - 10 Jul 2006 19:35 GMT
> Hello,
> Would someone know the difference between a C++ console project and a Wind
[quoted text clipped - 6 lines]
> Thanks so much,
> Chieko

Which kind of console application are you referring to?

In VS 2005, you have:

CLR Console Application, and
Win32 Console application

If you have an application that was created using a different IDE, or from
an *empty* console project in VS, there is no support included automatically
for the Win 32 API, MFC, the .NET Framework or any library for C++ that will
allow you to interface conveniently with SQL Server or any other DBMS.

Does your console application run in a Win 32 environment now, or is it
built for some other platform?
chieko - 11 Jul 2006 13:10 GMT
I'm using the VS 2003 and I found an ATLShape.exe example that does what I
would like to do. I also found a db_command reference that I think I can use
in a win32 console project where my MatLab Engine resides.
My question might have been a little confusing, but I did some searching and
found the answer.
I only needed the ole db code necessary to connect to a sql database in a
win32 console project.
Thanks,
Chieko

> > Hello,
> > Would someone know the difference between a C++ console project and a Wind
[quoted text clipped - 21 lines]
> Does your console application run in a Win 32 environment now, or is it
> built for some other platform?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.