sds_draw not working in Bricscad V18 "Message: Unable to find an entry point named 'sds_grdraw' in D

hi!,

I created a tool before in Bricscad V12 using VB.NET.
I used the function sds_grdraw and its working then.

Now, we upgraded to Bricscad V18, I recompile my solution using the V18 components and it compiled successfully.

When I tried to run the tool, it displayed a "Message: Unable to find an entry point named 'sds_grdraw' in DLL 'Bricscad.exe'.

I would like to know what configuration I missed or if sds is already deprecated what is my alternate function I can use.

Below is the declaration I used.
<DllImport("Bricscad.exe", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub sds_grdraw(ByVal startPoint() As Double, ByVal endPoint() As Double, ByVal color As Integer, ByVal highlight As Integer)
End Sub

Thank you.

Marlon Baldo

Comments

  • Guys,

    Sorry for posting this topic. This was already answered by Daniel Marcotte in my previous posting. I already forgot this and I just found it today.

    Thanks again.

    Below is the copy of the response.

    Hi Marlon,
    If you're using P/INVOKE, I think it has been moved to SDS.DLL
    you can use also acedGrDraw instead of sds_grdraw, this will be in Brx13.dll.
    best regards
    daniel

This discussion has been closed.