- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am running a Thread from my program but on compiling the following code I get some warning.
subroutine XXX
use dfmt
implicit none
integer hThread2,ThreadID3 ,NULL_SECURITY_ATTRIBUTES
hThread2=CreateThread(NULL_SECURITY_ATTRIBUTES,0, &
W_search_entry2, 0, 0, LOC(ThreadID3))
Warning: Variable NULL_SECURITY_ATTRIBUTES is used before its value has been defined:
hThread2=CreateThread(NULL_SECURITY_ATTRIBUTES,0, &
Can you help me,
RJAR
I am running a Thread from my program but on compiling the following code I get some warning.
subroutine XXX
use dfmt
implicit none
integer hThread2,ThreadID3 ,NULL_SECURITY_ATTRIBUTES
hThread2=CreateThread(NULL_SECURITY_ATTRIBUTES,0, &
W_search_entry2, 0, 0, LOC(ThreadID3))
Warning: Variable NULL_SECURITY_ATTRIBUTES is used before its value has been defined:
hThread2=CreateThread(NULL_SECURITY_ATTRIBUTES,0, &
Can you help me,
RJAR
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NULL_SECURITY_ATTRIBUTES is not declared, so it becomes an implicitly declared variable which is uninitialized. After the line:
USE DFMT
add the line:
USE DFWINTY
That will provide the declaration of NULL_SECURITY_ATTRIBUTES.
Steve
USE DFMT
add the line:
USE DFWINTY
That will provide the declaration of NULL_SECURITY_ATTRIBUTES.
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page