Solved

Using a COM-dll for XP.Net in Win2k

Posted on 2002-06-03
10
196 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
Industry Leaders: 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

738 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