Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsSOFTWAREProgramming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old May 7th, 2008, 01:08 PM
Knowledgestuden Knowledgestuden is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 6 Knowledgestuden User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 8 sec
Reputation Power: 0
C++ - How can VC++.net use the same library used in the C#

Hi there,
I am usually using C# in developing my applications,
but now I need to develop with VC++.net
what is to be done in order to use the library used in C#
such as when we do :
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;

so I can the use them normally,
does it work as include or there is specific syntax
Thanks in advance

Reply With Quote
  Trader Rating: 1 · #2  
Old May 7th, 2008, 01:26 PM
weevilofdoom's Avatar
weevilofdoom weevilofdoom is offline
BLURG
Dev Hardware Loyal (3000 - 3499 posts)
 
Join Date: Sep 2004
Location: Oregon
Posts: 3,453 weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)weevilofdoom User rank is General 44th Grade (Above 100000 Reputation Level)  Folding Points: 32443 Folding Title: Starter FolderFolding Points: 32443 Folding Title: Starter Folder
Time spent in forums: 2 Months 2 Days 16 h 31 m 34 sec
Reputation Power: 3902
Send a message via ICQ to weevilofdoom Send a message via AIM to weevilofdoom Send a message via MSN to weevilofdoom Send a message via Yahoo to weevilofdoom Send a message via Google Talk to weevilofdoom
try this:
Code:
#pragma once
#using <mscorlib.dll>
#using <System.dll>
#using <System.Windows.Forms.dll>

using namespace System;
using namespace System::Windows::Forms;
__________________

Last edited by weevilofdoom : May 7th, 2008 at 01:37 PM.

Reply With Quote
  Trader Rating: 0 · #3  
Old May 7th, 2008, 03:09 PM
DrStrangluv's Avatar
DrStrangluv DrStrangluv is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 206 DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level)DrStrangluv User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 5 Days 23 h 2 sec
Reputation Power: 320
In Visual Studio 2005 there is C++ and there is C++.Net. They are two different things. Make sure you create the right kind of project.

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWAREProgramming > C++ - How can VC++.net use the same library used in the C#


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT