01-29-2018 11:40 AM
I have a DLL that I'd like to include in a RT application running on PharLap. I've checked it with the NI DLL Checker and it flags the DLL bad as it internally makes calls to mscoree.dll
What DLLs are included in the PharLap subset of Win32? Is anything which called mscoree.dll incompatible or do I need to point the DLL Checker tools to a different mscoree.dll than the one on my local Windows OS?
01-30-2018 01:40 AM
PharLap has pretty much all of ANSI C plus some NI specific functionalities. If you compile your DLL (from source) using LabVIEW CVI it tells you exactly what it is struggling with and you can replace those code sections with supported functionality (if possible). Also LabVIEW CVI has a list of all available libraries and functions and therefore is the easiest place to start.
01-30-2018 03:38 AM - edited 01-30-2018 03:43 AM
mscoree.dll is the .Net core library. It means that your DLL is most likely a .Net assembly rather than a normal DLL and both .Net and ActiveX are definitely not something that will ever run on Pharlap.
Basically Pharlap supports the Win32 API from around Windows NT 4.0 without Unicode and user access control, file access security and other such features that are more targeted at server applications than embedded control. Anything introduced in later Windows versions except a few Windows 2000 APIs is basically not supported. That includes the complete .Net shenanigan. ActiveX is not supported since Microsoft used this technology to protect its Windows operating system from people trying to clone it.