- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am using the acedSetFnHelp function from the "accore.dll" to call out to my own help file from a VB.NET application (loaded using netload). The call is declared as follows:
<DllImport("accore.dll", CallingConvention:=CallingConvention.Cdecl, CharSet:=CharSet.Auto, EntryPoint:="acedSetFunHelp")> _
Private Function acedSetFunHelp(ByVal functionName As String, ByVal helpFile As String, ByVal helpTopic As String, ByVal cmd As Integer) As Integer
End Function
This call works fine for AutoCAD 2012,2013,2014 both 32bit and 64bit and also works for AutoCAD 2015 64bit.
However I cannot get it to work when the application is running under AutoCAD 2015 32bit. The call simply fails and I am unable to get any form of error message to find out why it is failing. In fact it stops the application from loading. I have tried putting a try..catch around the call to acedSetFunHelp but this does not help (the try..catch does not even
The call to the function acedSetFunHelp always passes the value 0 (zero) as the cmd parameter.
Has the call to the acedSetFunHelp function changed in the 2015 release and is it different between the 32bit and 64bit versions?
Thanks in advance for any help you can give on this matter.
Regards
Ian
Solved! Go to Solution.