The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 04:57 AM
porting a unix programme to linux??what matters prasoon UNIX for Advanced & Expert Users 1 11-11-2005 10:17 AM
Porting File from OPenVMS to AIX Unix S.P.Prasad High Level Programming 1 03-01-2005 07:04 PM
Porting of Windows written unix scripts to unix platform tamilselvi UNIX for Advanced & Expert Users 7 10-02-2002 11:55 AM
Porting the server part of a VC++ Application on UNIX OS real_rachna High Level Programming 1 07-10-2001 11:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 09-17-2001
Vipin Vipin is offline
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??
  #2 (permalink)  
Old 09-17-2001
eddie eddie is offline
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.
  #3 (permalink)  
Old 09-18-2001
Vipin Vipin is offline
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
  #4 (permalink)  
Old 09-18-2001
eddie eddie is offline
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0