473,407 Members | 2,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

How to use COM in Borland Turbo C++ Explorer?

Hi All,

I have a C# assembly registered with regasm.exe in the system. I need
to use this assembly via COM interop in a console application written
on Turbo C++ for Win32.
I added the TLB file and got the TLH and TLI files generated by the
Turbo C++.
So far so good, but when I tried to initialize the COM object as I
used to do in VC6 I got an error that I cannot overcome.

So there is line of code that works fine in VC6 but doesn't in Turbo C+
+:

_CutEnginePtr Calculator(__uuidof(CutEngine));

I receive the following error message:
[C++ Error] gncTestTurboCPP.cpp(20): E2108 Improper use of typedef
'_CutEnginePtr'

I would appreciate if anybody points out the way to fix the problem.

Thank you,
Oleg.

Aug 8 '07 #1
0 1227

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Danny Deen | last post by:
Hello everyone, --------------- I'm looking to buy any or all of the following MS-DOS compilers: ================================== ------------------------------------------ (I) Microsoft...
0
by: Kenneth Gomez | last post by:
Hello, I have tried many avenues (web search, borland website, libxml website) before deciding to post here. I'm trying to install libxml2 on windows ME to work with my Borland C++ 5 Compiler...
4
by: NathanAllen | last post by:
First of all to let you know I am using the following compiler: Borland C++Builder 5.5.1 with Turbo Incremental Link 5.00 When I tried to make my first GUI drawing following Lawernceville Press's...
0
by: Jaspreet | last post by:
Hi All, I want to make a Chat Server and Client program in C++ using Turbo/Borland C++ on a windows/Dos platform. if you have any info, suggestions or resources for Network programming in...
2
by: Mark | last post by:
Where can I get Borland C++ 3.1 ? or Borland Turbo C++ 3.1 for Windows (Visual Edition) I am using the code generator that requires one of these compilers. When working with that generator...
3
by: Eli Hughes | last post by:
Hello All: Does anyone know where I could find a copy of Borland Turbo C version 3.0? I have piece of embedded hardware (Lantronix Xport) that can be reprogrammed but I need an old x86 compiler...
1
by: dhruba.bandopadhyay | last post by:
Am wondering whether Borland C++ 4.5 or Borland Turbo C++ 1.01 supported C++ templates. If not, which other future version of BC++ or TC++ did? If BC++ 4.5 or TC++ 1.01 does support it, how much...
7
by: Frederick Williams | last post by:
Does anybody know where I can download Borland C++ 4.52 from? Some years ago it was available "free" on a magazine cover. So I'm hoping that it's available from somewhere without upsetting the...
4
by: Herhor | last post by:
Recently Borland has been hyping its new line of RADs called "Turbo" as an ultimate tool for beginning programmers. Are these products really match for Microsoft's "Visual Studio"?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.