DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 28 Jun 2007 12:29:17 +0200,    posted on: microsoft.public.dotnet.framework.interop        back       

Thread Index
  1    Dahab
          2    Egghead
          3    Christian Fröschlin
          4    Dahab


Windows application with OCX on Win64   
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.
Date:Thu, 28 Jun 2007 12:29:17 +0200   Author:  

Re: Windows application with OCX on Win64   
Actually, I think it is some bit shift stuff inside the OCX causing the 
problem.

-- 
cheers,
RL
"Dahab"  wrote in message 
news:uSceu7WuHHA.4412@TK2MSFTNGP02.phx.gbl...

> 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.
> 
Date:Thu, 28 Jun 2007 13:38:04 -0600   Author:  

Re: Windows application with OCX on Win64   
Dahab wrote:


> 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.
Date:Fri, 29 Jun 2007 09:48:19 +0200   Author:  

Re: Windows application with OCX on Win64   
Thanks for your replys.

D.


"Dahab"  wrote in message 
news:uSceu7WuHHA.4412@TK2MSFTNGP02.phx.gbl...

> 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.
> 
Date:Sat, 30 Jun 2007 00:17:47 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us