Building 32 bit DLL from 32 bit EXE 
Author Message
 Building 32 bit DLL from 32 bit EXE

Problem: Building 32 bit DLL from 32 bit EXE

We have got an 32 bit application (Etik.exe ) which is running fine.
It uses a 32 bit DLL (Suche.dll). This DLL exports all file
declarations,
like it's described in User's Guide (Development and Deployment
Strategies -
Sub-Application-Approach).
Now we try to divide our Etik.exe in a separate 32 bit DLL (Tdl.dll)
and a 32 bit EXE (EtStart.exe).
The result: Compiling, linking, starting Etik.exe is successfull! But
when
we try to call a procedure exported by our new Tdl.dll an error occurs
(Seitenzugriffsfehler in EXE-Datei / Page access error). In addition to
this we use another DLL (Pflege.dll), which can be used without
problems.
Suche.dll also runs fine.
Compiling all APP's in 16 bit works fine!!!

What is the difference?
Are there any Properties that need to be changed when porting to 32 bit?

Notes:
- Etik.exe is generated by Application Generation Wizard
- All others are handcreated, the Procedures generated by
       Procedure Generation Wizard
- During our development process we recognized that the
  Applicatin Wizard don't generate procedures any more.
- In the exported TXA-file of Tdl.dll the section [PROJECT]
  is empty! The corresponding section in Pflege.txa contains some
  compile-options (#system, #model, #compile, ...).

Our environment: Clarion for Windows 2.003 (with german templates)
                 Windows 95 (german)

architecture:                EtStart.exe
                              |       |
                             |         |
                            |           |
                       Pflege.dll     Tdl.dll
                            |           |
                             |         |
                              |       |
                              Suche.dll
Any ideas???
Best Regards
K.-H.    Ulf

------------------------------

---------- Germany -----------
------------------------------



Sat, 24 Jun 2000 03:00:00 GMT  
 Building 32 bit DLL from 32 bit EXE

Hi

Be sure to use Application > Insert Module > External DLL (and not
External Lib). I think this might be your problem.

Regards
Malcolm Collett
===============
mcollett AT iafrica DOT com

--------------------------------------------------

KHS wrote

Quote:
>Problem: Building 32 bit DLL from 32 bit EXE

>We have got an 32 bit application (Etik.exe ) which is running fine.
>It uses a 32 bit DLL (Suche.dll). This DLL exports all file
>declarations,
>like it's described in User's Guide (Development and Deployment
>Strategies -
>Sub-Application-Approach).



Sun, 25 Jun 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Calling 32-bit FORTRAN dlls from 32-bit VB

2. Division 32-Bit/32-Bit with 16-Bit Register

3. Can I use 16 bit DLL and 32-bit exe together

4. EXE 32 bit and DLLs 16 bit ?

5. Loading a 32-Bit DLL into a 16-Bit DLL

6. 32 Bit ASM from 32 Bit Windows COBOL

7. 32 Bit ASM from 32 Bit Windows COBOL

8. top 32 bits of 64-bit product of two 32-bit integers

9. 32-bit ST/V outruns 32-bit ST80 on Intel

10. Disassemble/Re-assemble DLLs 16-bit to 32-bit

11. Calling 32-bit DLLs from 16-bit code

12. Make 16 /32 Exe , calling TS 16-BIT DLL

 

 
Powered by phpBB® Forum Software