Emanuele Coli

Member since: Tuesday, 26 August 2014
Last login: 4 years ago
Profile viewed: 1,498 views

No Rank
Points: 0

Emanuele Coli created a new topic ' C++Builder debug: Process is not accesible' in the forum. 4 years ago

My problem appears sometimes when debug my application.
I stop application with a breakpoint. If I perform "Step over" I've no problem: I can see variables in the watch, inspect, etc... But, if I perform a "Trace into", my process freezes and and I've this message "Process is not accesible" in call stack window.
I'm in debug, all debug is on.

Regards

Read More...

Emanuele Coli is friends with DavidI

Emanuele Coli is friends with @aprilanne

Emanuele Coli posted a comment on New in 10.2.3: Using CMake with Ninja 5 years ago

Hi David, the posts about cmake are very useful and well done! I've seen only a little error in these documentation: links for examples and documentation is not accessible ("all our examples use it" and "our documentation"). Access denied in these pa

Emanuele Coli created a new topic ' C++Builder Tokyo file not found in building' in the forum. 5 years ago

Sometimes I've this error when I compile a project. But, as you can see in the other image, I'm building a OSX target (using RUN command). But the same error sometimes appears also when I compile a Win32 target also when I've a project with only win32 target.
This error disappears at next build.

I see this error in C++ Tokyo (10.2.2) but also in previous version.
Errore_1.PNG

Errore.PNG

This is the text (copy - past from image)



Error
Cannot open file "C:\Users\Public\Documents\Embarcadero\Studio\19.0\CatalogRepository\AndroidSDK-2433_19.0.29039.2004\tools\MainForm.cpp". Impossibile trovare il file specificato.
OK


Read More...

Emanuele Coli created a new topic ' Boolean ambiguity in USB OSX header' in the forum. 5 years ago

I have this issue:

[bccosx Error] USB.h(1165): E2015 Ambiguity between 'Boolean' and 'System::Boolean'
Full parser context
maccomdevice.cpp(24): #include C:\Users\emcoli\Documents\Embarcadero\Studio\SDKs\MacOSX10.10.sdk/System/Library/Frameworks\IOKit.framework/Headers/usb/USB.h
USB.h(1160): class LowLatencyUserBufferInfo


I can solve this problem if I modify usb.h header (but this is a framework library):
Boolean isPrepared; --> System::Boolean isPrepared;

But is this correct?

Read More...

Emanuele Coli replied to the topic 'Wrong File Search window in C++Builder 10.2.2' in the forum. 5 years ago

Solved!
The problem is due to change Windows zoom of whole elements. (control panel -> screen).

Read More...

Emanuele Coli created a new topic ' C++Builder IDE very slow when closing' in the forum. 5 years ago

I use c++Builder 10.2.2 in Win10 pro (PC HP i5, 12GB RAM) . If I have network cable connected, bds.exe process is very slow during closing. This process (dbs.exe) remains in memory up to 1 minute after exit from application (File -> Exit).
If network cable is disconnected, bds.exe terminates immediatly after close the IDE.

Read More...

Emanuele Coli created a new topic ' Using TJson::ObjectToJsonString in C++ fails' in the forum. 5 years ago

I try to use ObjectToJsonString in C++Builder (10.2.2) application.
I try to write a simple program (see below - is a FMX forms, with a memo and a button):

//


class TPippo: public TObject {
public:
int a;
TPippo() : TObject() {a = 0;};
__published:
__property int A = {read=a,write=a};
};
//

void __fastcall TForm1::Button1Click(TObject *Sender) {
TPippo *p = new TPippo();
p->A = 100;
Memo1->Text = TJson::ObjectToJsonString(p);
delete p;
}
//
//
The result is an empty JSON string: {}

After this I tryed to serialize a TButton object:
Memo1->Text = TJson::ObjectToJsonString(Button1);
but serialization fails with exception:
Project Project1.exe raised exception class $C00000FD with message 'stack overflow at 0x77c7bef0'.

Read More...

Emanuele Coli created a new topic ' Wrong File Search window in C++Builder 10.2.2' in the forum. 5 years ago

These are screenshot of windows "Find in files" in C++IDE (10.2.2).
As you can see, the lower side is wrong (ad the window is not resizable) . The problem is in both theme (dark theme and standard theme)
FindInFiles_dark.PNG
FindInFiles.PNG

My PC:
- HP ProBook 650
- display: 1920 x 1080

Read More...

Emanuele Coli is friends with MT Kelly

Emanuele Coli is friends with Craig Chapman