I tried adding CoolTips to my Multi-Dll system. 1) I added CoolTips Global Extension to my Data Dll that also contains CapeSoft WinEvent.
Getting Duplicate Errors on:
CW_USEDEFAULT
KEY_QUERY_VALUE
It compiled without any errors.
2) Compiling my Data Dll for the second time.
Getting 23 errors
I downloaded the Zip file.
I compared my old C6 CoolTips version of ttutillib.c to the newly downloaded one with Beyond Compare and they are both the same.
Hi Randy,
First of all, thanks for helping.
I can compile the Example app as many times as I like without any errors.
I have attached the Zip files I downloaded as well as the People Example app that I added CoolTips to.
This is what I found so far.
Delete all the generated CLW, MAP, LIB, OBJ, INC, XML, EXP files.
Compile AllFiles.App, no errors.
Compile Updates.App, no errors.
Compile Reports.App, no Errors.
Compile DllTutor.App, no errors.
Program run 100%.
Do any Change to AllFiles,App and compile, Error: Illegal data type: TOOLTIPCLASS - C:\DLLTutorCoolTips\obj\release\Allfiles001.clw:14,21
Delete all the generated AllFiles CLW, MAP, LIB, OBJ, INC, XML, EXP files.
Compile AllFiles.App, no errors.
Compile Updates.App, Error: Illegal data type: TOOLTIPCLASS - C:\DLLTutorCoolTips\obj\release\Updates001.clw:66,21 and 90 other errors.
Delete all the generated Updates CLW, MAP, LIB, OBJ, INC, XML, EXP files.
Hi Graham,
You were 100% correct.
Took of the Conditional Compile tick and I can compile the DllTutor and ClearText examples as many times as I like without any errors.
Thank you very much for the tip and help.
After all this time SV can still not get Conditional Compile to work properly.
I have added CoolTips Global Template my Multi-Dll Data Dll. 1) Compile 2) Getting Duplicate Errors on: a) KEY_QUERY_VALUE - Label duplicated, second used: KEY_QUERY_VALUE - C:\Clarion10\Accessory\LibSrc\Win\WinEvent.Inc:693 b) CW_USEDEFAULT - Label duplicated, second used: CW_USEDEFAULT - C:\Clarion10\Accessory\LibSrc\Win\cspwapi.inc:68 3) Getting 13 Errors: a) Syntax error in #pragma command C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:2,1960 b) typedef unsigned char byte;
Declaration syntax error - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:25,23
Syntax error, expected: ; : [ ( { :: C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:25,9 c) typedef void far * PDVI;
Declaration syntax error C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:26,23
Syntax error, expected: ; : [ ( { :: - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:26,9 d) byte pascal CallDllGetVersion(byte (pascal fpDllGetVersion)(PDVI), PDVI dvi);
Declaration syntax error - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:28,13
Syntax error, expected: . -> . ->* [ ( ) , :: … - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:28,74
Syntax error, expected: ; : [ ( { :: - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:28,6
Syntax error, expected: ; , ( [ - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:30,13
Syntax error, expected: . -> .* ->* [ ( ) , :: … - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:30,74
Syntax error, expected: ; : [ ( { :: - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:30,6 e) return((*fpDllGetVersion)(dvi));
Undeclared identifier ‘return’ - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:32,3 f) }
function ‘CallDllGetVersion’ does not return a value - C:\Clarion10\Accessory\LibSrc\Win\TTUTILLIB.C:33
UPDATE:
One thing I did pickup it that the DllTutor AllFiles.App creates a “TTUTILLIB.obj” in my OBJ\Release folder when I compile it.
My Data Dll does not create the “TTUTILLIB.obj” at all.
If I remove CoolTips Global Template from my Data-Dll it compiles 100%.
I then added CoolTips Global Template to all my other Dll’s and my Exe, everything compiles 100%.
All my tips shows as Balloon tips.
Except for the procedures in my Data-Dll which is expected because I had to remove CoolTips from my Data-Dll to get it to compile.
Do you have any idea why it would not compile in my Data-Dll and why it would give me errors in my Data-Dll?