Yes, pItem is checked before that section.
Type: Posts; User: Dirty Sanchez
Yes, pItem is checked before that section.
I am having some problems with the following code...
I believe it should pass through without any major issues. Am I doing enough checking for NULL pointers in here.
Within the Netware...
I am in the process of creating an ATL COM Dll that I call from VB.
The DLL sets up Windows Sockets, and processes messages received. I'm receiving from a constant data source, so I'm not...
I am trying to port a Multithreaded app from a multi-server Netware architecture to a Single server Windows 2000 architecture.
At present, I am using the Netware API to provide IPX sockets...
I'm with some of the other guys.
Each is useful in different contexts. If you don't need to go into the loop at least once, why bother.
DS
The reason for using LPSTR with integer values is that the code I am working on uses TextOut to write out the values.
There is also a function to insert commas into the numeric values for...
Morning.
LPSTR is just a *char isn't it...
If this is the case, does a string variable (i.e. lpszString) created with LPSTR have the same restrictions on size as a single char?
i.e., if I...
I didn't see an fclose()
- I'm using fclose() and remove() later on in the code
You're absolutely sure that CheckSODFile(); is being called when it's inside the if statement?
Is bStartOfDay not...
Setting the variable bLesResent to volatile didn't make any difference.
I'm trying to use fopen (FILE, "r") to check for file existence now. access appears to be a Windows function. Playing it...
Salem,
a) using thread-safe libraries
- Not sure. This is for a Netware 3.2 NLM, and I am using standard C libraries, and the NLM libraries from Watcom10.
b) using thread syncronisation...
I've got a problem with the following code:
if (bLesResent == TRUE) // Set in ResendLesThread - okay
{
CheckSODFile(); //Problem line
ConsolePrintf( " bStartOfDay = %d bLesResent =...