473,387 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MSScript.ocx on 64 bits

Udi
Hi all,
Does anyone know if there's an MSScript.ocx ready for 64 bits?

My (WinForm) application fails to load on 64 bit due to the fact the
ocx is compied to 32 bits.
The thing is, my application uses aditional native dlls that are
placed in the system32 directory,
and once I compile my app to x86, I can work with the ocx but can't
work other dlls.
Any ideas for me?
Thanks,
Udi
Jan 28 '08 #1
2 6667
Udi,

There isn't (AFAIK) a 64-bit version of MSScript.ocx. Since your native
dlls are in the system32 directory, you shouldn't have a problem calling
them if your app is compiled for a 32-bit platform (how you got them to work
when compiled for a 64-bit platform is questionable).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Udi" <Ud**********@gmail.comwrote in message
news:6c**********************************@k39g2000 hsf.googlegroups.com...
Hi all,
Does anyone know if there's an MSScript.ocx ready for 64 bits?

My (WinForm) application fails to load on 64 bit due to the fact the
ocx is compied to 32 bits.
The thing is, my application uses aditional native dlls that are
placed in the system32 directory,
and once I compile my app to x86, I can work with the ocx but can't
work other dlls.
Any ideas for me?
Thanks,
Udi

Jan 28 '08 #2
"Udi" <Ud**********@gmail.comwrote in message
news:6c**********************************@k39g2000 hsf.googlegroups.com...
Hi all,
Does anyone know if there's an MSScript.ocx ready for 64 bits?

My (WinForm) application fails to load on 64 bit due to the fact the
ocx is compied to 32 bits.
The thing is, my application uses aditional native dlls that are
placed in the system32 directory,
and once I compile my app to x86, I can work with the ocx but can't
work other dlls.
No, there isn't a 64 bit version of MSScript.ocx, so, your application MUST
be compiled as targeting x86.
Question is what are these native dll's you are calling?
Are they system supplied DLL's? If yes, you should have the 32-bit
equivalents in SysWow64, and your 32-bit application should have no issue to
find them.
If they are private DLL's, they should be 32-bit, and they should NOT be in
System32 nor in Syswow64, they should be installed in a private location.
If they are COM DLL's, then you need to make sure they are correctly
registered, that is, using the 32-bit version of regsvr32.
Willy.
Jan 28 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Svenn-Ivar Svendsen | last post by:
I'm implementing a windows application with generic support for scripting, and I'm using the microsoft script control (msscript). For vbscript/jscript I'm happy, but with python I got problems...
40
by: aku | last post by:
I'm looking for the absolute fastest way to count the nr of bits that are set to "1" in a string. Presumably I then first need the fastest way to do this in a byte. I think this is it, but...
7
by: sathyashrayan | last post by:
Group, Following function will check weather a bit is set in the given variouble x. int bit_count(long x) { int n = 0; /* ** The loop will execute once for each bit of x set,
4
by: user | last post by:
I have several vb.net apps that use the MSScript control to provide basic scripting. On one machine in particular, these apps refuse to start, stating: An Unhandled exception of type...
6
by: barcaroller | last post by:
I couldn't find a message-digest newsgroup, so I posted here. I have a C function that converts a string of arbitrary length to a 32-bit hash value. I realize this is overkill but I used...
0
by: tiamat | last post by:
Hello, I am having a problem using msscript.ocx with C# VS2005 and DateTime objects, specifically the method 'AddObject'. I have added a reference to the control and below illustrates the issue: ...
11
by: Mack | last post by:
Hi all, I want to write a program to count number of bits set in a number. The condition is we should not loop through each bit to find whether its set or not. Thanks in advance, -Mukesh
77
by: borophyll | last post by:
As I read it, C99 states that a byte is an: "addressable unit of data storage large enough to hold any member of the basic character set of the execution environment" (3.6) and that a byte...
11
by: JoeC | last post by:
I am working on a graphics program but my question has nothing to do with graphics but trying to get an algorithm to work. I set graphics from a 16x16 grid to bits of a graphic with: bitData =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.