@Shannara
Yeap... This has been tested with both, on and off (on PB4 code only, cos the 3.94 version doesn't need any other safety measures besides those already in the code). Actually, with the thread safe compiling turned on the code breaks even faster.
Search found 77 matches
- Wed Aug 16, 2006 3:17 am
- Forum: Announcement
- Topic: DirectPlay Networking (with sources)
- Replies: 10
- Views: 107185
- Tue Aug 15, 2006 10:47 pm
- Forum: Announcement
- Topic: DirectPlay Networking (with sources)
- Replies: 10
- Views: 107185
DirectPlay Networking (with sources)
Howdy...
Some time ago we have made a DirectPlay wrapper DLL using PureBasic. This DLL covers almost all features of DirectPlay, has full documentation in CHM format for its usage and command set, besides sample applications in some of the most common programming languages around.
We are now ...
Some time ago we have made a DirectPlay wrapper DLL using PureBasic. This DLL covers almost all features of DirectPlay, has full documentation in CHM format for its usage and command set, besides sample applications in some of the most common programming languages around.
We are now ...
- Sat Oct 15, 2005 4:21 am
- Forum: Announcement
- Topic: K-NetLib licensing now available!
- Replies: 10
- Views: 10828
@Flype:
This is really strange... I really don't know what could cause such behavior. Can I ask for you system configuration ? (Windows & DirectX versions, at least). I've made several tests with that sample code in my system, but could not replicate the problem you're describing... I really want ...
This is really strange... I really don't know what could cause such behavior. Can I ask for you system configuration ? (Windows & DirectX versions, at least). I've made several tests with that sample code in my system, but could not replicate the problem you're describing... I really want ...
- Fri Oct 14, 2005 5:56 am
- Forum: Announcement
- Topic: K-NetLib licensing now available!
- Replies: 10
- Views: 10828
- Thu Sep 01, 2005 4:36 pm
- Forum: Coding Questions
- Topic: Threads and sharing strings
- Replies: 6
- Views: 3084
According to MSDN documentation, threads consume almost no CPU at all while waiting to gain ownership of a Critical Section or Mutex object. I've used them a lot, and I can say that they are very light and handy. You can find complete reference on Synchronization API at the following address:
http ...
http ...
- Wed Aug 31, 2005 5:15 pm
- Forum: Coding Questions
- Topic: Threads and sharing strings
- Replies: 6
- Views: 3084
- Tue Aug 30, 2005 9:57 pm
- Forum: Coding Questions
- Topic: Threads and sharing strings
- Replies: 6
- Views: 3084
- Tue Jun 21, 2005 9:20 pm
- Forum: Announcement
- Topic: K-NetLib Multiplayer Library
- Replies: 6
- Views: 2605
- Tue Jun 21, 2005 5:54 am
- Forum: Coding Questions
- Topic: Safe Threads and assoc
- Replies: 2
- Views: 1625
You'll be fine with PB and Threads if you take some precautions when dealing shared data. PB automatically imports functions from system dlls that allows us to accomplish this. These functions are:
; This goes at the top of the code.
Global CS_Object.CRITICAL_SECTION
InitializeCriticalSection_(@CS ...
; This goes at the top of the code.
Global CS_Object.CRITICAL_SECTION
InitializeCriticalSection_(@CS ...
- Sun Jun 12, 2005 4:23 pm
- Forum: Announcement
- Topic: K-NetLib Multiplayer Library
- Replies: 6
- Views: 2605
- Sun Jun 12, 2005 2:03 am
- Forum: Announcement
- Topic: K-NetLib Multiplayer Library
- Replies: 6
- Views: 2605
K-NetLib Multiplayer Library
Krylar's Kreations is proud to announce the release of K-NetLib, a DLL for acessing and controling Microsoft DirectPlay. Having almost 150 commands, K-NetLib covers all major features of DirectPlay, and we have plans to cover it entirely in a near future. The product is fully documented and you'll ...
- Tue Jun 07, 2005 2:32 am
- Forum: General Discussion
- Topic: Threads and Strings ?
- Replies: 20
- Views: 7544
Yippe...
I don't know if PB works with different Heaps, one for Strings and other(s) for any other type of data. The problem I'm experiencing with unsafe strings may not be related only to strings. If PB Heap Allocation routines are not secured with any kind of serialization, then we may experience ...
I don't know if PB works with different Heaps, one for Strings and other(s) for any other type of data. The problem I'm experiencing with unsafe strings may not be related only to strings. If PB Heap Allocation routines are not secured with any kind of serialization, then we may experience ...
- Tue Jun 07, 2005 12:17 am
- Forum: General Discussion
- Topic: Threads and Strings ?
- Replies: 20
- Views: 7544
- Mon May 02, 2005 4:55 am
- Forum: Coding Questions
- Topic: LoadLibrary() Question
- Replies: 3
- Views: 1413
- Mon May 02, 2005 4:02 am
- Forum: Coding Questions
- Topic: LoadLibrary() Question
- Replies: 3
- Views: 1413