Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
18%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
12%
1500 - 2000 GB
18%
> 2000 GB
24%
Total votes: 17

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 21st September 2018, 03:43
jeffersyuan jeffersyuan is offline
Senior Member
 
Join Date: Jan 2006
Posts: 281
jeffersyuan is on a distinguished road
Baan: B4,B50C, LN FP1-FP10 - DB: SQL Server , Oracle - OS: Window , Unix , AIX
Is it possible to call a generic dll function via command?
Baan: Other/Unknown
C/S: None/Unknown

Hi, All,

Does somebody have experience on call a generic dll function via command, and get the result?

Something like call otcdll001.helloword, via ba, and get the result "Hello world"?

Thanks.
Jeffers
__________________
The Simply is The Best
Reply With Quote
Sponsored Links
  #2  
Old 21st September 2018, 09:33
giggty's Avatar
giggty giggty is offline
Senior Member
 
Join Date: May 2017
Posts: 101
giggty is on a distinguished road
Baan: Infor ERP 10.6 - DB: MSSQL Server 2008 R2 - OS: Windows Server 2012
Err, something like exec_dll_function()?
Reply With Quote
  #3  
Old 24th September 2018, 12:33
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 519
Ajesh is on a distinguished road
Baan: LN 10.4 - DB: Oracle - OS: HP-Unix
Not sure i understand this, but what do you mean by generic dll function? You can call a Dll extern function and get returned a string..But dont think you want that.
Reply With Quote
  #4  
Old 24th September 2018, 13:51
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,122
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
What I did once was write a session to call a dll - that was all it did. It basically ran the DLL function and wrote to a file. This way I you could run ba6.1 executable and get the data. Then I could read the file if needed - never did really use it and doubt I even have the code anymore.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #5  
Old 25th September 2018, 03:43
jeffersyuan jeffersyuan is offline
Senior Member
 
Join Date: Jan 2006
Posts: 281
jeffersyuan is on a distinguished road
Baan: B4,B50C, LN FP1-FP10 - DB: SQL Server , Oracle - OS: Window , Unix , AIX
mark_h,

Smart idea!
Basically, I think it caused that ba6.1 executable method is asynchronous, not synchronization method.
Of course, in a general session or dll to store the result to 'TMP' place, then access the 'TMP' place using the GUID key, could be a smart idea. Something like MQ etc.
What's your idea?

Thanks.
Jeffers
Quote:
Originally Posted by mark_h View Post
What I did once was write a session to call a dll - that was all it did. It basically ran the DLL function and wrote to a file. This way I you could run ba6.1 executable and get the data. Then I could read the file if needed - never did really use it and doubt I even have the code anymore.
__________________
The Simply is The Best
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while opening opening purchase order naga ch Tools Administration & Installation 6 17th June 2016 22:42
Help regarding tools session rahul.kolhe22 Tools Development 4 22nd January 2010 13:31
How to call AFS in sp24? PV Ramone AFS/DDC/OLE: Function servers 4 2nd September 2008 11:06
xml question steveauckly Tools Development 4 27th July 2004 10:41


All times are GMT +2. The time now is 05:33.


©2001-2018 - Baanboard.com - Baanforums.com