Author Topic: VLX Files  (Read 6305 times)

0 Members and 1 Guest are viewing this topic.

rugaroo

  • Bull Frog
  • Posts: 378
  • The Other CAD Guy
VLX Files
« on: October 26, 2003, 12:52:54 PM »
You guys know why when I take a vlx to/from somewhere, I try using the commands that I know are associated with that vlx, but they don't work....am I missing something?

Rug
LDD06-09 | C3D 04-19 | Infraworks 360 | VS2012-VS2017

SMadsen

  • Guest
VLX Files
« Reply #1 on: October 27, 2003, 09:33:51 AM »
Rug, I have no suggestions to make, sorry. Could be numerous things. Maybe the VLX is missing some files? Maybe commands are not commands but functions? Maybe the number of arguments are not what you'd expect.

Are there any error messages?

Mark

  • Custom Title
  • Seagull
  • Posts: 28753
VLX Files
« Reply #2 on: October 27, 2003, 10:06:07 AM »
Isn't there something you HAVE to do when installing ACAD to get ActiveX support?
TheSwamp.org  (serving the CAD community since 2003)

SMadsen

  • Guest
VLX Files
« Reply #3 on: October 27, 2003, 10:33:11 AM »
When installing ACAD? I'm not sure.

But when compiling there's explicit choice for ActiveX support. Maybe Rug's VLX was compiled without ActiveX support.
Maybe it was compiled with maximum optimization. That will cause VLX to juggle with addresses instead of names, which will make functions inaccessible to the outside world. But functions defined as commands should be available as normal.

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
VLX Files
« Reply #4 on: October 27, 2003, 11:14:00 AM »
Ive never heard of anything like that before.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

rugaroo

  • Bull Frog
  • Posts: 378
  • The Other CAD Guy
VLX Files
« Reply #5 on: October 27, 2003, 12:57:36 PM »
Well, I am gonna try to recompile everything, and see if that works. If not, the I am just going to protect my lisp files. :)

Rug
LDD06-09 | C3D 04-19 | Infraworks 360 | VS2012-VS2017

daron

  • Guest
VLX Files
« Reply #6 on: October 27, 2003, 01:25:50 PM »
Quote from: rugaroo
Well, I am gonna try to recompile everything, and see if that works. If not, the I am just going to protect my lisp files. :)

Rug
This comment seems off topic to you original question. The easiest way I've found to compile your code is to just make a .fas file. If you have dcl or multiple files to combine then you'd want to make a vlx, but for individual files, just make a fas file. If I understand correctly, you'd need to do that before creating vlx's anyway.

rugaroo

  • Bull Frog
  • Posts: 378
  • The Other CAD Guy
VLX Files
« Reply #7 on: October 27, 2003, 02:24:30 PM »
A FAS file is created when I do my VLX, but It still does not work. Let me take some time and see if I can locate the problem on my end and see if I was just slacking a bit.

Rug
LDD06-09 | C3D 04-19 | Infraworks 360 | VS2012-VS2017

daron

  • Guest
VLX Files
« Reply #8 on: October 28, 2003, 02:02:55 AM »
Are you sure it creates a fas file for you? If so, what type? Or, do you get to choose? There are about three types of fas files to choose from. The way I understand VLX's is that they are merely a container for the compiled code, dcl's and other pertinent info. The fas file is the compiled lisp code.

Dave

  • Guest
VLX Files
« Reply #9 on: November 10, 2003, 10:23:03 AM »
Make sure you are NOT compiling to a separate namespace VLX.  If you do, you must expose your commands and functions to make them accessible from outside the program.  I have seen where vlx code compiled on 2004 had trouble running in 2000, but only with respect to things like (vl-arx-import) or (vlax-add-cmd).

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
VLX Files
« Reply #10 on: January 06, 2004, 01:57:00 PM »
Rug.. did you ever figgure this one out..... If not, then lemme ask...are you using VisualLisp commands? If so make sure you have (vl-load-com) in the VLX proggie...otherwise it will never work unless someone accidentally loads it...

Remember "The Daron Act"
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie