Search found 28 matches

by dmaksimiuk
Mon Dec 05, 2016 1:05 pm
Forum: BlackBox Framework
Topic: Heap limit
Replies: 12
Views: 28999

Re: Heap limit

Hi Josef,
thanks for testing it. My machine runs 64bit Win10 with 16GB RAM and yet, I got (so far) the worst results :roll: .

Cheers,
Darek
by dmaksimiuk
Thu Dec 01, 2016 6:31 pm
Forum: BlackBox Framework
Topic: Heap limit
Replies: 12
Views: 28999

Heap limit

Dear All, In the trivial code below I am crating a linked list of buffers. At first I was thinking that the limit on the number of allocated elements depends on the available RAM memory (in 32bit address space). To my surprise, the BBox environment started "yelling" at me when the number o...
by dmaksimiuk
Thu Apr 07, 2016 12:42 pm
Forum: Component Pascal
Topic: Mapping opaque pointers
Replies: 1
Views: 10134

Mapping opaque pointers

Hi, in C there is something called an opaque pointer (https://en.wikipedia.org/wiki/Opaque_pointer): typedef struct MyDataStruct_t *PtrToMyDataStr; which allows to hide any implementation details of MyDataStruct. I need to write a BBox interface to a DLL that uses this approach. I am not sure if I s...
by dmaksimiuk
Mon Mar 28, 2016 7:01 am
Forum: Common questions
Topic: Checking (not only) GUI capabilities
Replies: 11
Views: 19738

Re: Checking (not only) GUI capabilities

Hi Ivan,
thanks for your help.

Cheers,
Darek
by dmaksimiuk
Thu Mar 24, 2016 10:56 am
Forum: Common questions
Topic: Checking (not only) GUI capabilities
Replies: 11
Views: 19738

Re: Checking (not only) GUI capabilities

Hi Ivan, thanks for the compiled version of the ypk subsystem. I will give it try this weekend. Just an idea. Maybe there should be a "beefy" version of the BBox environment that contains a set of compiled and installed subsystem (Pac, Ctls, Cpc, Desktop, and for me Robert's Libs :), etc)....
by dmaksimiuk
Wed Mar 23, 2016 8:06 am
Forum: Common questions
Topic: Checking (not only) GUI capabilities
Replies: 11
Views: 19738

Re: Checking (not only) GUI capabilities

Hi Ivan, thanks for your replay. So, far I am using version 1.6 of the BBox because under newer versions I could not compile the ypk (I needed UDP functionality) subsystem due to some changes in the WinApi definitions. If the answer to my questions is 3 x yes, then how I can achieve these results? A...
by dmaksimiuk
Thu Mar 17, 2016 8:32 am
Forum: Common questions
Topic: Checking (not only) GUI capabilities
Replies: 11
Views: 19738

Checking (not only) GUI capabilities

Hi All, I always tried to avoid any GUI programming in any language I have used :lol: (maybe except Matlab) and I was Ok-ish. Unfortunately/fortunately it is time to change it. I have started to use Robert's plotting libs, and so far I am happy with the results. To keep the story short, these are my...
by dmaksimiuk
Fri Jan 29, 2016 2:03 pm
Forum: Component Pascal
Topic: How to (correctly) implement it?
Replies: 2
Views: 12122

How to (correctly) implement it?

Hi All, I have to interact with an external device through a DLL. In order to map arrays from C to BBoxCP I have to use the modifier "untagged" while declaring an array type on the CP part. One of the restrictions of the BBox is that I cannot allocate such arrays dynamically (using NEW). T...
by dmaksimiuk
Mon Oct 19, 2015 5:25 pm
Forum: BlackBox Framework
Topic: How to use CommUDP
Replies: 2
Views: 6280

Re: How to use CommUDP

Hi Ivan,
Thanks!

Cheers,
Darek
by dmaksimiuk
Mon Oct 19, 2015 3:10 pm
Forum: BlackBox Framework
Topic: How to use CommUDP
Replies: 2
Views: 6280

How to use CommUDP

Hi All, For time being I have decided to go back to BBox v.1.6. I got the ypkCommUDP subsytem compiled. I tried to modify sources of modules CommObxStreamsClient and CommObxStreamsServer and I have the protocol "CommTCP" replaced with "CommUDP". Probably this is not right way to ...