LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2009, 12:50 AM   #1
pu8y
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Rep: Reputation: 0
ActiveX component can't create object


Hi all,

I am new to Linux platform.

Currently I wrote a program and put it in fedora. I tried to run it with wine. However I got error message:
Run time error '429': ActiveX component can't create object.

I know that there are some missing ddl files that are needed by my program. But I don't know how to make it as what we try to register a dll inside system32 in windows.

I saw the system32 inside my Wine File and there are many .dll/.ocx files located inside. I downloaded the needed .dll file but I don't know how to add it into the system32.

Can anybody help me to solve this problem?

Last edited by pu8y; 11-11-2009 at 12:53 AM.
 
Old 11-12-2009, 12:08 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
For the most part, your wine profile acts just like a real windows setup. Just copy the .dll file to the system32 directory. It should be detected automatically.

If, however, the .dll is one that wine has it's own built-in version of, and you want to force it to use the native one instead, you can run "winecfg" and change it. Just enter the .exe of your program in the "applications" tab, then with it highlighted switch to the "libraries" tab, and you can set up dll overrides for that application.

Note that there's no guarantee that any of this will work. Wine is perpetually under development, and many things still aren't completely emulated yet. Since this is a program you wrote yourself, I suggest seeing if you can remove the need for things like activeX from it entirely. And if you go that route, you might consider trying to rewrite it so that it uses winelib instead, so that it runs pretty much natively.
 
Old 11-12-2009, 03:27 AM   #3
pu8y
LQ Newbie
 
Registered: Nov 2009
Posts: 12

Original Poster
Rep: Reputation: 0
That's the issue that i struggled with.

When I am in the system32, and right click to paste the file, i can't see any paste function there. Tried ctrl+v also in vain. (Refer to the attached image.)
Attached Thumbnails
Click image for larger version

Name:	can't paste into system32.JPG
Views:	234
Size:	91.2 KB
ID:	1932  
 
Old 11-12-2009, 11:22 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
You don't have to use winefile for that. Just copy it using your regular linux tools to the actual location on your disk, which is in your hidden ~/.wine directory by default.

But if you must use winefile, you can use the F8 "copy" function instead.

You should probably also have a look at the wine documentation too, if you haven't already.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create an html object from an XML document mohtasham1983 Programming 2 12-20-2007 02:58 AM
LXer: Create a composite app with Lotus Component Designer LXer Syndicated Linux News 0 05-12-2007 12:01 AM
how to create an object file from an assembly program, with org 100h manas_sem Programming 9 12-18-2006 06:30 PM
PHP Web Page Unable to create DOMDocument Object linux_pioneer Programming 0 03-11-2006 01:01 PM
how to create unlinked object files from source irfanhab Programming 1 08-18-2005 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration