Unmanaged code to call managed code
-
:confused:I have an app which uses SDI and is written in MFC for its presistence it uses a STL vector. I need to migrate to managed C++ by changing my container to a managed container. I have tried System.Array that didn't work, and either did wrapping the vector. can you please provide a good idea I'm out of ideas. Sul,R.
Upcoming developer only 2.5 months to go -
:confused:I have an app which uses SDI and is written in MFC for its presistence it uses a STL vector. I need to migrate to managed C++ by changing my container to a managed container. I have tried System.Array that didn't work, and either did wrapping the vector. can you please provide a good idea I'm out of ideas. Sul,R.
Upcoming developer only 2.5 months to goSystem::Array will not provide the STL vector style container. Consider System::Collection::ArrayList. You can derive from the ArrayList and add new methods which match the STL::vector to make the porting easier. If you still have problems, then post some codes. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.