I'm using C# and the errors returned are below. Also, I haven't been able to run in debug mode because the only error only occurs with the first drawing loaded of a session. My inexperience is hurting me on this one. Thanks for the help. I'll remember what to include in the future.
Error#1
---------------------------
GetLayerPropertiesDS
---------------------------
System.Runtime.InteropServices.COMException (0x800401E3): Operation unavailable (Exception from HRESULT: 0x800401E3 (MK_E_UNAVAILABLE))
at System.Runtime.InteropServices.Marshal.GetActiveObject(Guid& rclsid, IntPtr reserved, Object& ppunk)
at System.Runtime.InteropServices.Marshal.GetActiveObject(String progID)
at IMFTUtilities.AcadUtilities.MiscTools.Preferences.GetSupportPaths()
at IMFTUtilities.AcadUtilities.MiscTools.Misc.IMFTFindFile(String pFilename)
at IMFTLayerMaker.LayerMaker.GetLayerPropertiesDS()
---------------------------
OK
---------------------------
Error #2
---------------------------
GetLayerDefinition
---------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
at IMFTLayerMaker.LayerMaker.GetLayerDefinition(String& pLayerName, String& pLayerStatus)
---------------------------
OK
---------------------------
Chris, that helps alot - thanks.
However, my apologies - I neglected some other info I and others would need:
You mentioned something wasn't working - this generally signifies an error. What, if any, errors are you getting?
Also, without looking at your zip file and the only code you've posted 'in this thread' is 'Using' statements, I don't know what language you're using...?
Also, can you explain, what your application does, particularly why you need to use 'Interop' for certian parts (one dll as opposed to the other)?