Win DLL Functions 
Author Message
 Win DLL Functions

  Please post the following to newsgroup comp.databases.paradox

  I am having difficulty accessing the standard Windows DLL functions
under Paradox 7.0 for Windows 95.  One of my goals is to make the
Paradox application (under Runtime) operate in 'Always On Top' mode as
the customer wants to prevent the user from doing anything else on the
computer.  (I couldn't get system modal to work as I expected.)  As
such I have been modifying the window (extended) style via calls to
GetWindowLong, SetWindowLong, and SetWindowPos.

  With version 5.0 (running under Windows 95) I had a uses clause and
function call which worked fine as follows

Uses User
   GetWindowLong( CWORD hWnd, CWORD idx ) CLONG

   GWL_STYLE = -16
   GWL_EXSTYLE = -20

   style = GetWindowLong( windowHandle(), GWL_STYLE )

My updates to the following (based on SDK documentation) now result in
an error stating that the function was not found in USER32.DLL

Uses User32
   GetWindowLong( CLONG hWnd, CLONG idx ) CLONG

   GWL_STYLE = LongInt(-16)
   GWL_EXSTYLE = LongInt(-20)

   GetWindowLong( windowHandle(), GWL_STYLE )

Thank you,

Curtis Brown
Southwest Research Institute

Sun, 05 Sep 1999 03:00:00 GMT
 [ 1 post ] 

 Relevant Pages 

1. Calling a public function in a VB ActiveX DLL from a VC DLL

2. Function call in a stored procedure (.dll function)

3. External function calls to functions in wbtrv32.dll

4. HTTPODBC.DLL won't validate RequiredParameters - why?

5. ssmssh70.dll problem connection won't work

6. problems with sscesa20.dll for replication on win .net server

7. DTS Import/Export Wizard won't run - Error in the DLL - CoCreateInstance Error

8. problems with sscesa20.dll for replication on win .net server

9. ActiveX DLL won't close from IE

10. Q: Delphi, winsock.dll, win-OS/2

Powered by phpBB® Forum Software