kernel32 library in vlisp

Discussion in 'AutoCAD' started by Logic, Jan 25, 2005.

  1. Logic

    Logic Guest

    I am trying to load the kernel library as an able to access object but I am
    always getting an error message:

    code: (vlax-import-type-library :tlb-filename (findfile (strcat (getenv
    "WINDIR") "\\System32\\kernel32.dll")))
    error: bad argument type: VLA-OBJECT nil

    any suggestions ?

    thanks,

    JM
     
    Logic, Jan 25, 2005
    #1
  2. Logic

    MP Guest

    what does :tlb-filename evaluate to at the time of your call?
     
    MP, Jan 25, 2005
    #2
  3. Logic

    MP Guest

    oops, duh,
    nevermind
     
    MP, Jan 25, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.