Sponsored Content
Top Forums Programming I am porting Dll from NT to Unix, how should I proceed Post 6983 by eddie on Monday 17th of September 2001 10:46:57 AM
Old 09-17-2001
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. Programming

Need to port C dll to UNIX

I have source code of a Windows C DLL. It complies properly and works. Now I need to port it to UNIX environment. I need to know if I can create a Dynamic Library or only Static Library is possible in UNIX. In case I can create a Dynamic Library please guide me how to proceed. Or if there... (2 Replies)
Discussion started by: ana_puri
2 Replies

3. 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

4. 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

5. 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

6. UNIX for Dummies Questions & Answers

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... (3 Replies)
Discussion started by: iommi
3 Replies

7. UNIX for Advanced & Expert Users

Executing a .dll from a Unix script

Is it possible for a Unix script to execute a .dll. If so, where would I find information/examples of how to do that? Thanks, in advance, for any help. :rolleyes: (2 Replies)
Discussion started by: BCarlson
2 Replies

8. What is on Your Mind?

Can we run a dll in unix?

I have created DLLs in c++. Is it possible to run these DLLs in unix so that I can save time converting function/scripts in unix? In this way I can reuse these DLL in Unix. Thanks. (2 Replies)
Discussion started by: alestoquia
2 Replies

9. Programming

Using Windows DLL in UNIX

Hello, I am sorry to bother you all but I am thinking about switching to UNIX and I am a complete novice there. The problem is that I need to call a C++ dll on UNIX platform which was compiled on Windows. I don't have the source code of the dll as well. I just need to call this dll in my C++... (2 Replies)
Discussion started by: clickoo
2 Replies

10. UNIX for Dummies Questions & Answers

Possible to use a Java app with dll files on Unix-systems

Hi... I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System. Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way? Dll-file:... (3 Replies)
Discussion started by: Scorp-D
3 Replies
SbOctTree(3)							       Coin							      SbOctTree(3)

NAME
SbOctTree - The SbOctTree class defines a generic oct tree for fast geometry searches. Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. SYNOPSIS
#include <Inventor/SbOctTree.h> Public Member Functions SbOctTree (const SbBox3f &bbox, const SbOctTreeFuncs &itemfuncs, const int maxitemspernode=64) ~SbOctTree () void addItem (void *const item) void removeItem (void *const item) void findItems (const SbVec3f &pos, SbList< void * > &destarray, const SbBool removeduplicates=TRUE) const void findItems (const SbBox3f &box, SbList< void * > &destarray, const SbBool removeduplicates=TRUE) const void findItems (const SbSphere &sphere, SbList< void * > &destarray, const SbBool removeduplicates=TRUE) const void findItems (const SbPlane *const planes, const int numplanes, SbList< void * > &destarray, const SbBool removeduplicates=TRUE) const const SbBox3f & getBoundingBox (void) const void clear (void) void debugTree (FILE *fp) Detailed Description The SbOctTree class defines a generic oct tree for fast geometry searches. Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. Constructor &; Destructor Documentation SbOctTree::SbOctTree (const SbBox3f &bbox, const SbOctTreeFuncs &itemfuncs, const intmaxitems = 64) Constructor. SbOctTree::~SbOctTree () Destructor. Member Function Documentation void SbOctTree::addItem (void *constitem) Adds an item to this oct tree. void SbOctTree::removeItem (void *constitem) Removes the item from the octtree. The octtree will not be modified/simplified even when all items are removed. void SbOctTree::findItems (const SbVec3f &pos, SbList< void * > &destarray, const SbBoolremoveduplicates = TRUE) const Finds all items which contains the point pos. Items are returned in destarray. If removeduplicates is TRUE (the default), destarray will not contain duplicate items. This is not an optimized process, so if you're looking for speed you should set this to FALSE and do your own postprocessing of the array of returned items. Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. void SbOctTree::findItems (const SbBox3f &box, SbList< void * > &destarray, const SbBoolremoveduplicates = TRUE) const Finds all items inside box. Items are returned in destarray. If removeduplicates is TRUE (the default), destarray will not contain duplicate items. This is not an optimized process, so if you're looking for speed you should set this to FALSE and do your own postprocessing of the array of returned items. Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. void SbOctTree::findItems (const SbSphere &sphere, SbList< void * > &destarray, const SbBoolremoveduplicates = TRUE) const Finds all items inside sphere. Items are returned in destarray. If removeduplicates is TRUE (the default), destarray will not contain duplicate items. This is not an optimized process, so if you're looking for speed you should set this to FALSE and do your own postprocessing of the array of returned items. Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. void SbOctTree::findItems (const SbPlane *constplanes, const intnumplanes, SbList< void * > &destarray, const SbBoolremoveduplicates = TRUE) const Finds all items inside planes. The method SbPlane::isInHalfSpace() should be used, and only items which are (partly) inside all planes are returned. Items are returned in destarray. If removeduplicates is TRUE (the default), destarray will not contain duplicate items. This is not an optimized process, so if you're looking for speed you should set this to FALSE and do your own postprocessing of the array of returned items. Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. const SbBox3f & SbOctTree::getBoundingBox (void) const Returns a bounding box enclosing all the elements in the tree. This is just the same bounding box which was supplied to the constructor. void SbOctTree::clear (void) Restores this oct tree to an empty oct tree. The bounding box will still be the same though. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SbOctTree(3)
All times are GMT -4. The time now is 02:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy