Search found 3324 matches

by mwieder
Sun Jul 13, 2008 11:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Implications of AlternateLanguages
Replies: 8
Views: 5106

Your nephew is spot on. However, VBScript does have wide support and is in some cases the *only* way to achieve certain automation tasks in Windows environments. I'm able to automate MSOffice tasks (MSWord, PowerPoint) by spawning VBScripts directly from rev. Not much fun, but when you gotta you got...
by mwieder
Sun Jul 13, 2008 3:36 am
Forum: Building Externals
Topic: MIDI input events
Replies: 4
Views: 13283

Not sure what you're getting at here... sysex messages are *very* dependent on the equipment you're talking to. If you're trying to handle sysex messages yourself, you'd want to start collecting data from the start of the sysex stream (byte: F0 followed by byte: mfg id) until the EOX message (byte F...
by mwieder
Thu Jun 12, 2008 6:28 pm
Forum: Internet
Topic: Automatically detecting proxy setting... How?
Replies: 8
Views: 14915

I hate proxy servers. However, my experience is that rev does indeed follow the Windows registry proxy server settings. Note that there's a ProxyEnable key in addition to the ProxyServer key. And that IE's cacheing may affect things as well. These *are* http requests you're trying to send, right? No...
by mwieder
Sat May 17, 2008 8:37 pm
Forum: Building Externals
Topic: Passing arguments to overloaded functions
Replies: 3
Views: 7068

Yeah, sorry bout that. I'm not much of a web-forum guy myself - only check in here every six months or so. At any rate, your code looks good, and as you point out your second check for > 3 probably isn't necessary. There's nothing in what you posted that would require freeing memory (the engine take...
by mwieder
Sat May 17, 2008 1:51 am
Forum: Building Externals
Topic: Passing arguments to overloaded functions
Replies: 3
Views: 7068

That's the way I'd think of coding it, too. You can try handing your argument list to a C++ set of overloaded functions, but I think the overhead would end up slowing things down and complicating the code. I think you'll find it hard to get faster than a switch statement.
by mwieder
Sat May 17, 2008 1:48 am
Forum: Building Externals
Topic: MIDI input events
Replies: 4
Views: 13283

Paul- You have to code an event loop in your external dll. I've had to do this exactly once in making externals and it was the weirdest dll I've ever made. Normally you don't expect to put a whole event loop into a dll, but that's the way you catch these messages. From that point it's a pretty simpl...
by mwieder
Fri Feb 09, 2007 6:24 pm
Forum: Windows
Topic: Utilizing VB Script execution?
Replies: 24
Views: 28508

I control Office apps from rev through the use of a spawned vbscript task that interacts with Office COM objects, if that's what you mean.
by mwieder
Thu Feb 08, 2007 8:48 pm
Forum: Using Externals
Topic: Basic stack call to a .dll
Replies: 8
Views: 13627

It's true - if the dll isn't an ActiveX control then vbscript won't be able to talk to it. Thank you Microsoft. Regarding the wrapper functions, check out the GetDriveType example in the externals sdk. I don't know how many functions you have to deal with in your library, but that should give you an...
by mwieder
Wed Feb 07, 2007 11:55 pm
Forum: Using Externals
Topic: Basic stack call to a .dll
Replies: 8
Views: 13627

...but also check out Ken Ray's excellent writeup on how to use non-rev dlls in Windows using vbs:

http://www.sonsothunder.com/devres/revo ... ext002.htm

Go to advanced search