Author |
Message |
Topic: Bulding Visual Clearwin Examples with VS2008 |
Astelix
Replies: 3
Views: 6395
|
Forum: Support Posted: Fri Jan 02, 2009 7:17 pm Subject: Bulding Visual Clearwin Examples with VS2008 |
I really don't want to kill your nervs, but I was not very succesful on this task. (System Windows Vista Home Premium/VisualStudio Prof. 2008):
Solution 5 (Controls)
LINK : error - Attempt to ... |
Topic: Typecasting between objects and Fortran types |
Astelix
Replies: 3
Views: 7961
|
Forum: Support Posted: Fri Jan 02, 2009 1:46 pm Subject: continued |
Supporting C# DLL:
using System;
using System.Collections.Generic;
using System.Text;
namespace ItemSelector
{
static public class ItemSelector
{
static public System.D ... |
Topic: Typecasting between objects and Fortran types |
Astelix
Replies: 3
Views: 7961
|
Forum: Support Posted: Fri Jan 02, 2009 1:45 pm Subject: continued |
myDataSet = new@("System.Data.DataSet")
res=da_fill(myDataAdapter,myDataSet,"Test")
tabs=MyDataset%Tables
mytab=gettable(tabs,0)
nrows=mytab%rows%count
ncols=mytab%columns ... |
Topic: Typecasting between objects and Fortran types |
Astelix
Replies: 3
Views: 7961
|
Forum: Support Posted: Fri Jan 02, 2009 1:43 pm Subject: Typecasting between objects and Fortran types |
Im still experimenting with databases and ftn95/.net
Now i can read all data out of a datatable with the help of a C#-support class and i can convert the field-contents to fortran data with the hel ... |
Topic: Elements of DotNet Collection |
Astelix
Replies: 5
Views: 7405
|
Forum: Support Posted: Mon Dec 29, 2008 2:08 pm Subject: |
Thank you Paul, that works. It is usable as a workaround.
But given the central role of collections and other higher order datatypes (e.g. dictionaries) that are variants of linked lists and hash ... |
Topic: Visual ClearWin example in Visual Studio 2008 |
Astelix
Replies: 3
Views: 7667
|
Forum: Support Posted: Sun Dec 28, 2008 12:55 pm Subject: |
If you have created the C#-Windows-Application you have to look at the solution explorer window. Right click the project name there and select "properties" from the context menu. The propert ... |
Topic: Elements of DotNet Collection |
Astelix
Replies: 5
Views: 7405
|
Forum: Support Posted: Sat Dec 27, 2008 8:32 pm Subject: |
Here is the program:
program ReadMDB
library ("System")
library ("System.Data")
implicit none
object("System.Data.OleDb.OleDbCommand") :: myCommand
object(&qu ... |
Topic: Elements of DotNet Collection |
Astelix
Replies: 5
Views: 7405
|
Forum: Support Posted: Sat Dec 27, 2008 5:12 pm Subject: |
If it is really impossible to to answer this question (I can't believe that or I'm missing a very obvious thing) then a I have related question:
Has anybody a working example for reading/writing a ... |
Topic: Elements of DotNet Collection |
Astelix
Replies: 5
Views: 7405
|
Forum: Support Posted: Wed Dec 24, 2008 1:46 pm Subject: Elements of DotNet Collection |
How can I access the elements of a dotnet collection (e.g. a DataTable in the System.Data.DataTablesCollection)?
It seems to be immpossible with the Index, because you cannot declare a collection ... |
Topic: Problems in Visual Studio 2008 |
Astelix
Replies: 2
Views: 4337
|
Forum: Support Posted: Sat Dec 20, 2008 3:51 pm Subject: |
Prolem 3 is solved (caused by invalid compiler options).
Problem 2 is narrowed: VS2008 only crashes when I try to link to Fortran Libs/dlls. Other dlls are accepted. If I make references to the pro ... |
Topic: C# and FTN95 |
Astelix
Replies: 2
Views: 4725
|
Forum: Support Posted: Sat Dec 20, 2008 12:32 am Subject: |
Thank you Paul, that helped. |
Topic: C# and FTN95 |
Astelix
Replies: 2
Views: 4725
|
Forum: Support Posted: Fri Dec 19, 2008 3:45 pm Subject: C# and FTN95 |
Can you explain why this doesn't work?
DLL ft95test.dll:
subroutine greeter(num)
integer(kind=3), intent(in) :: num
assembly_interface (name="greeter")
print *, "He ... |
Topic: Problems in Visual Studio 2008 |
Astelix
Replies: 2
Views: 4337
|
Forum: Support Posted: Fri Dec 19, 2008 3:33 pm Subject: Problems in Visual Studio 2008 |
Hello,
I'm new to this board and new to Fortran and FTN95 but not so new to programming and .NET (I'm regularily writing smaller programs in C# and VB.Net).
I'm experimenting for some days with ... |
|