The code is a stripped version of real code, the following is nonsense but should compile.
Can you please verify if this works with PB9???
I get:
Here is the 8.04 log:
Can you please verify if this works with PB9???
Code:
#Compile Dll #Dim All Function TEST() As Long #If %pb_exe If 0 <> 1 Then End If #EndIf End Function Function LibMain (ByVal hInstance As Long, _ ByVal fwdReason As Long, _ ByVal lpvReserved As Long) As Long End Function
Code:
PowerBASIC for Windows PB/Win Version 9.00 Copyright (c) 1996-2008 PowerBasic Inc. Venice, Florida USA All Rights Reserved Error 600 in C:\DOCUME~1\EDWINK~1\BUREAU~1\NIEUWE~2\test.bas(11:010): Macro phase error, referenced before define 0000:0016 Line 11: Function LibMain (ByVal hInstance As Long, _
Code:
PowerBASIC for Windows PB/Win Version 8.04 Copyright (c) 1996-2007 PowerBasic Inc. Venice, Florida USA All Rights Reserved Primary source: C:\DOCUME~1\EDWINK~1\BUREAU~1\NIEUWE~2\test.bas {18 total lines} Target compilation: test.dll Compile time: 0.1 seconds, at 21600 lines/minute 308 bytes compiled code, 1287 bytes RTLibrary, 0 bytes string literals, and 1356 bytes dgroup. DLL does not require stack allocation. Disk image: 5120 bytes Memory image: 2643 bytes. Component Files: ---------------- C:\DOCUME~1\EDWINK~1\BUREAU~1\NIEUWE~2\TEST.BAS
Comment