C
CaptainKS
Has anyone ever been able to change the classname for a C# (or even
VB.NET) standalone app?
Using Spy, I can see that the classname .NET gives the app is
"WindowsForms10.Window.8.app*", but I have been unsuccessful and I
haven't seen anyone else who's done it either.
Here's why I'm asking....
SETUP
1 C++ COM DLL who sends messages to an app of the classname
"MyMonitorApp" via SendMessage.
1 C++ MFC EXE who registers it's name as "MyMonitorApp" using the
RegisterClass() call.
TODO
I am attempting to replace ONLY the EXE with a newer .NET version
(the DLL is compiled in too many projects to make a change there right
now).
PROBLEM
The classname. Right now the DLL looks for a specific classname and
..NET assigns one, and won't allow it to be changed (that I know of).
Hewwwp! And, thanks in advance!!
Kurt Snyder
(e-mail address removed)
VB.NET) standalone app?
Using Spy, I can see that the classname .NET gives the app is
"WindowsForms10.Window.8.app*", but I have been unsuccessful and I
haven't seen anyone else who's done it either.
Here's why I'm asking....
SETUP
1 C++ COM DLL who sends messages to an app of the classname
"MyMonitorApp" via SendMessage.
1 C++ MFC EXE who registers it's name as "MyMonitorApp" using the
RegisterClass() call.
TODO
I am attempting to replace ONLY the EXE with a newer .NET version
(the DLL is compiled in too many projects to make a change there right
now).
PROBLEM
The classname. Right now the DLL looks for a specific classname and
..NET assigns one, and won't allow it to be changed (that I know of).
Hewwwp! And, thanks in advance!!

Kurt Snyder
(e-mail address removed)