Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / June 2007

Tip: Looking for answers? Try searching our database.

Windows application with OCX on Win64

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dahab - 28 Jun 2007 11:29 GMT
Hi,
I'm developing a .Net windows application that implements a couple of OCX
components.
The application runs ok on win32, but when I installed it on a Win 64(xp)
machine the program craches.

Also did a small test program and it is the OCXes that causes the crash.

Anyone know if inclding OCX's in a .Net windows application running on Win64
needs special "care".
The program was build using the "Any cpu" Setting.

Thanks
D.
Egghead - 28 Jun 2007 20:38 GMT
Actually, I think it is some bit shift stuff inside the OCX causing the
problem.

Signature

cheers,
RL

> Hi,
> I'm developing a .Net windows application that implements a couple of OCX
[quoted text clipped - 10 lines]
> Thanks
> D.
Christian Fröschlin - 29 Jun 2007 08:48 GMT
> The program was build using the "Any cpu" Setting.

This means it will run as a native 64-bit process on Win64. Therefore,
it attempts to locate the 64-bit version of the OCX in the 64-bit
portion of the registry. If you don't have a 64-bit version of the
OCX, you need to explicitely build for 32-bit platform so the app
will run in WOW64 compatibility mode on Win64.
Dahab - 29 Jun 2007 23:17 GMT
Thanks for your replys.

D.

> Hi,
> I'm developing a .Net windows application that implements a couple of OCX
[quoted text clipped - 10 lines]
> Thanks
> D.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.