Page 1 of 1

BCB 6 Demo Code?

Posted: Sun Jun 22, 2003 11:49 pm
by PlusPlus
I just purchased VCL Scheduling Agent, and it looks like it has everything that I need. Is there any demo code for C++ Builder 6? The only example code that came with the package is for Delphi.

Posted: Mon Jun 23, 2003 6:14 am
by gaivans
Hello,

The BCB demo is currently under construction but will be available soon.

Posted: Wed Jun 25, 2003 1:25 pm
by gaivans
Hello,

The new BCB demo project is now available for download from
http://www.sicomponents.com/soft/demo_sa_bcb.zip
This demo will be also included in the next version release of SiComoponents Scheduling Agent.

re: BCB 6 Demo Code?

Posted: Thu Jun 26, 2003 8:51 pm
by PlusPlus
Hi,

Thanks for the demo code, but I can't seem to get it to build under BCB 6. I'm getting all kinds of errors with regard to your use of many of the shell extension objects and functions. Any ideas on what I can try to make this work?

Posted: Fri Jun 27, 2003 7:01 am
by gaivans
Hello,

Here the Borland's trick to solve this issue under BCB6 (taken from ShlObj.hpp):
// If problems occur when compiling win32 structs, records, or
// unions, please define NO_WIN32_LEAN_AND_MEAN to force inclusion
// of Windows header files.
So, open the "Project|Options...", add this conditional define
NO_WIN32_LEAN_AND_MEAN, and then re-build the project.

re: BCB 6 Demo Code?

Posted: Fri Jun 27, 2003 7:37 am
by PlusPlus
Thanks! That did the trick.

:D[/quote]