473,770 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to debug unable to rebuild with binary compatibility

Hi

I have a dll ('dll-X') which runs on top of (dependent upon) several
other dlls.

My build environment has a folder structure

binaries
compat-libs

so I put the target compatibilities into the compat-libs folder and then
I compile against those target libs and place the resulting binary into
the binaries folder.

The dll versions on which dll-X is dependent may well change their
public interface, but dll-X doesn't. It is always using the same source
code. I thought I should be able to rebuild with binary compatiblity,
but I can't. I set compatibility to project and it rebuilds okay. I can
then rebuild with binary compatibility.

I don't know what is stopping me building with binary compatibility and
am wondering how I can find this out. I have manully checked through the
registry looking for old references to the dll-X but can't find anything.

Further, it seems that any component which is dependent on dll-x can no
longer build with binary compatibility even if their public interface
doesn't change.

Now perhaps I've misunderstood binary/project compatibkity but I thought
if the interface remains the same, then I should be ablwe to compile
with binary compatiblity.

Could anyone correct my misunderstandin g if I have one and if not, give
some pointers as to how I can track down what is causing VB not not
permit me to compile with binary compatibility

Many thanks

Simon
Apr 9 '08 #1
1 1602
Oops ... sorry ... wrong group!

Simon Woods wrote:
Hi

I have a dll ('dll-X') which runs on top of (dependent upon) several
other dlls.

My build environment has a folder structure

binaries
compat-libs

so I put the target compatibilities into the compat-libs folder and then
I compile against those target libs and place the resulting binary into
the binaries folder.

The dll versions on which dll-X is dependent may well change their
public interface, but dll-X doesn't. It is always using the same source
code. I thought I should be able to rebuild with binary compatiblity,
but I can't. I set compatibility to project and it rebuilds okay. I can
then rebuild with binary compatibility.

I don't know what is stopping me building with binary compatibility and
am wondering how I can find this out. I have manully checked through the
registry looking for old references to the dll-X but can't find anything.

Further, it seems that any component which is dependent on dll-x can no
longer build with binary compatibility even if their public interface
doesn't change.

Now perhaps I've misunderstood binary/project compatibkity but I thought
if the interface remains the same, then I should be ablwe to compile
with binary compatiblity.

Could anyone correct my misunderstandin g if I have one and if not, give
some pointers as to how I can track down what is causing VB not not
permit me to compile with binary compatibility

Many thanks

Simon
Apr 10 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2444
by: Jame Johnson | last post by:
I'm running FreeBSD 4.10 stable. I upgraded to php 5.03. Now when I run php I get the following types of messages: PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so I get the same messages for the 12 modules that I updated. In /usr/local/lib/php I have: drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412 drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build
6
481
by: someone | last post by:
Suppose that I have a class in an assembly that is delivered to the user, what can I do to change the class so that it doesn't break the binary compatibility? That is, user application can run with recompiling and relinking. I know that if I define an interface, and only expose the interface but not the class which implments the interface, I can add a data member to the class without breaking the binary compatibility. If the class...
3
1859
by: Michael J Cohen | last post by:
I am developing an application using C# Express and last night a strange event occurred. For no apparent reason, I am receiving error messages such as: Error 1 Unable to copy file "obj\Release\PBScheduler.Form1.resources" to "obj\Debug\PBScheduler.obj.Release.PBScheduler.Form1.resources". Could not find file 'obj\Release\PBScheduler.Form1.resources'. PBScheduler There are six in total of similar type. A setting must have changed
68
5258
by: vim | last post by:
hello everybody Plz tell the differance between binary file and ascii file............... Thanks in advance vim
6
9142
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
7
4808
by: =?Utf-8?B?SmltIFdhbHNo?= | last post by:
I'm new to working with mixed assemblies. All of my previous experience has been with VC++/MFC in native, unmanaged applications. When I create a mixed assembly in which one or more of the files compiles with /clr the instructions say that I need to change the switch for Debug information format from Program Database for Edit & Continue to disabled. At runtime I find that I am not able to set breakpoints in the managed code, nor trace...
1
1334
by: jdwix | last post by:
I have been developing in VB6 for several years and have become accustomed to loading whatever VB projects I need to debug into a group and having the ability to step through the code and make changes on the fly. If the change happens to break compatibility, it currently doesn't matter because the build process rebuilds every component in the application. This has worked out for us because of the way we deploy the application. Now,...
17
2959
by: osama178 | last post by:
Hi, What does it mean for an object to be binary compatible? And why aren't STL objects binary compatible? Any insights, links, resources for further reading are greatly appreciated. Thanks.
16
7249
by: Wayne | last post by:
I've read that one method of repairing a misbehaving database is to save all database objects as text and then rebuild them from the text files. I've used the following code posted by Lyle Fairfield to accomplish the first step: Private Sub SaveObjectsAsText() path = CurrentProject.path & "\ObjectsAsText\" SaveDataAccessPagesAsText SaveFormsAsText SaveReportsAsText
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.