Hi
I've got a problem with my current application. I currently use
Windows Vista with Visual Studio Express 2008. If I compile the
application on Vista, it works fine on Vista, but it doesn't work on
XP. If I compile it on XP (with the same source code [copied from
vista]), it runs without any problems.
The thing is: I only have a virtual machine to test my software on XP,
but I can't develop on it.
The error shows up, when I try to declare a public OleDb object. Here
the source:
Public DatabaseConnect ion As New OleDb.OleDbConn ection
This error only happens, when I try to fill up the ConnectionStrin g of
this OleDb Object.
The error message itself is not really helpful, so I won't post it
right now.
My Question is: Where is the problem, is there someone which had
similar problem with Vista and XP apps?
Thank you for your help.
--
pmw
Sep 22 '08
19 4226
On 23 Sep., 10:59, Larry__Weiss <l...@airmail.n etwrote:
pmw wrote:
I've got a problem with my current application. I currently use
Windows Vista with Visual Studio Express 2008. If I compile the
application on Vista, it works fine on Vista, but it doesn't work on
XP. If I compile it on XP (with the same source code [copied from
vista]), it runs without any problems.
Is there any way you can compare the IL code generated from the Vista
and XP compiled code?
* - Larry
There would be a way, if you can tell me how I can do that. Because I
don't know what you mean by "comparing IL code". It would be very nice
if you could help me.
--
pmw
PmW,
Perhaps you could re-create the problem with a simple piece of code that did
not involve company secrets. You could then post that code.
A question: what techniques are you using to protect this commercial code
from being "de-compiled", since this is trivially easy to do with any code
written in .net or java?
Kerry Moorman
"PmW" wrote:
>
So you want to know why I can't show you the code? First it is a
commercial product, so I can't just show you some source codes without
permission. Second, I'm working in a workplace where I have to go
through 4 security doors. So now you can imagine, that I'm not just
working at a standard workplace. Two good reasons, why I can't show
you the sources.
pmw wrote:
On 23 Sep., 10:59, Larry wrote:
>pmw wrote:
I've got a problem with my current application. I currently use
Windows Vista with Visual Studio Express 2008. If I compile the
application on Vista, it works fine on Vista, but it doesn't work on
XP. If I compile it on XP (with the same source code [copied from
vista]), it runs without any problems.
Is there any way you can compare the IL code generated from the Vista and XP compiled code?
There would be a way, if you can tell me how I can do that. Because I
don't know what you mean by "comparing IL code". It would be very nice
if you could help me.
start by reading the instructions in http://windowsclient.net/blogs/faqs/...y-into-il.aspx
the full usage spec for ildasm.exe is at http://msdn.microsoft.com/en-us/libr...k1(VS.80).aspx
- Larry
On 23 Sep., 15:43, Kerry Moorman
<KerryMoor...@d iscussions.micr osoft.comwrote:
PmW,
Perhaps you could re-create the problem with a simple piece of code that did
not involve company secrets. You could then post that code.
A question: what techniques are you using to protect this commercial code
from being *"de-compiled", since this is trivially easy to do with any code
written in .net or java?
Kerry Moorman
- Zitierten Text anzeigen -
Thats a good idea. I will try to recreate a similar project, which
uses the same objects.
This application is not for normal clients. It will only be used by
companies and people which do work in the same business. So they don't
even have interessts in getting the source code by decompiling it.
They can have it if they ask me.
--
wenga
On 23 Sep., 15:49, Larry__Weiss <l...@airmail.n etwrote:
start by reading the instructions inhttp://windowsclient.n et/blogs/faqs/archive/2006/05/26/how-do-i-disas...
the full usage spec for ildasm.exe is athttp://msdn.microsoft. com/en-us/library/f7dy01k1(VS.80) .aspx
* - Larry- Zitierten Text ausblenden -
- Zitierten Text anzeigen -
Thank you very much, I will try this tomorrow and give you a feedback.
--
pmw
On 23 Sep., 15:43, Kerry Moorman
<KerryMoor...@d iscussions.micr osoft.comwrote:
PmW,
Perhaps you could re-create the problem with a simple piece of code that did
not involve company secrets. You could then post that code.
A question: what techniques are you using to protect this commercial code
from being *"de-compiled", since this is trivially easy to do with any code
written in .net or java?
Kerry Moorman
- Zitierten Text anzeigen -
Thats a good idea. I will try to recreate a similar project, which
uses the same objects.
This application is not for normal clients. It will only be used by
companies and people which do work in the same business. So they
don't
even have interessts in getting the source code by decompiling it.
They can have it if they ask me.
--
pmw
On Sep 23, 5:00*pm, pmw <pmw2...@gmail. comwrote:
On 23 Sep., 15:43, Kerry Moorman
<KerryMoor...@d iscussions.micr osoft.comwrote:
PmW,
Perhaps you could re-create the problem with a simple piece of code that did
not involve company secrets. You could then post that code.
A question: what techniques are you using to protect this commercial code
from being *"de-compiled", since this is trivially easy to do with any code
written in .net or java?
Kerry Moorman
- Zitierten Text anzeigen -
Thats a good idea. I will try to recreate a similar project, which
uses the same objects.
This application is not for normal clients. It will only be used by
companies and people which do work in the same business. So they
don't
even have interessts in getting the source code by decompiling it.
They can have it if they ask me.
--
pmw
Pmw,
You can also consider re-building project and and starting a new
project from the scratch and create all the source code files manually
(files that are in solution explorer) by right clicking solution
explorer -add -new item, then copy-paste the required codes from
your previous (problematic one) project into the new one.
Plus, if you're using settings file (My.Settings) you can re-create it
for the possibility of corruption.
Worth to try.
HTH,
Onur Güzel
On 23 Sep., 17:12, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Sep 23, 5:00*pm, pmw <pmw2...@gmail. comwrote:
On 23 Sep., 15:43, Kerry Moorman
<KerryMoor...@d iscussions.micr osoft.comwrote:
PmW,
Perhaps you could re-create the problem with a simple piece of code that did
not involve company secrets. You could then post that code.
A question: what techniques are you using to protect this commercial code
from being *"de-compiled", since this is trivially easy to do with any code
written in .net or java?
Kerry Moorman
- Zitierten Text anzeigen -
Thats a good idea. I will try to recreate a similar project, which
uses the same objects.
This application is not for normal clients. It will only be used by
companies and people which do work in the same business. So they
don't
even have interessts in getting the source code by decompiling it.
They can have it if they ask me.
--
pmw
Pmw,
You can also consider re-building project and and starting a new
project from the scratch and create all the source code files manually
(files that are in solution explorer) by right clicking solution
explorer -add -new item, then copy-paste the required codes from
your previous (problematic one) project into the new one.
Plus, if you're using settings file (My.Settings) you can re-create it
for the possibility of corruption.
Worth to try.
HTH,
Onur Güzel- Zitierten Text ausblenden -
- Zitierten Text anzeigen -
I just now tested the OleDB object with a different, prototype
project. I don't have any problems there. It might be that the current
project is damaged. I will now try to copy the sources to a new
project. I hope it's going to help.
I will report back.
--
pmw
On 22 Sep., 15:00, pmw <we...@see64.ch wrote:
Hi
I've got a problem with my current application. I currently use
Windows Vista with Visual Studio Express 2008. If I compile the
application on Vista, it works fine on Vista, but it doesn't work on
XP. If I compile it on XP (with the same source code [copied from
vista]), it runs without any problems.
The thing is: I only have a virtual machine to test my software on XP,
but I can't develop on it.
The error shows up, when I try to declare a public OleDb object. Here
the source:
Public DatabaseConnect ion As New OleDb.OleDbConn ection
This error only happens, when I try to fill up the ConnectionStrin g of
this OleDb Object.
The error message itself is not really helpful, so I won't post it
right now.
My Question is: Where is the problem, is there someone which had
similar problem with Vista and XP apps?
Thank you for your help.
--
pmw
Problem solved! It really was a damaged project file. Copied now all
the sources to a complete new project, and now it works ... don't ask
me why.
Thank you all very much for your help!
--
pmw
On Sep 24, 2:43*pm, pmw <pmw2...@gmail. comwrote:
On 22 Sep., 15:00, pmw <we...@see64.ch wrote:
Hi
I've got a problem with my current application. I currently use
Windows Vista with Visual Studio Express 2008. If I compile the
application on Vista, it works fine on Vista, but it doesn't work on
XP. If I compile it on XP (with the same source code [copied from
vista]), it runs without any problems.
The thing is: I only have a virtual machine to test my software on XP,
but I can't develop on it.
The error shows up, when I try to declare a public OleDb object. Here
the source:
Public DatabaseConnect ion As New OleDb.OleDbConn ection
This error only happens, when I try to fill up the ConnectionStrin g of
this OleDb Object.
The error message itself is not really helpful, so I won't post it
right now.
My Question is: Where is the problem, is there someone which had
similar problem with Vista and XP apps?
Thank you for your help.
--
pmw
Problem solved! It really was a damaged project file. Copied now all
the sources to a complete new project, and now it works ... don't ask
me why.
Thank you all very much for your help!
--
pmw- Hide quoted text -
- Show quoted text -
Cool. Thanks for the feedback, glad you solved.
Onur G. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Allen Browne |
last post by:
If you develop for others, you probably have multiple versions of Access
installed so you can edit and create MDEs for clients in different versions.
This works fine under Windows XP, even with Access 2007 installed.
It does *not* work under Windows Vista Ultimate. After running Access 2007,
when you open an earlier version of Access, no code works, because the
references are fouled up. And Access 97 does not work at all.
Access should...
|
by: Squishy |
last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got
errors stating that VS2005 was not compatible with Vista.
Microsoft......please pull your finger out of my ass and tell me this is a
joke.
It must be a joke....because I also have read that VS2002 and VS2003 will
not be supported on Vista. This clearly violates Microsoft's own terms of
support for these products.
|
by: nik |
last post by:
Hi,
I've compiled my application on my vista machine, and it won't run at
all on my xp machine. In the windows error report I get Exception
code; 0xe0434f4d. I searched for that exception, but didn't see
anything related to my problem. I can run a different .exe that I made
on the vista machine on the xp machine, so I am wondering what is
different/wrong with this one.
The xp machine does have vb6 installed on it, could that be an...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
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...
| |