TestEnvWithMultipleDlls
[Test applications]

Win32 console application "TestEnvWithMultipleDlls.exe" demonstrates how to use the test utilities also from one or more user DLLs. More...

Collaboration diagram for TestEnvWithMultipleDlls:

Modules

 ExampleDll
 

"ExampleDll.dll" is a simple Win32 DLL that demonstrates the usage of some of the test utilities from within a DLL.



Detailed Description

Win32 console application "TestEnvWithMultipleDlls.exe" demonstrates how to use the test utilities also from one or more user DLLs.


Short description:

To use TestUtilities within DLLs


Run-Log:

 _tmain-Begin
 Creating Environment
 Environment=003B65B0
 GetSourceDir=c:\userdata\gerald\sw\c\testtoolbox
 GetOutputDir=C:\My Target\debug
 Change path settings of environment

 Now calling AccessEnvironmentWithinExampleDll
 AccessEnvironmentWithinExampleDll-Begin
 Environment=003B65B0
 GetSourceDir=Y:/Path/Was/Set/ByMainFunction
 GetOutputDir=Z:/AlsoSetFromMain
 Change path settings of environment
 AccessEnvironmentWithinExampleDll-End

 AccessEnvironmentWithinExampleDll() returned, now check again path settings
 Environment=003B65B0
 GetSourceDir=Q:/SomePathSetFromExampleDll
 GetOutputDir=R:/AnotherPathSetFromExampleDll

 Now calling AccessTestEventsWithinExampleDll
 AccessTestEventsWithinExampleDll-Begin
 INFO: List of stored TestEvents:
 ?? Something happened in main
 ?? Also in Dll an event occured

 AccessTestEventsWithinExampleDll-End
 _tmain-End
See also:
TestEnvWithMultipleDlls.cpp (file documentation)
Using TestInstanceDll (detailed usage documentation)
Generated on Fri May 27 22:52:39 2011 for TestToolBox by  doxygen 1.6.3