Name conflicts with existing module, project or object library - vb6

How do i install mscomm32.ocx on vb6?
I am trying to code for a serial port using a usb-rs232 and when I try to install mscomm32.ocx on the references of VB6 there is an error:
Name conflicts with existing module, project or object library
I cannot locate the file in conflict.
Thank you for any help.

Related

Tesseract .net on macos, how to reference libdl.dylib on macOS12?

I'm running a .net application that requires a reference to libdl.so
System.DllNotFoundException : Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(liblibdl.so, 0x0001): tried: 'liblibdl.so' (no such file), '/usr/local/lib/liblibdl.so' (no such file), '/usr/lib/liblibdl.so' (no such file), '/Users/Amplicity/Documents/liblibdl.so' (no such file)
After some light reading, i found that libdl.so is the linux equivalent of libdl.dylib, I then tried to find libdl.dylib on my machine.
➜ lib locate libdl.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libdl.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libdl.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libdl.dylib
There are only tvos, watchos, and ios signed libdl.dylib's available. Some more light reading reveals that somewhere around xcode 7, .dylib files were replaced with .tbd, which is a text file that references dylibs elsewhere.
➜ lib locate libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/lib/libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/lib/libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/lib/libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/lib/libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libdl.tbd
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libdl.tbd
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/lib/libdl.tbd
/Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/libdl.tbd
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libdl.tbd
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libdl.tbd
I attempted to symlink the .tbd to the .so that my .net application expects, but .net complained that it was net a mach-o file.
I then attempted to symlink the tvos .dylib to the .so, and got a different error stating that it needed to be signed for macos.
How can I find/conjure libdl.dylib on macOS12, so that I may directly reference it in my application?
I suppose you cannot rebuild that application, cause currently libdl.so` would not be requested as it is not deployed anymore as standalone.
Try to make symlink of libdl.so to libc.so (or whichever version is installed with your .net platform package, libc.so.x)

Boost++ Libraries in libPTP of OMNeT++

When I import libPTP in OMNeT++, I need to install Boost++ Libraries. I installed the Boost++ Libraries according to the Install Guide, but it didn't work. The following error occurred:
Errors occurred during the build.
Errors running builder 'OMNeT++ Makefile Builder' on project 'libPTP'.
Path must include project and resource name: /boost
Do I need to set the path of Assembly, GNU C and GNU C++ to C:\boost of the Includes tab when I do the step ‘Add the path where you have installed Boost (e.g. C:\boost)`?
Looking forward to your reply. Thank you.
Best Regards,
Fei

Building program for other machines

I created a simple program using Lazarus Ide Qt5. I'm using Kubuntu 20 right now. When I build and run it on another Linux distribuiton I get error:
Quote
./shortcutcreator: error while loading shared libraries: libQt5Pas.so.1: cannot open shared object file: No such file or direcctory.
How can I build it for other machines?
(lib)qt5pas is a C++->C flattening library for QT5. It is afaik available in the package repositories, simply install it on the receiving PC.

Native plugin with Unity3d Mac OSX Dll notfoundexception

I am trying to integrate a 3rd party native plugin with unity3D. In order to use it i made a c# plugin as a wrapper dll. The plugin works fine with PC standalone when i copy the plugin binaries manually to build folder along with my EXE file.I have used debug configuration for the plugin build process.
Problem is :
when i make a mac OS X build, i am getting DllNotFoundException. My c# plugin file is in the app located at "\Contents\Data\Managed" along with other unity related plugins which means unity is recognizing my wrapper plugin but not copying the native plugins.
Things already tried :
I copied the native plugins also in the Assets/Plugins/ folder so as they are also included in build, but unity didn't include them in build.
I tried putting my native plugin in "\Contents\Data\Managed" folder and also in other folders in the app,still it was not able to find the dll.
I tried putting the dylib file which came with the native plugin, also along with my wrapper plugin but it didn't work.
I tried to do a dllmap in the config file at "\Contents\Data\Managed\etc\mono" using
also, but it didn't work.
I am out of ideas. Any help is appreciated.
It worked for me to add a dll map to the mono config file found here:
Your.app/Contents/Data/Managed/etc/mono/config
I added the following :
<dllmap dll="phidget21.dll" target="/Library/Frameworks/Phidget21.framework/Versions/Current/Phidget21" />
Make sure that the Phidget21.framework exists in /Library/Frameworks..

MSVCR90.DLL Error When Trying to run pykml module in Windows Vista

I am new to python and plan on using it with pykml to create KML files for Google Earth. I have succesfully installed the dependecies(lxml-2.3-py2.7-win32.egg) and the pykml package(pykml-0.1.0-py2.7.egg) itself using easy_install.
In the python interpreter I can import lxml and pykml without issue, but when I try importing pykml."any module" I get an error that says:
python.exe - Unable to Locate Component
-This application has failed to start because MSVCR90.dll was not found. Re-installing the application may fix this problem.
After getting this I downloaded the MSVCR90.dll and placed it in my \Lib\site-package folder and got the following error:
Microsoft Visual C++ Runtime Library
- Runtime Error!
- Program: C:\hp\bin\Python\python.exe
-R6034
-An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.
Anyone with experience using pykml on Windows please help!!!
Thanks!

Resources