Hi Tobias,
I found some problem using last version with C++ when i compile with *.lib it cannot compile and the linker report the error
[ILINK32 Error] Fatal: Unable to open file 'DB.OBJ'
more over when i compile in standard way the application doesn't start at all. Removing all reference from SmartInspect the application run fine.
BTW C++ is officially supported or not ?
Regards
Ing Giuseppe 'Geppo' Monteleone
Subscribe to forum
Forum
Problemi with C++
Page: 1
| Author | Post |
|---|---|
|
#1 Wed Mar 26, 2008 1:20 am
|
|
|
Member
Registered: Sep 2007
Posts: 19
|
|
|
#2 Wed Mar 26, 2008 5:44 pm
|
|
|
Administrator
Registered: Sep 2007
Posts: 134
|
Hello Giuseppe,
Actually, (Borland/CodeGear) C++ is supported, but I must admit that it does not get the same attention in respect to testing as the primary platforms (Delphi, Java and .NET). Which version of C++ do you use? |
|
#3 Wed Mar 26, 2008 10:11 pm
|
|
|
Member
Registered: Sep 2007
Posts: 19
|
Hi Tobias,
I have RADStudio 2007 With december update. Help show me this version 11.0.2902.10471. Thanks for help Regards Ing Giuseppe 'Geppo' Monteleone |
|
#4 Wed Mar 26, 2008 11:53 pm
|
|
|
Member
Registered: Sep 2007
Posts: 19
|
Eureka!
problem solved!! 1) for problem compiling a SmartInspectEnabled app. you need include SmartInspect BPL in system path, I think that your new installer doesn't update ENV PATH variable and debugger give strange error when doesn't find a Bpl 2) for static link you have to include followin lines in your file (I put these in main form) #pragma link "SmartInspectD2007.lib" Regards Ing Giuseppe 'Geppo' Monteleone |
|
#5 Thu Mar 27, 2008 10:59 pm
|
|
|
Administrator
Registered: Sep 2007
Posts: 134
|
Hello Giuseppe,
Thanks for the update. I will make sure that we integrate this information into our help and also look into fixing into the installer issue. By the way, if you are not using any database logging routines, you should be able to remove the dependency on dbrtl.lib if you define "SI_DISABLE_DB" (for example, in the SmartInspect.inc include file) and recompile the source code. {$DEFINE SI_DISABLE_DB} |
Page: 1