Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Rebol/core likes to access/execute windows dll's

 [1/13] from: rebolinth:nodep:dds:nl at: 15-Aug-2002 17:10


Hello all, I never tried it befor, and because Rebol does not allow me to write an IO for USB im thinking of accessing the USB driver directly under windows. Question: Is it possible to access DLL's from within windows using rebol/core? Extra: Im trying to access my WEBCAM from rebol and disblay direct IO trough rebol/core and finaly trough rebol/view. Any change this might work? Thanks in advance.. (R)egards, Norman. -- Conversation/lunch: "How do you Eat your Rebol in the Morning?"

 [2/13] from: greggirwin:mindspring at: 15-Aug-2002 10:17


Hi Norman, << Is it possible to access DLL's from within windows using rebol/core? >> No. You need View/Pro or /Command. << I'm trying to access my WEBCAM from rebol and disblay direct IO trough rebol/core and finaly trough rebol/view. Any change this might work? >> All the webcam stuff I've done has been non-local, so I'm not sure how the interface to your camera might work. You can open a serial port and read data from it, but I don't have any experience with using it for webcams to say if it's possible. --Gregg

 [3/13] from: nodep:dds:nl at: 15-Aug-2002 20:01


Hi Gregg, -> No. You need View/Pro or /Command. Pitty, I still did not buy /pro because im using too many different OSes overhere... So i must concider buying it the the MS os..Mmmmm.. -> All the webcam stuff I've done has been non-local, so I'm not sure how the -> interface to your camera might work. You can open a serial port and read -> data from it, but I don't have any experience with using it for webcams to -> say if it's possible. OKay..yes serial is doable indeed, but i have here one of those USB cams..(irritating performance eating drivers on a P200) So i was wondering if I could nibble from the DLL and read from the USB port... I think it might not be that easy as i expected it to be... Futhermore im absolutly no MS programmer..Only doing unix.. Perhpas i should skipp this project? Thanks for the (R)eply, Greetings, Norman.

 [4/13] from: amicom:sonic at: 15-Aug-2002 11:38


Actually, I recall someone who wrote middleware that would accept a TCP connection and would give greater access to the operating system. For example, with RunDLL32 from the MS-DOS prompt, you can call many .dlls. Unfortunately, that was a while ago (pre-View, I think) so it may be hard to try to dig up the info. -Bo At 10:17 AM 8/15/02 -0600, you wrote:

 [5/13] from: gchiu:compkarori at: 16-Aug-2002 20:35


On Thu, 15 Aug 2002 17:10:22 +0200 Norman <[Rebolinth--nodep--dds--nl]>
>Im trying to access my WEBCAM from rebol and disblay >direct IO trough rebol/core and finaly trough rebol/view. >Any change this might work? >
I was just casually looking at this today, and found a few references that might help. A C++ example of grabbing a jpg from a webcam http://perso.wanadoo.fr/laurent.kempe/technical/soap/webcam.htm A Java example of the same http://www.google.co.nz/search?q=cache:Ea3qB9yzaUAC:www.sun.com/developers/evangcentral/totallytech/jmf.html+java+webcam+example&hl=en&ie=UTF-8 The latter requires the Java Media Framework ... and I guess we need a Rebol/View equivalent -- Graham Chiu

 [6/13] from: fsievert:uos at: 16-Aug-2002 10:55


I already made an image-grabbing interface for VFW-devices like webcams for windows which works with /view/pro I will send it to the list.

 [7/13] from: nodep:dds:nl at: 16-Aug-2002 11:24


Hi Frank, Very good !!! (Now the only thing I need is a /pro version, lets talk to rebol team..;-) Thanks for your feedback and im looking forward to see your code! (R)egards, Norman Deppenbroek -> I already made an image-grabbing interface for VFW-devices like webcams -> for windows which works with /view/pro -> I will send it to the list.

 [8/13] from: gchiu:compkarori at: 19-Aug-2002 13:31


On Fri, 16 Aug 2002 10:55:18 +0200 (DFT) Frank Sievertsen <[fsievert--uos--de]> wrote:
>I already made an image-grabbing interface for >VFW-devices like webcams >for windows which works with /view/pro > >I will send it to the list. >
Frank, Is this still coming? -- Graham Chiu

 [9/13] from: rebolinth:nodep:dds:nl at: 19-Aug-2002 9:44


hehehe..Well i was waiting also ;-) Hope Frank has time to post it ;-) (R)egards, Norman. -- Conversation/lunch: "How do you Eat your Rebol in the Morning?" Citeren Graham Chiu <[gchiu--compkarori--co--nz]>: -> On Fri, 16 Aug 2002 10:55:18 +0200 (DFT) -> Frank Sievertsen <[fsievert--uos--de]> wrote: -> -> >I already made an image-grabbing interface for -> >VFW-devices like webcams -> >for windows which works with /view/pro -> > -> >I will send it to the list. -> > -> > -> -> Frank, -> -> Is this still coming? -> -> -- -> Graham Chiu -> -- -> To unsubscribe from this list, please send an email to -> [rebol-request--rebol--com] with "unsubscribe" in the -> subject, without the quotes. -> ->

 [10/13] from: fsievert:uos at: 19-Aug-2002 11:26


Ok, here you are. I will send c-source for the library later. It will open the first vfw-device and will show it's video. do http://www.fx5.de/REBOL/video.r It may work or not. More later. The purpose of the program is to find an object with a special color (click on it) on the video and follow it. Frank On Mon, 19 Aug 2002, Rebolinth wrote:

 [11/13] from: rebolinth::nodep::dds::nl at: 19-Aug-2002 13:24

VFW - webcam


Hello Frank, Thank you for the posting, I understand that the videotest.dll does the lowlevel access towards the VFW dll ?? You think its possible to access the VFW DLL directly from within rebol? So finaly an access to the VideoForWindows without any interaction of extra C code, just plain rebol? (R)egards, Norman. -- Conversation/lunch: "How do you Eat your Rebol in the Morning?" Citeren Frank Sievertsen <[fsievert--uos--de]>: -> Ok, here you are. I will send c-source for the library later. It will open -> the first vfw-device and will show it's video. -> -> do http://www.fx5.de/REBOL/video.r -> -> It may work or not. More later. The purpose of the program is to find an -> object with a special color (click on it) on the video and follow it. -> -> Frank ->

 [12/13] from: atruter:hih:au at: 22-Aug-2002 15:08

Re: Rebol/core likes to access/execute windows dll's


> It may work or not. More later. The purpose of the program is to find an > object with a special color (click on it) on the video and follow it. > > Frank
First opportunity I have had to try this. Worked like a dream on an iBot. Even inspired me to get out my German -> English dictionary to examine the .r file. Are the following "contextual" translations correct? ; farbe: color ; bild: picture ; gauss: ? ; akt: act ; mitte: middle ; zug: draw ; Sucht pixel =E4hnlich einer Farbe heraus: Search for pixels resembling a color out of Regards, Ashley=

 [13/13] from: atruter:hih:au at: 23-Aug-2002 17:49


> Ok, here you are. I will send c-source for the library later. It will
open
> the first vfw-device and will show it's video.
c-source, yes please! ;) I'm curious to see if it is possible / practical to provide 640x480 support, and how fast / slow that is under REBOL. Regards, Ashley