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 / Visual Studio.NET / General / August 2003

Tip: Looking for answers? Try searching our database.

Using a legacy library.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin Hart - Memory Soft, S.L. - 25 Aug 2003 18:54 GMT
Hi all:

I have a database access library written in C++ (unmanaged), complete with
source code. What I would like to do is be able to use this library in C#.
How is the best way to go about this.

Taking into consideration the library has about 80 classes, writing the
marshaled interfaces could be quite a task. Can I 'wrap' it in a managed C++
layer of some sort?

TIA,
Martin.
Mike Calcagno - 27 Aug 2003 02:34 GMT
Hi Martin.

This is something we do a lot of here at Microsoft.  Did you start with:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/ht
ml/vcManExMigrationGuidePart1_Start.asp

If that doesn't solve the problem for you, or give you enough information,
let me know and I'll look into the issue further.

Thanks!

Mike
--------------------
| From: "Martin Hart - Memory Soft, S.L." <memorysoft@infotelecom.es>
| Subject: Using a legacy library.
[quoted text clipped - 23 lines]
| TIA,
| Martin.

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note:  For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.  

Martin Hart - Memory Soft, S.L. - 27 Aug 2003 09:04 GMT
Mike:

Thanks for the info. As always there is *more* than enough information for
my needs.

Thanks again for the pointers.

Martin.

> Hi Martin.
>
> This is something we do a lot of here at Microsoft.  Did you start with:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/ht
> ml/vcManExMigrationGuidePart1_Start.asp
>
[quoted text clipped - 33 lines]
> | TIA,
> | Martin.

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.