CAD/CAM discussion forum > CAD > C++ function from ZWCAD commandline

C++ function from ZWCAD commandline

Rank: 1



posts: 0

Registered: 2010-5-10

Message 1 of 3

21-04-2010 03:15 . pm | View his/her posts only
I am new in C++ with zwcad.

I have written a sample application(dll) in C++ which was successfully compiled to build the dll. I have also loaded the dll in zwcad by appload command. Say the function signature is as follows:

double __stdcall D2R (double deg)
return (deg * PI)/180;

Then trying to call the function from zwcad cmdline as follows
(DEFUN D2R(12))

But none of them working.

So is there anyone who has ideas how to call C++ functions from zwCad?


Rank: 1



posts: 0

Registered: 2012-1-14

Message 2 of 3

28-04-2010 04:08 . pm | View his/her posts only
Hello Rashidul,

Personally, I like C++ programing very much. However, I am also not good at it now. Hope there is somebody who could share his experience with us.


Rank: 1



posts: 0

Registered: 2011-8-3

Message 3 of 3

25-08-2010 09:08 . pm | View his/her posts only
A) Upgrading the LISP language at C++
Downloading test version............

B) Convert LISP to C++
B) Convert C++ to LISP
toplisp2c2011-02-07 01:33:15
See also