Message 1 of 7
acdbWcs2Ucs in vb.net ?

Not applicable
04-04-2007
10:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In C i was using the functions acdbWcs2Ucs to convert from one coordinate
system to another.
Because I can't find the function in VB i've made following function
CallingConvention:=CallingConvention.Cdecl)> _
Public Function acdbUcs2Wcs(ByVal fromPoint As Double(), ByVal toPoint
As Double(), ByVal vector As Boolean) As Integer
End Function
but when i'am using the function Acad crashes.
Any idea ?
Or another solution to convert from WCS2UCS, UCS2WCS, DCS2WCS,.... in vb ?
tnx,
Peter
In C i was using the functions acdbWcs2Ucs to convert from one coordinate
system to another.
Because I can't find the function in VB i've made following function
Public Function acdbUcs2Wcs(ByVal fromPoint As Double(), ByVal toPoint
As Double(), ByVal vector As Boolean) As Integer
End Function
but when i'am using the function Acad crashes.
Any idea ?
Or another solution to convert from WCS2UCS, UCS2WCS, DCS2WCS,.... in vb ?
tnx,
Peter