WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Miscellaneous

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Simplified Extender SDK from User

Keywords:     extender sdk

UDF Functions are a wonderful thing, but there are still times when it is appropriate to write extenders.

For example, someone posted here a few weeks ago asking about an encryption algorithm. Encryption is very computationally expensive. Even if you could do it in WinBatch it would probably be painfully slow.

If you want to become a serious extender writer you should get the extender SDK (There's a copy on the WinBatch CD) and learn how to do it right.

However, for those who who might want to do one or two things and don't want to go through the full learning curve, I have written a simplified extender kit.

You'll need a C compiler. If you don't have one, you can get a free one here...

http://www.cs.virginia.edu/~lcc-win32/
And you'll need to know C. There's no shortcut for that.

Download my extender kit. It is a working extender with two sample functions. (It allows you to define up to 9 functions.)

It uses the old extender format which works for any version of win batch. (The new format has some nice new features, but it requires winbatch 2001.)

Load "Extender.C" The comments tell you how to replace my sample functions with your own. Compile it as a DLL and give it a try.

No guarantees. Use at your own risk. Etc. Etc.

Download 

Article ID:   W15180
File Created: 2017:08:29:11:51:02
Last Updated: 2017:08:29:11:51:02