DLL is not properly constructed.
Hi Friends,
I am trying to wrap up a C DLL and write a client which uses the dll. I have written the C code and compiled it as a DLL. At run time, the client raises the following exceptions.
SYSTEM ERROR: Exception raised in user application.
Class: qqsp_ErrorDescriptor
Error Time: Tue Oct 28 14:15:02
Exception occurred (locally) on partition "Forte_cl0_Client", (partitionId
= 9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2, taskId =
[9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2.16]) in application
"FTLaunch_cl0", pid 4294113587 on node BRAZIL in environment centrale.
USER ERROR: The dynamic library c:\forte\userapp\testdll\cl0\TestDLL for the
project TestDLL is not properly constructed.
Class: qqsp_ExistenceException
Detected at: qqsh_ScopeLoader::Load at 1
Last TOOL statement: method UserApp.Run
Error Time: Tue Oct 28 14:15:01
Exception occurred (locally) on partition "Forte_cl0_Client", (partitionId
= 9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2, taskId =
[9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2.16]) in application
"FTLaunch_cl0", pid 4294113587 on node BRAZIL in environment centrale.
SYSTEM ERROR: System Error: The specified procedure could not be found.,
loading the symbol 'TestDLL_GetScope' from the library
'c:\forte\userapp\testdll\cl0\TestDLL.dll'.
Class: qqos_DynamicLibraryException
Error #: [101, 30]
Detected at: qqos_DynamicLibrary::OSFindSymbol at 1
Error Time: Tue Oct 28 14:15:01
Exception occurred (locally) on partition "Forte_cl0_Client", (partitionId
= 9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2, taskId =
[9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2.16]) in application
"FTLaunch_cl0", pid 4294113587 on node BRAZIL in environment centrale.
I dont undrestand why my DLL is not "properly constructed". I am using a MSVC++ compiler, command line tools and Forte 3.0.E.0 on a Win95 machine.
Please help!!
Ajith Kallambella M
International Business Corporation
ajith@ibcweb.com
[2159 byte] By [
] at [2007-11-25 5:00:56]

The first suggestion that comes to mind is to make
sure that you're exporting all of the symbols (functions)
that you are going to use in the DLL (especially the GetScope
function, which Forte is complaining about not being able
to find).
Chad Stansbury
Born Information Services Group
chad.stansbury@born.com
-
From: Ajith Kallambella
To: 'Forte'
Sent: 10/28/97 2:36:27 PM
Subject: DLL is not properly constructed.
Hi Friends,
I am trying to wrap up a C DLL and write a client which uses the
dll. I have written the C code and compiled it as a DLL. At run time,
the client raises the following exceptions.
SYSTEM ERROR: Exception raised in user application.
Class: qqsp_ErrorDescriptor
Error Time: Tue Oct 28 14:15:02
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= 9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2, taskId =
[9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2.16]) in
application
"FTLaunch_cl0", pid 4294113587 on node BRAZIL in environment
centrale.
USER ERROR: The dynamic library c:\forte\userapp\testdll\cl0\TestDLL for
the
project TestDLL is not properly constructed.
Class: qqsp_ExistenceException
Detected at: qqsh_ScopeLoader::Load at 1
Last TOOL statement: method UserApp.Run
Error Time: Tue Oct 28 14:15:01
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= 9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2, taskId =
[9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2.16]) in
application
"FTLaunch_cl0", pid 4294113587 on node BRAZIL in environment
centrale.
SYSTEM ERROR: System Error: The specified procedure could not be found.,
loading the symbol 'TestDLL_GetScope' from the library
'c:\forte\userapp\testdll\cl0\TestDLL.dll'.
Class: qqos_DynamicLibraryException
Error #: [101, 30]
Detected at: qqos_DynamicLibrary::OSFindSymbol at 1
Error Time: Tue Oct 28 14:15:01
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= 9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2, taskId =
[9BB76230-4568-11D1-92D8-3BFEA6DEAA77:0x1bb:0x2.16]) in
application
"FTLaunch_cl0", pid 4294113587 on node BRAZIL in environment
centrale.
I dont undrestand why my DLL is not "properly constructed". I
am using a MSVC++ compiler, command line tools and Forte 3.0.E.0 on a
Win95 machine.
Please help!!
Ajith Kallambella M
International Business Corporation
ajith@ibcweb.com
at 2007-6-29 9:19:49 >
