开发者

How to create Dll for VS08 which were made earliar in VS06

开发者 https://www.devze.com 2023-04-05 11:04 出处:网络
I Have a DLL which开发者_如何学Go is made in vs6. Now I want to create that Dll in VS2008. So that all the functionality remains same.It shouldn\'t be too terrible, though the fact you\'re coming from

I Have a DLL which开发者_如何学Go is made in vs6. Now I want to create that Dll in VS2008. So that all the functionality remains same.


It shouldn't be too terrible, though the fact you're coming from VS 6 tells me it's a desktop DLL that you're trying to build for CE.

The first steps are easy:

  1. Install an SDK for your target processor architecture.
  2. Create a brand-new Project (don't try upgrading the existing)
  3. Add the existing header and code files to the project
  4. Compile

The next step is to fix whatever errors you get, but we have no idea what you'll hit. Maybe the code is using ASCII Win32 calls that are not supported in CE> Moving to the wide-character versions is pretty easy. Maybe it's using APIs that simply don't exist in CE. In that case, it's going to be much harder to port. Only you will know because only you have the code.


It looks like your VS2008 doesn't support Windows CE platform. You need to add it to VS2008. And a platform name in VS2008 should match to the platform name in VS6. Otherwise you will get an error.


I think you mean Visual Studio 6, right?

If yes, then try opening the vcproj file(or your workspace file having extension .dsw) with VS2008. A Migration wizard will pop up. Migrate the project and then come back and post the problems you face while building the project with VS2008.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号