Comm32 Logo
Home Button   

Topic:   Use comm32.ocx in x64 project

By: GuestPosted on: Jul 6 2011 at 11:27:33 AM
Hi,
i write a Visual C++ project for platform x64 (64 bit). This project fails when i create the comm32 ocx. This project isn't .NET project, so I don't want use comm64.dll.
How can i resolve this situation?
Thanks a lot

By: GuestPosted on: Jul 6 2011 at 11:29:20 PM
OCX are 32 bit so can not work if you build in an x64 application. You need to compile for x86.

By: GuestPosted on: Jul 7 2011 at 11:11:02 AM
Unfortunately, the project must be compiled for x64 platform.
Can i have an example of use with Visual C++/managed C (with Common Language Runtime Support enabled) project? I have problem with _OnComm delegate, so i want resolve this programming problem before buy Comm64 library.

By: SupportPosted on: Jul 8 2011 at 09:56:37 AM
Have you tried the Comm64 component?

www.comm64.com

That is a .Net compatible assembly that can be built into .Net projects targeting x86, x64 as well as 'Any CPU' projects so works in both 32 bit and 64 bit modes.