Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > Windows Script Control (msscript.ocx) not working in 64 bit!?

Reply
Thread Tools

Windows Script Control (msscript.ocx) not working in 64 bit!?

 
 
LeFourge
Guest
Posts: n/a
 
      03-02-2006
Hello,

I can't make the MsScript control objects to works under Windows XP 64.

c++ code:
....
CComPtr<IScriptControl> spScriptCtrl;
HRESULT hr = spScriptCtrl.CoCreateInstance(
L"MSScriptControl.ScriptControl",
NULL,
....
The project is working fine in a 32 bits process, but not in 64 bits.
(Same source code, same OS, same computer)

It looks like this component do not exist in 64 bits!
Does it exist another way/objects, that replace MsScript.OCX for 64 bits
applications ?

Regards,
Le Fourge


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      03-03-2006
Hi,

There are not 64 bit replacements for all the 32 bit controls. When
I write a vb 2005 application that uses a 32 bit control I need to compile
it as a x86 application for it to work.


Ken
-------------------
"LeFourge" <> wrote in message
news:...
> Hello,
>
> I can't make the MsScript control objects to works under Windows XP 64.
>
> c++ code:
> ...
> CComPtr<IScriptControl> spScriptCtrl;
> HRESULT hr = spScriptCtrl.CoCreateInstance(
> L"MSScriptControl.ScriptControl",
> NULL,
> ...
> The project is working fine in a 32 bits process, but not in 64 bits.
> (Same source code, same OS, same computer)
>
> It looks like this component do not exist in 64 bits!
> Does it exist another way/objects, that replace MsScript.OCX for 64 bits
> applications ?
>
> Regards,
> Le Fourge
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?TGUgRm91cmdl?=
Guest
Posts: n/a
 
      03-03-2006
Hi,
Thank you for the confirmation.

I'm now investigating about IActiveScript and IActiveScriptParse interfaces.
There is maybe a chance to replace our actual code by using those objects.
I'll let you known if it works.

Regards,
Le Fourge.

"Ken Tucker [MVP]" wrote:

> Hi,
>
> There are not 64 bit replacements for all the 32 bit controls. When
> I write a vb 2005 application that uses a 32 bit control I need to compile
> it as a x86 application for it to work.
>
>
> Ken
> -------------------
> "LeFourge" <> wrote in message
> news:...
> > Hello,
> >
> > I can't make the MsScript control objects to works under Windows XP 64.
> >
> > c++ code:
> > ...
> > CComPtr<IScriptControl> spScriptCtrl;
> > HRESULT hr = spScriptCtrl.CoCreateInstance(
> > L"MSScriptControl.ScriptControl",
> > NULL,
> > ...
> > The project is working fine in a 32 bits process, but not in 64 bits.
> > (Same source code, same OS, same computer)
> >
> > It looks like this component do not exist in 64 bits!
> > Does it exist another way/objects, that replace MsScript.OCX for 64 bits
> > applications ?
> >
> > Regards,
> > Le Fourge
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Python script not working on windows 7 but works fine on linux ian douglas Python 5 03-05-2013 02:58 AM
Re: Python script not working on windows 7 but works fine on linux Terry Reedy Python 0 03-04-2013 09:19 PM
Re: Python script not working on windows 7 but works fine on linux Wolfgang Strobl Python 0 03-04-2013 07:30 PM
freedom anti-virus working, but firewall and parental control not. working before. mmmarlee mcgarvey Computer Support 1 09-02-2004 05:28 PM
Script is working in IE, but not working in Netscape 7 - trouble with document.selection.createRange(); lawrence Javascript 8 05-05-2004 01:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57