Alex.Max
Alex.Max

Reputation: 21

How to call a x64 C++ dll from VB6 (x86)?

I'm trying to call a x64 C++ function (in .dll) from VB6 application. Warning message displayed be below:

"Run-time error '48'/File not found ***.dll"

Is there any way to do this calling?

Note: x86 C++ .dll is working normal And my x64 C++ .dll is too big and cannot change to x86 complier.

Upvotes: 2

Views: 465

Answers (1)

Smith
Smith

Reputation: 720

Maybe you could try with DllSurrogate. Take a look at Calling 64 bit code from a 32 bit VB6 application.

Upvotes: 1

Related Questions