LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Global DLL's in WINE (https://www.linuxquestions.org/questions/linux-software-2/global-dlls-in-wine-540293/)

pccdrussell 03-24-2007 05:21 PM

Global DLL's in WINE
 
Hello, I have a program created in Visual Basic, (Pretty simple program) and runs fine under WINE. However, it requires putting Msvbvm50.dll in there. This is fine, I put it under ~/.wine/drive_c/windows/system32 and all is good. But the reason I am testing this is because I need to implement it in system that has 500+ users, and putting that dll into everyones directory would be more than out of the question. So what I am trying to do is put that dll into the system globally so that when a user launches "wine vbprogram.exe" and creates their ~/.wine directory, that dll will be in there automatically. This is on a SUSE system and what Ive tried so far is putting that Msvbvm50.dll into /usr/lib/wine and modifying /usr/share/wine/wine.inf to have that dll under the "Fake DLL's" section with no luck so far. Any help would certainly be appreciated.
Thank You!!

pccdrussell 03-24-2007 06:05 PM

A quick update to this...Ive been playing around with it a bit....and by doing the above, after looking, it does put that dll in the proper place (~/.wine/drive_c/windows/system32) However when I run the app, I get the error "err:module:import_dll Library MSVBVM50.DLL (which is needed by L"Y:\\Desktop\\Program.exe") not found" Even though its in there. Any ideas???
Thanks!!

dankegel 03-24-2007 06:12 PM

Put msvbm50.dll in your app's installer!
 
Your application's installer should include msvbm50.dll.
That solves the problem nicely.

pccdrussell 03-24-2007 06:16 PM

Well its not really an installer....its more of a interactive popup window that writes a txt file for the user according to the what they input in the feilds. Im not even familiar with Visual Basic, in fact, one of my co-workers made the program, but will ask him if he could somehow incorporate that dll into his program. Thanks for the reply.

jlo_sandog 03-25-2007 01:41 AM

I realize that vbasic is not meant for the gifted, but since this program is supposed to be simple, why not find a native solution?

Perharps you can share what you want to do and can be helped accordingly.

Electro 03-25-2007 02:04 AM

WINE can work with symbolic links. Setup an SNFS server, so all 500+ computers can access the require dll files.

Use JAVA or PERL to create a GUI program very fast.

If your co-worker only knows Visual Basic, give him or her REALbasic or HBasic.

pccdrussell 03-25-2007 04:52 PM

Thanks for all the responses! Got a hold of RealBasic, and it worked perfectly! WINE is cool and all, but nothing like running things Natively.
Thanks again


All times are GMT -5. The time now is 12:19 PM.