VC++ code generation: Error: IDE support for VC++ cannot be instantiated
TN: 7978
RODUCT: Rose 98i, 2000
OS: Windows NT
DEFECT #: N/A
PATCH #: N/A
REFERENCES: N/A
CREATED: 04/06/1999
REVISED: 01/19/99
SUMMARY:
When trying to generate code, log shows one or both of the following errors:
Unable to get class information from the Microsoft Visual C++ IDE.
-and-
Error: IDE support for VC++ cannot be instantiated.
1) Start MS Visual C++ once after installing Rose and before trying to
use Rose.
Defect 142284 - Must run Microsoft Visual Studio one time before VC++
addin RTE will work
The installation of Microsoft Visual C+ does NOT enter it into
the registry as a COM server. You must run it once for it to appear in
the registry. (Defect marked as fixed, but have reports back from
customers that this was still necessary in some instances).
2) If there are more than one instances of the VC++ IDE running,
you will get this error. Solution is to close down all VC++
instances. The "Update Model from Code..." will restart VC++ for
you. Use task manger (ctrl-alt-del) and make sure msdev is not
running.
3) Another possible cause, make sure files are not marked read-only:
"We are using a version control system and when I don't have the
files locked they are marked as read only. As soon as I remove
the read only flag from all files that are part of the model it
works fine."
4) If you are still getting this error, it may be due to a zombie.
A zombie is a process running in the background that shouldn't be.
This can happen if code generation was aborted or othewise prematurely
terminated. To eliminate this as a possible source, close down all
applications and reboot, then retest.
If problem persists:
5) Make sure there is not a problem with this particular project.
Close everything down and start MSDEV and load the same
workspace from there. If MSDEV displays a message box with any
errors, then Rose will not be able to open this project either.
Rose doesn't deal with this situation where MSDEV is telling it
there is something wrong with the project.
6) Reinstall Visual C++.
When all else fails this usually corrects the problem.
7) In some cases it has been found that long path names to Rose
files cause this problem.
To eliminate this as a possiblitity shortening the path to the
dlls, i.e. Uninstall Rose from C:\Program Files\Rational and
install to C:\Rational.
Note that we have not been able to reproduce this problem here
but one suspected cause of this problem may be if you are on NT
with a NTFS drive and you have 8.3 filename support turned off.
This is controlled by the following registry setting:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
NtfsDisable8dot3NameCreation = 1
It has been found in other cases that having this turned off will
cause some DLL calls to fail.
If you have tried the other suggestions in this technote and still
have this problem, check this setting.
Here is a MicroSoft technical note telling you how you turn it
off 8.3 support. To turn it back on set reg entry back to 0.
Q121007
How to Disable the 8.3 Name Creation on NTFS Partitions
http://support.microsoft.com/support/kb/articles/Q121/0/07.asp
If you had this turned off, turn it back on. You still may need
to install Rose again, but if this is the source of the problem
you can now use the long path name.
8) Rose 98 (not applicable to latter versions of Rose)
Defect 143334 - Unable to CodeGen with VC++ if Minimal Install was USED.
1. Complete a Minimal Install of Rose
2. Create a model and add it to a VC++ component.
3. Attempt to Update Code and notice that a Sumamry/Log error displays "IDE
Support for VC++ can not be instantiated"
This defect only occurs with VC++. VB behaves correctly.
Patrick Kennedy
Rational Support
On Apr 24, 7:30, Jean-Yves Garneau wrote:
> Subject: R�p. : RE: (ROSE) IDE for VC++ problem
>
> The problem is still there !
>
> All Add-ins are there, the Rose add-in in VC++ environment and the VC++
> in the Rose environment. I have remove and add add-ins with no result !
>
> Jean-Yves Garneau
> Analyste-programmeur
> Centre de Recherche Industrielle du Qu�bec
> T�l.: (418) 659-1550 Poste 2903
>
>
> >>> <[EMAIL PROTECTED]> 04/23 10:26 am >>>
>
> Is the Rose AddOn in the VC++ IDE installed and loaded?
>
> Had the same problem with VB some time back. Letting the AddOn load at
> Startup of VB did the trick.
>
> J�rg Niederberger
> E-Mail: [EMAIL PROTECTED]
> Web: www.team-brendel.com
>
> Team Brendel AG
> Bordeaux Strasse 5-7
> CH-4053 Basel
> Tel.: +41-(0)61-3383-737, Direkt -795
> Fax: +41-(0)61-3383-738
>
> -----Original Message-----
> From: Jean-Yves Garneau [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 23. April 2001 14:46
> To: [EMAIL PROTECTED]
> Subject: (ROSE) IDE for VC++ problem
>
>
> Hello,
>
> When Update model from code, Rose says: Error: IDE support for VC++
> cannot be instantiated. Last week work fine ! Do you have an idea what's
> wrong ?
>
>
>
> Jean-Yves Garneau
> Analyste-programmeur
> Centre de Recherche Industrielle du Qu�bec
> T�l.: (418) 659-1550 Poste 2903
>
>
>
> [ Attachment (text/x-html): 2831 bytes
> Character set: ISO-8859-1
> HTML
> Encoded with "quoted-printable" ]
>-- End of excerpt from Jean-Yves Garneau
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************