The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
porting programs with dcom to unix iommi UNIX for Dummies Questions & Answers 3 12-19-2005 01:57 AM
porting a unix programme to linux??what matters prasoon UNIX for Advanced & Expert Users 1 11-11-2005 07:17 AM
Porting File from OPenVMS to AIX Unix S.P.Prasad High Level Programming 1 03-01-2005 04:04 PM
Porting of Windows written unix scripts to unix platform tamilselvi UNIX for Advanced & Expert Users 7 10-02-2002 07:55 AM
Porting the server part of a VC++ Application on UNIX OS real_rachna High Level Programming 1 07-10-2001 07:52 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-17-2001
Registered User
 

Join Date: Sep 2001
Posts: 2
Arrow 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??
Reply With Quote
Forum Sponsor
  #2  
Old 09-17-2001
Registered User
 

Join Date: Aug 2001
Location: Ontario, Canada
Posts: 20
Do you have the source code of the DLL? Are they written in C? If yes, you may have a chance to migrate them to UNIX.

If the source code is written in C++ and they refer some class definitions other than standard C++ class (eg. MFC), it is very difficult.

If you only have the binary of the DLL in NT, of course there is no way to transfer.

Please state more specifically.
Reply With Quote
  #3  
Old 09-17-2001
Registered User
 

Join Date: Sep 2001
Posts: 2
Hi Eddie

Thanks a lot for your reply.
I have source code with me, and it is written in C++, it uses MFC classes to read registry, and has embedded ODBC SQL statements , and it is running fine On NT OS, Now I think I have clarifed doubts, for anything else pls do write back.

Thanks in advance
Reply With Quote
  #4  
Old 09-18-2001
Registered User
 

Join Date: Aug 2001
Location: Ontario, Canada
Posts: 20
Quote:
I have source code with me, and it is written in C++, it uses MFC classes to read registry, and has embedded ODBC SQL statements , and it is running fine On NT OS...
Well, if it is in this case, I would regretfully tell you that it is very very difficult to transfer your code from NT to UNIX. You will probably need to rewrite the programs in UNIX.

Nt and UNIX are very different. For example, there is no registry in UNIX, we control UNIX system by editing text config-files. There are something like ODBC in UNIX, but they are totally different from those of NT. MFC is only available in MS Windows system. UNIX has no MFC.

So, try to modify you program and make them call standard C++ classes (such like stream classes). Or rewrite them in pure C. Then you could have a little chance to migrate them to UNIX.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0