any limitations on variable types when usind an in process d
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
any limitations on variable types when usind an in process d
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization

Author Message
James Maeding
Guest





Posted: Fri Jan 21, 2005 10:49 pm    Post subject: any limitations on variable types when usind an in process d Reply with quote

Hello,
I want to write some subroutines in VB and then have a lisp routine use those subroutines.
I will need to pass those subroutines parameters and get info back.
I know that you cannot use a list as a parameter, you would have to format things in a safearray.

What other variable types are not compatible between lisp and activex functions?
If its just arrays, I can deal with that.
The reason I want to use lisp is that it is great at getting info from a user when picks are involved.
Things like grread and grdraw are just not available in vb or vba so I want to make hybrids.
Also I am finding the LDT API has bugs when called from lisp, the objects are not released correctly.
I have struggled with this for two years and Peter Funk is aware of it, Civil3D is where the programmers are though.
So I want to have a vb function do the API interaction and hopefully that will smoothe things out.
Lots of other reasons too for doing hybrids...

I am truing to decide if there would be any serious roadblocks though for sending and getting data from activex type
functions.
thanks

James Maeding
jmaeding at hunsaker dot com
Civil Engineer/Programmer

Back to top
James Buzbee
Guest





Posted: Sat Jan 22, 2005 2:32 am    Post subject: Re: any limitations on variable types when usind an in proce Reply with quote

James,

With respect to LDT and LISP are you importing the type libraries and
accessing functions from there? I know with ADT it's the only way to work
with AEC objects: access to ALL the properties, reactors fire when supposed
to, ObjectDBX works better, etc.

Sorry, can't help you with the VB stuff, but I know I have NO problems
working with ADT objects in this way.

jb
Back to top
James Maeding
Guest





Posted: Sat Jan 22, 2005 5:31 am    Post subject: Re: any limitations on variable types when usind an in proce Reply with quote

thx for the comments.
My situation will probably be simpler since I will be making the dll's.


"James Buzbee" <jdb@journeysendfarm.com>
|>James,
|>
|>With respect to LDT and LISP are you importing the type libraries and
|>accessing functions from there? I know with ADT it's the only way to work
|>with AEC objects: access to ALL the properties, reactors fire when supposed
|>to, ObjectDBX works better, etc.
|>
|>Sorry, can't help you with the VB stuff, but I know I have NO problems
|>working with ADT objects in this way.
|>
|>jb
|>

James Maeding
jmaeding at hunsaker dot com
Civil Engineer/Programmer
Back to top
James Maeding
Guest





Posted: Sat Feb 12, 2005 6:00 am    Post subject: Re: any limitations on variable types when usind an in proce Reply with quote

I just read the reply my NG prog posted and have no idea what the heck happened.
What I said made no sense and I think I was trying to post to some other thread....
I know this thread is dead but for future readers, I dont want to look totally stupid and arrogant by posting something
that looked irrelevent, like I knew what I was taling about...

The answer is yes, I will be referencing the type libraries when making the dll. I will not have to do it like you say
exactly but its the same idea. Sorry for the wierd previous response...

"James Buzbee" <jdb@journeysendfarm.com>
|>James,
|>
|>With respect to LDT and LISP are you importing the type libraries and
|>accessing functions from there? I know with ADT it's the only way to work
|>with AEC objects: access to ALL the properties, reactors fire when supposed
|>to, ObjectDBX works better, etc.
|>
|>Sorry, can't help you with the VB stuff, but I know I have NO problems
|>working with ADT objects in this way.
|>
|>jb
|>

James Maeding
jmaeding at hunsaker dot com
Civil Engineer/Programmer
Back to top
James Buzbee
Guest





Posted: Sat Feb 12, 2005 7:28 pm    Post subject: Re: any limitations on variable types when usind an in proce Reply with quote

"James Maeding" wrote:
Quote:
. . . I dont want to look totally stupid and arrogant . . .

Too late! ;-)

jb
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Access Forum - Microsoft Office Forum - Electronics

Contact Us Powered by phpBB