Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Using proprietary object libraries with C++ in a windows environment

Reply
Thread Tools

Using proprietary object libraries with C++ in a windows environment

 
 
Rocky
Guest
Posts: n/a
 
      04-08-2004
I'm am attempting to make use of some functions in a 16-bit
proprietary object library, with a 32-bit C++ program. When I link the
proprietary object with my object code I get an error message along
the line 'unsupported 16 bit segment(s) in module, with the module
name'. I what I am trying to do impossible or have I got something
missing from my code. I should point out that this is my first attempt
at a full-blown C++ program.
Thanks.
 
Reply With Quote
 
 
 
 
Claudio Puviani
Guest
Posts: n/a
 
      04-08-2004
"Rocky" <> wrote
> I'm am attempting to make use of some functions
> in a 16-bit proprietary object library, with a 32-bit
> C++ program. When I link the proprietary object
> with my object code I get an error message along
> the line 'unsupported 16 bit segment(s) in module,
> with the module name'. I what I am trying to do
> impossible or have I got something missing from
> my code. I should point out that this is my first
> attempt at a full-blown C++ program.


This is a generic problem of library L1 built with compiler C1 and you need
to use it with program P2 built with compiler C2. Without additional
information as to what C1 and C2 are (and I don't want to know because it
would be even more off-topic than this is), one solution would be to write a
server of some kind built with C1 and a wrapper library, L2, that calls the
services of the new server and build that with C2. You can then link P2
against L2 and have access to the services of L1. How to do this efficiently
depends on your platform and your level of expertise.

Claudio Puviani


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Libraries for JPEG resizing in Windows Environment Alex DeCaria Ruby 2 02-19-2010 02:32 PM
Question about proprietary software development using GNU C++ W.K. C++ 11 08-08-2007 07:42 AM
Using mandatory libraries (custom class loading vs. expanding libraries) Karsten Wutzke Java 21 06-29-2007 09:25 PM
Using Python with COM to communicate with proprietary Windows software Joakim Persson Python 8 09-21-2005 01:05 PM
Using proprietary object libraries with C++ in a windows environment Rocky C++ 2 04-06-2004 01:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57