Solved

Using a COM-dll for XP.Net in Win2k

Posted on 2002-06-03
10
197 Views
Last Modified: 2013-11-25
Hi.

I have created a simple ATL COM project using C++.Net on an XP plattform but I can't register it on a win2k plattform. Is there a way to port/build the component in order to get it running on my target machine?
0
Comment
Question by:johanjohansson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 7051187
AFAIK you need to install the .NET Runtime Libraries before you can do that.
0
 
LVL 86

Expert Comment

by:jkr
ID: 7051192
0
 
LVL 1

Author Comment

by:johanjohansson
ID: 7051193
And if I don't want to install the runtime?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:johanjohansson
ID: 7051196
And if I don't want to install the runtime?
0
 
LVL 86

Expert Comment

by:jkr
ID: 7051204
>>And if I don't want to install the runtime?

You cannot use .NET without installing the runtime - this would be like using a Windows app without windows.
0
 
LVL 1

Author Comment

by:johanjohansson
ID: 7051210
And if I don't want to install the runtime?
0
 
LVL 1

Author Comment

by:johanjohansson
ID: 7051223
That means that if I want to create a simple C++ COM thingie using VisualStudio.Net I cannot run this on ANY platform except XP (unless I prep them with .NetFramework)... That means that VC6 still is the choice when programing.
0
 
LVL 1

Author Comment

by:johanjohansson
ID: 7051227
And why does this forum keep repeating what I write????
0
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 7051236
>>That means that if I want to create a simple C++ COM
>>thingie using VisualStudio.Net I cannot run this
>>on ANY platform except XP (unless I prep them
>>with .NetFramework)... That means that VC6 still is the
>>choice when programing.

Yes.

>>And why does this forum keep repeating what I write????

Because you are using IE and have pressed the 'Refresh' button :o)
0
 
LVL 1

Author Comment

by:johanjohansson
ID: 7051239
And why does this forum keep repeating what I write????
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question