POV-Ray : Newsgroups : povray.programming : GUI-extension DLL? Server Time
28 Jul 2024 14:24:19 EDT (-0400)
  GUI-extension DLL? (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thorsten Froehlich
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 05:50:14
Message: <3bebb4e6@news.povray.org>
In article <rsikut82tdebpojsaso85qf49ntkg2maap@4ax.com> , Lutz Kretzschmar
<lut### [at] stmuccom>  wrote:

> I did, but I'm afraid I can't be any help either. I have zero idea
> whether VB is up to this or not.

It is possible to interface abritrary DLLs to VB.  It should be covered in
any "advanced" VB book.  Or, try some of the tutorials on the web.
Basically all you need to do is write function prototypes.  I.e.e see the
section titles "Using Your DLL in Your VB Programs" on
<http://www.boondog.com/..%5Ctutorials%5Cdlltutor%5Cdlltutor.htm>.  Of
course, this still requires a bit of understadning of C in order to create a
matching VB function prototypes.  but this tutorial should be a good start.

For more, try this search:

<http://www.google.com/search?q=visual+basic+DLL+interface&btnG=G>


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Mahalis
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 06:31:01
Message: <3bebbe75@news.povray.org>
Oh, I see. Thanks. I'll try it.

--

//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--


"Batronyx" <bat### [at] alliancecablenet> wrote in message
news:3beb6cc2@news.povray.org...
> As far as I know VB 6.0 only does ActiveX DLLs. I know nothing of WinPOV's
GUI
> extension requirements so I couldn't say if this was feasible or not.
Meanwhile,
> you could create the color picker as a standalone app and add it to the
tools
> menu, transferring color data via the clipboard.
>
> Batronyx ^"^


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: GUI-extension DLL?
Date: 9 Nov 2001 12:55:23
Message: <a66out42vp72l9l7t3957e7ok92lrikbj3@4ax.com>
Hi Thorsten Froehlich, you recently wrote in povray.programming:

> It is possible to interface abritrary DLLs to VB.  It should be covered in
> any "advanced" VB book.  Or, try some of the tutorials on the web.
Thanks for the hints, maybe Mahalis can do something with those
resources. As for me I'll stick to C++ :-)

Regards,

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.