×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Register com exe on client

Register com exe on client

Register com exe on client

(OP)
I have been trying to register a com exe on a Windows 8.1 32 bit computer
The development computer is Windows 7 64 bit
I place the file in the Windows\System32 folder in the target computer
open elevated command prompt
for good measure cd to Windows\System32 folder
type C:\Windows\System32\mycomserver.exe /RegServer
and press enter
There is no conformation

Then when I run the com server I get an error 'Class Name not found'

I have a single class library named the same as the project. There is a custom class lets say called 'TestCom'
I have tested the com exe and it works fine in development.

Alastair

RE: Register com exe on client

Win32 programs go into syswow64, but you shouldn't actually put your EXE to the system, it isn't a system feature.

So install where you want.

But the important thing is: The runtimes have to exist in the same folder! a COM Server EXE also isn't standalone. And it also needs the vfp9r.dll plus Ct++ runtimes at minimum.
And then, yes, this call with /regserver has to be done elevated.

So you do that call within a setup, for example, or as you did in the elevated command prompt.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

RE: Register com exe on client

(OP)
All working,thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close