LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ActiveX component can't create object (https://www.linuxquestions.org/questions/linux-software-2/activex-component-cant-create-object-768332/)

pu8y 11-11-2009 12:50 AM

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?

David the H. 11-12-2009 12:08 AM

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.

pu8y 11-12-2009 03:27 AM

1 Attachment(s)
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.)

David the H. 11-12-2009 11:22 AM

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.


All times are GMT -5. The time now is 10:21 PM.