Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 25th, 2007, 02:09 PM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling a C# component from C++

I am trying to call a C# component of one of our clients from C++.

I imported the type library provided to me.

When I try to compile using MSVC 6.0 compiler and I get the following error.

error C2146: syntax error : missing ';' before identifier 'GetType'
error C2501: '_TypePtr' : missing storage-class or type specifiers
error C2143: syntax error : missing ';' before 'tag::id'
error C2433: '_TypePtr' : 'inline' not permitted on data declarations
error C2501: '_TypePtr' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found.

Any information will be highly appreciated.

Thank you





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling ActiveX component method from JavaScript Pera Pisar Javascript 3 September 7th, 2007 07:58 AM
Calling com component from Asp.net 1.1 Salma Hanif Shaikh ASP.NET 1.0 and 1.1 Basics 0 June 9th, 2006 07:20 AM
Calling COM+ component from webservice yossarian .NET Web Services 0 January 17th, 2005 02:29 PM
COM component with C# sangata General .NET 3 November 5th, 2004 04:10 PM
Calling COM+ component inside another COM+ comp MSUser Beginning VB 6 3 July 7th, 2004 10:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.