Search found 139 matches

by Korolev Michael
Mon Feb 20, 2017 8:14 am
Forum: Feature Requests and Wishlists
Topic: Add support for custom element names in XML extract/insert
Replies: 0
Views: 1291

Add support for custom element names in XML extract/insert

ExtractXMLList()
InsertXMLList()

From docs:
The inserted node is named "list" and the contained element nodes are named "element". See below for an example of the created XML.


At this moment i need to name my node elements according to this:
<list>
<element>square</element>
<element>circle ...
by Korolev Michael
Mon Mar 14, 2016 7:41 am
Forum: Feature Requests and Wishlists
Topic: Does window timer still exist?
Replies: 4
Views: 2210

Re: Does window timer still exist?

Thanks, that's good solution.
Didn't think about overloading.
by Korolev Michael
Sun Mar 13, 2016 7:52 pm
Forum: Feature Requests and Wishlists
Topic: Does window timer still exist?
Replies: 4
Views: 2210

Re: Does window timer still exist?

track it quite easily
HOW?

When I cancelled timer, how then I can check, is it running or not?
by Korolev Michael
Sun Mar 13, 2016 4:10 pm
Forum: Feature Requests and Wishlists
Topic: Does window timer still exist?
Replies: 4
Views: 2210

Does window timer still exist?

I suppose, we need a function kinda "IsWindowTimer", that checks whether timer still alive.
Just like "IsThread"

Oh my god, I found duplicate 2010-year thread.
by Korolev Michael
Mon Feb 22, 2016 3:30 pm
Forum: Coding Questions
Topic: [Windows] Processing system messages
Replies: 6
Views: 1517

Re: [Windows] Processing system messages

netmaestro, from your link:
[...]and does not receive broadcast messages.[...]
I'm not sure if it fit for me.
by Korolev Michael
Mon Feb 22, 2016 10:46 am
Forum: Coding Questions
Topic: [Windows] Processing system messages
Replies: 6
Views: 1517

Re: [Windows] Processing system messages

Thanks a lot.
by Korolev Michael
Mon Feb 22, 2016 10:38 am
Forum: Coding Questions
Topic: [Windows] Processing system messages
Replies: 6
Views: 1517

[Windows] Processing system messages

My app works without GUI.
But sometimes I need to process some system events, for example, WM_QUERYENDSESSION:
Procedure WinCallback(hWnd, uMsg, wParam, lParam)
If uMsg = #WM_QUERYENDSESSION
...Some code...
EndIf
ProcedureReturn #PB_ProcessPureBasicEvents
EndProcedure
But for processing system ...
by Korolev Michael
Mon Feb 22, 2016 9:59 am
Forum: Coding Questions
Topic: How to convert this code from Wikipedia?
Replies: 5
Views: 1400

Re: How to convert this code from Wikipedia?

BASIC DVK
DO YOU NEED EXTENDED FUNCTIONS? 1
HIGHSPEED DEVICES? 1
SETUP EXTERNAL FUNCTION? 1
RAM? 48
WAIT
... some code ...

LAST TWO STRINGS:
STOP AT STRING 35
WAIT
by Korolev Michael
Thu Feb 18, 2016 6:13 pm
Forum: Coding Questions
Topic: Best practics for programming crossplatform applications?
Replies: 10
Views: 1535

Best practics for programming crossplatform applications?

How do you organize your code in case of developing crossplatform applications?
Creating separate modules?
Or declaring procedures depending of current compiler?
Or something else?
by Korolev Michael
Thu Feb 18, 2016 6:00 pm
Forum: Feature Requests and Wishlists
Topic: Named mutex objects for all OS.
Replies: 0
Views: 1193

Named mutex objects for all OS.

At now we can create only simple unnamed mutex object.
But what I need to do if I need to create name mutex?

For Windows:

Code: Select all

*g_mutex = CreateMutex_(#Null,1,#App$)
For Linux...?
by Korolev Michael
Tue Feb 16, 2016 3:14 am
Forum: Windows
Topic: Coded in PB windows service crashes if using InitNetwork()
Replies: 6
Views: 3725

Re: Coded in PB windows service crashes if using InitNetwork

Cannot confirm.
Windows 7 x64 SP1
Windows XP x86 SP3
by Korolev Michael
Mon Feb 15, 2016 5:03 pm
Forum: Windows
Topic: Possible Bug with WebGadget Scrolling
Replies: 3
Views: 2886

Re: Possible Bug with WebGadget Scrolling

Oh my god.
by Korolev Michael
Tue Feb 09, 2016 11:58 am
Forum: Coding Questions
Topic: Network question
Replies: 0
Views: 741

Network question

After connection from client to server, before receiving data, server tries to reply to client by SendNetworkString().
Then, I want to receive data from client. But in this case NetworkServerEvent() doesn't generate #PB_NetworkEvent_Data event.
Why?

Client ...