Author |
Message |
Topic: error 1148 when building a .NET-DLL |
4feuersalamander
Replies: 5
Views: 5735
|
Forum: Support Posted: Thu Aug 17, 2017 5:58 pm Subject: |
I really don't understand what do you mean with (:). Is it possible to change the code for acceptance by the compiler or seems it impossible to use arrays in the parameter list of a subroutine if buil ... |
Topic: error 1148 when building a .NET-DLL |
4feuersalamander
Replies: 5
Views: 5735
|
Forum: Support Posted: Thu Aug 17, 2017 3:33 pm Subject: |
It doesn't changed anything, if I made all those arrays star-sized, I get the error 1148 message furthermore |
Topic: error 1148 when building a .NET-DLL |
4feuersalamander
Replies: 5
Views: 5735
|
Forum: Support Posted: Thu Aug 17, 2017 12:54 pm Subject: error 1148 when building a .NET-DLL |
When trying to build a .NET DLL, at the export of the following subroutine I got the message:
error 1148 - Array PROPTOT is not of assumed shape, and so cannot appear as an argument to a routine cont ... |
Topic: function export by DLL's |
4feuersalamander
Replies: 10
Views: 9954
|
Forum: Support Posted: Thu Feb 16, 2012 9:02 pm Subject: |
Hi,
yes, if I'm looking with the dependency walker or with dumpbin /exports in the DLL, all functions seem exported, but if I call the functions in Excel, only those functions preceded by F_STDCALL c ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Thu Feb 16, 2012 8:31 pm Subject: |
Hi,
For the Net build I have copied the dbk- and cs- files into the FTN95 directory, included the Net framework v2.0 and v4.0 path to the system environment variables and tried dbk_link2 and dbk_link ... |
Topic: function export by DLL's |
4feuersalamander
Replies: 10
Views: 9954
|
Forum: Support Posted: Thu Feb 02, 2012 12:58 pm Subject: |
Hi,
the way I am doing the job is:
in the sourcecode for building test.dll (/OPTIMISE /WIDE_SOURCE /FPP) :
F_STDCALL DOUBLE PRECISION FUNCTION Property_A(X,Y)
following the fortran code for t ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Thu Feb 02, 2012 12:48 pm Subject: |
Hi,
I have tried to include your given AssemblyInfo.cs in the build of a .NET DLL by the dbk_link command "dbk_link4 if97.dll if97.dbk AssemblyInfo.cs" with no effect.
regarding the versio ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Fri Jan 27, 2012 3:50 pm Subject: |
Hi,
many thanks for the code regarding a .NET DLL.
But regarding the versioninfo of a Win32 DLL there remain little problems. If you use the following definitions
BEGIN
VALUE ... |
Topic: function export by DLL's |
4feuersalamander
Replies: 10
Views: 9954
|
Forum: Support Posted: Fri Jan 27, 2012 10:08 am Subject: |
surely I have used the compiler switch /exportall, but to my experience additionally you needs the F_STDCALL declaration preceding every function definition in your source code if exporting your fun ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Fri Jan 27, 2012 9:49 am Subject: |
Many thanks, this nearly works,
if pasting your code in my test1.rc, I can now build a Win32 DLL with a version tab, but there seems some mixing of the variables:
if you choose the version tab, you ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Thu Jan 26, 2012 6:40 pm Subject: |
If I tried to compile the file test1.rc in Plato 4.5, I got the following response:
Compiling file: test1.rc
[Silverfrost SRC/WIN32 Ver 3.65 Copyright (c) Silverfrost Ltd 2011]
0002 FILEVERSI ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Thu Jan 26, 2012 3:52 pm Subject: |
Many thanks for your response,
but to clarify the procedure:
I have to change the numbers given in the second and third line of your example and all the values between the Begin and End statement?
... |
Topic: function export by DLL's |
4feuersalamander
Replies: 10
Views: 9954
|
Forum: Support Posted: Thu Jan 26, 2012 3:43 pm Subject: |
That was exactly what I assumed, but if I tried to call the functions exported to an Excel-Add-In it doesn't work, therefore I inserted before each function the F_Stdcall declaration, and only then a ... |
Topic: missing version tab of an executable or dll file |
4feuersalamander
Replies: 20
Views: 18153
|
Forum: Support Posted: Wed Jan 25, 2012 8:24 pm Subject: |
I am creating a Win32 DLL |
Topic: function export by DLL's |
4feuersalamander
Replies: 10
Views: 9954
|
Forum: Support Posted: Wed Jan 25, 2012 8:22 pm Subject: function export by DLL's |
Hi,
apparently the compiler switch /F_STDCALL given in the help under the item compiler options is valid only for subroutines, but not for functions. As functions by the help of the function assista ... |
|