porting programs with dcom to unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers porting programs with dcom to unix
# 1  
Old 12-16-2005
porting programs with dcom to unix

Hi
I have a rather large set of sas programs that i want to port to unix sas.
All of these programs uses windows functionality somehow. For example win API calls and ole-dll:s via com and dcom.
Now my company is moving to sas on unix, and we must port these apps (sas macros).

So what Im looking for is good info about how to handle the issues mentioned above (api, ole, com).

I thought of this: Let everything be as it is. The api calls can easily be re-written. But the dlls I still want to execute on pc sas. So, is there some combridge (not corba, too complicated) on unix? (Sun solaris). Is there a way to make "remote procedure calls" (sending oleobjects, differens microsoft datatypes) to a win server, from unix and back? How do I handel com obj:s on Unix?

Which course of action should I take?

Ps SAS - statistical analysis system is avalible on both unix and windows - programs are 99% transferable - except for paths (c:\ - > \bin\sas\shared\ blabla) and ofcourse COM objects, for example Ms word or inhouse built dll:s ds
# 2  
Old 12-16-2005
dunno if you're going to get any answer over here but i figured this might help you out if it you haven't thought about it already ... good luck!
# 3  
Old 12-16-2005
There are no COM or DCOM objects in UNIX. However, you can link against shared libraries by trying to port your dll's (minus MS _stdcall and _cdecl stuff) over to Unix as a shared library.

If your dll's are accessing COM for Office objects like reading Word docs or Excel spreadsheets, or using ODBC calls, UNIX also has an equivalent for most of it from

www.openoffice.org

They have a library suite that will do a lot toward working with MS proprietary files and data. If you have completely homegrown COM for your own special apps, then you'll have to do some hokey remote host processing stuff. You will have to create a client/server environment using sockets with Widnows and COM on one side and Unix with shared libraries on the other.

Looks like you have some reading and analysis to do Smilie
# 4  
Old 12-19-2005
Yes this one is not easy.
I cant say I think openoffice:s macrofacility seems very clever. It takes about 100 rows of advanced code to accomplish what VBA does in 20.
Anyway, iŽll solve it like this.

IŽll use sas/connect to talk to any server I want regardless of OS.

Last edited by iommi; 12-20-2005 at 11:11 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Porting Unix c-shell script to Window under MKS-Tookit

Please ignore this question. (0 Replies)
Discussion started by: Sommerville
0 Replies

2. UNIX for Dummies Questions & Answers

Installing programs in Unix

I have installed a software called GMT, then writing a script that call the new programs ./example02.sh but I am getting ./example02.sh: line 20: gmtset: command not found I have done ./configure make make install (1 Reply)
Discussion started by: kristinu
1 Replies

3. UNIX for Dummies Questions & Answers

Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?

Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies

4. UNIX for Dummies Questions & Answers

installing unix programs

hi everyone, I'm new to the forums. I am in the process of learning unix. I have a problem installing a unix program. The program at question is Links. It is an internet browser. I have the INSTALL notes, but I'm not having much luck at all. Any ideas on how to install? (3 Replies)
Discussion started by: fissm
3 Replies

5. UNIX for Dummies Questions & Answers

Unix/Solaris admin programs

Hi, Im working for a company that has over 400+ unix/solaris boxes. Obviously when we get a new unix guy join the company, its take us AGES to set them up on all these boxes. Can people recommend any programs/packages that can be added to our unix/solaris boxes to make this easier? ... (2 Replies)
Discussion started by: JamieP
2 Replies

6. UNIX for Advanced & Expert Users

porting a unix programme to linux??what matters

My question is: difference between unix and linux in terms of compiler, file system, ANSI compliance, standard liabrary issues, threading issues, operating system calls memory issues..ie whether these things wud cause problems while porting a unix programme to linux.? I think answer is depend... (1 Reply)
Discussion started by: prasoon
1 Replies

7. Programming

Porting File from OPenVMS to AIX Unix

We are in requirement to port relative file organization files from OpenVMS V7.1-1H2 to AIX Unix. These file contains multiple binary records each of 512 bytes but it could be possible that a few bytes are padded up to fill the record structure. One of our thought process is to write a program... (1 Reply)
Discussion started by: S.P.Prasad
1 Replies

8. UNIX for Advanced & Expert Users

Porting of Windows written unix scripts to unix platform

Can anybody help me in finding out a solution for the problem below? When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file. During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Discussion started by: tamilselvi
7 Replies

9. Programming

I am porting Dll from NT to Unix, how should I proceed

I am porting Dll from Windows NT to Unix, Could any body pls guide me how should I proceed?? (3 Replies)
Discussion started by: Vipin
3 Replies

10. Programming

Porting the server part of a VC++ Application on UNIX OS

Hello, I am a VC++ programmer. I want to port my existing , working VC++ application on windows NT using MS-Word on to Unix as an OS.... My requirement is just to port the server part of the application on UNIX and client part would remain in NT. I have many issues to handle to finally... (1 Reply)
Discussion started by: real_rachna
1 Replies
Login or Register to Ask a Question