Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example #37

Open
keithbaenre opened this issue Jan 28, 2021 · 6 comments
Open

Example #37

keithbaenre opened this issue Jan 28, 2021 · 6 comments

Comments

@keithbaenre
Copy link

I am new to Windows and DLL's. I have an old 32 bit DLL written in Visual Studio 6 c++. I need to make a 64 bit version. I want to use the Legacy Wrapper 3.01 but do not understand where to start or how to do it.

Can someone provide a complete example or instructions?

Thank you in advance.

@zalintyre
Copy link
Contributor

Hello,

LegacyWrapper does not create a DLL for you. You can use it to call old 32bit DLLs when there's no way for you to create a 64bit DLL on your own.

Kind regards
Franz

@keithbaenre
Copy link
Author

keithbaenre commented Jan 28, 2021 via email

@keithbaenre
Copy link
Author

keithbaenre commented Jan 28, 2021 via email

@zalintyre
Copy link
Contributor

Hello Keith,

if you have the code of yout DLL, just compile it using the 64bit compiler of Visual Studio. There is no need for using LegacyWrapper at all.

Also if you are lucky, you don't need to change any code of your DLL. Just recompile it.

Kind regards
Franz

@keithbaenre
Copy link
Author

keithbaenre commented Jan 28, 2021 via email

@zalintyre
Copy link
Contributor

Hello Keith,

in case you cannot modify or recompile your 32bit DLL for whatever reason, LegacyWrapper can help you. Just include the LegacyWrapper dependency in your NuGet configuration and call your 32bit DLL with it (see example in README). This requires your application to be written in C# or VB, C++ is not possible in this case.

Kind regards
Franz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants