BCB 6 Demo Code?

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
PlusPlus
Posts: 5
Joined: Sun Jun 22, 2003 11:47 pm

BCB 6 Demo Code?

Post 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.
gaivans
Posts: 71
Joined: Fri Nov 29, 2002 4:10 pm

Post by gaivans »

Hello,

The BCB demo is currently under construction but will be available soon.
Best regards,
Serghei Gaivan
gaivans
Posts: 71
Joined: Fri Nov 29, 2002 4:10 pm

Post 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.
Best regards,
Serghei Gaivan
PlusPlus
Posts: 5
Joined: Sun Jun 22, 2003 11:47 pm

re: BCB 6 Demo Code?

Post 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?
gaivans
Posts: 71
Joined: Fri Nov 29, 2002 4:10 pm

Post 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.
Best regards,
Serghei Gaivan
PlusPlus
Posts: 5
Joined: Sun Jun 22, 2003 11:47 pm

re: BCB 6 Demo Code?

Post by PlusPlus »

Thanks! That did the trick.

:D[/quote]
Post Reply