| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VC++ 2003 to VC++ 2005
Hi,
We are trying to bring some C++ and VB.NET projects created in VS 2003 into VS 2005 and for some reason the VB.NET code can no longer recognize our C++ code when we import it. Whenever we try to import the namespaces we defined in our C++ code into our VB.NET code, it says the namespaces cannot be found; however, it's very confusing because we can see the C++ namespaces in the Object Browser. We are C++ novices and totally new to 2005 - so any help would be GREATLY appreciated. We are desperate. Please help. Thank you!!! Joy |
|
#2
|
||||
|
||||
|
Re: VC++ 2003 to VC++ 2005
What kind of C++ code is it? Are you pinvoking to a C DLL or was the C++ code a Managed C++ assembly?
If the latter, can you compile and rebuild the Managed C++ assembly? If so, you might have to delete the reference to it in the VB project and re-add a new reference.
__________________
Arjay Need a little help with Win32 thread synchronization? Check out the following CG articles and posts: Sharing a thread safe std::queue between threads w/progress bar updating Simple Thread: Part I Simple Thread: Part II Win32 Thread Synchronization, Part I: Overview Win32 Thread Synchronization, Part 2: Helper Classes www.iridyn.com
|
|
#3
|
|||
|
|||
|
Re: VC++ 2003 to VC++ 2005
Hi,
I'm sorry, it never notified me that you responded and I had trouble finding my way back here again. And we're using a C++ Managed assembly but rebuilding it doesn't help - what are we missing? Thanks for your help! Joy |
|
#4
|
||||
|
||||
|
Re: VC++ 2003 to VC++ 2005
Did you try deleting the reference to the managed C++ assembly and readding it in your VB.Net project?
__________________
Arjay Need a little help with Win32 thread synchronization? Check out the following CG articles and posts: Sharing a thread safe std::queue between threads w/progress bar updating Simple Thread: Part I Simple Thread: Part II Win32 Thread Synchronization, Part I: Overview Win32 Thread Synchronization, Part 2: Helper Classes www.iridyn.com
|
|
#5
|
|||
|
|||
|
Re: VC++ 2003 to VC++ 2005
Yes I did - so I take it this shouldn't be a problem for me??
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|