I've converted a non-trivial C++ library to managed, and get the following
unhelpful linker error:
Assignment.obj : error LNK2022: metadata operation failed (80131195) : Custom
attributes are not consistent: (0x0c0001a5).
Display.obj : error LNK2022: metadata operation failed (80131195) : Custom
attributes are not consistent: (0x0c000108).
The help for LNK2022 is completely useless:
metadata operation failed (HRESULT) : error_message
The linker detected an error while merging metadata. The metadata errors must
be resolved to link successfully.
One reason for LNK2022 is when a struct exists in multiple modules with the
same name, but with conflicting definitions, and when you compile with /clr.
<<
A search for "Custom attributes are not consistent" at MS turns up *NO*
results, and google/google groups only returns a few -- none of which really
discuss the problem or it (eventual?) solution.
In this case, I've looked over the source file, and there are no mystery
structs floating around, although my searches are far from definitive as the
project is composed of hundreds of inter-related files/headers.
Has *ANYONE* figured out or would MS care to elaborate on what the "Custom
attributes are not consistent" error means and what the final hex number
means? Apparently it has some dynamic value, as similar errors have different
values.
--
Bret Pehrson
mailto:br**@inf owest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >> 16 9290
Hello Bret,
Thanks for posting in the group.
Based on my understanding, the problem is: You are migrating an old C++
library project to managed C++ project. However, when you build the
project, you got several error LNK2022: metadata operation failed
(80131195) link error. Please let me know if I have misunderstood the
problem.
I searched in our database immediately when I saw your post. Unluckily, the
hits are small. And it seems that there were no similar report before. So
we can't tell exactly where the problem may reside now.
In order to troubleshoot the problem, could you please provide us a small
repro sample? We will look into it and reply with detailed information
here. You can reach me by removing online from my email address here.
I understand that C++ library is not trivial. Perhaps it is hard for you to
isolate the problem or create a repro sample. If so, I suggest you contact
our PSS (product support service) to have one support engineer specially
help you on it. If you need help on contacting PSS, please feel free to
post here and I will post back with detailed information.
If you have any more concerns on it, please feel free to post here. Thanks
very much and look forward to your response.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Hmmm...
(I'm presuming that you work for/at Microsoft, or have internal contact w/ MS.)
Could you contact the compiler group and have them document the metadata
"Custom
attributes are not consistent" error?
Thanks
"Yan-Hong Huang[MSFT]" wrote: Hello Bret,
Thanks for posting in the group.
Based on my understanding, the problem is: You are migrating an old C++ library project to managed C++ project. However, when you build the project, you got several error LNK2022: metadata operation failed (80131195) link error. Please let me know if I have misunderstood the problem.
I searched in our database immediately when I saw your post. Unluckily, the hits are small. And it seems that there were no similar report before. So we can't tell exactly where the problem may reside now.
In order to troubleshoot the problem, could you please provide us a small repro sample? We will look into it and reply with detailed information here. You can reach me by removing online from my email address here.
I understand that C++ library is not trivial. Perhaps it is hard for you to isolate the problem or create a repro sample. If so, I suggest you contact our PSS (product support service) to have one support engineer specially help you on it. If you need help on contacting PSS, please feel free to post here and I will post back with detailed information.
If you have any more concerns on it, please feel free to post here. Thanks very much and look forward to your response.
Best regards, Yanhong Huang Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights.
--
Bret Pehrson
mailto:br**@inf owest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
In the Whidbey release the linker will give better diagnostics.
For now the way to diagnose this is using ildasm to dump the metadata of the
..obj files to text and then search for the tokens (the hex numbers mentioned
in the error messages). Usually this is a source error where 2 translation
units define a type in a different way.
Ronald Laeremans
Visual C++ team
"Bret Pehrson" <br**@infowest. com> wrote in message
news:40******** *******@infowes t.com... Hmmm...
(I'm presuming that you work for/at Microsoft, or have internal contact w/
MS.) Could you contact the compiler group and have them document the metadata "Custom attributes are not consistent" error?
Thanks
"Yan-Hong Huang[MSFT]" wrote: Hello Bret,
Thanks for posting in the group.
Based on my understanding, the problem is: You are migrating an old C++ library project to managed C++ project. However, when you build the project, you got several error LNK2022: metadata operation failed (80131195) link error. Please let me know if I have misunderstood the problem.
I searched in our database immediately when I saw your post. Unluckily,
the hits are small. And it seems that there were no similar report before.
So we can't tell exactly where the problem may reside now.
In order to troubleshoot the problem, could you please provide us a
small repro sample? We will look into it and reply with detailed information here. You can reach me by removing online from my email address here.
I understand that C++ library is not trivial. Perhaps it is hard for you
to isolate the problem or create a repro sample. If so, I suggest you
contact our PSS (product support service) to have one support engineer specially help you on it. If you need help on contacting PSS, please feel free to post here and I will post back with detailed information.
If you have any more concerns on it, please feel free to post here.
Thanks very much and look forward to your response.
Best regards, Yanhong Huang Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no
rights. -- Bret Pehrson mailto:br**@inf owest.com NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
Ronald -- thanks for the reply. (Please note, none of my comments are meant as
a personal attack on you.) In the Whidbey release the linker will give better diagnostics.
I still stand by my previous post where I say it will be at least the 4th
release of the product before it is truly usable in a commercial environment.
For now the way to diagnose this is using ildasm to dump the metadata of the .obj files to text and then search for the tokens (the hex numbers mentioned in the error messages). Usually this is a source error where 2 translation units define a type in a different way.
Thanks for defining the mystery error. I was *finally* able to find the source
of the problem and resolve it using the technique you describe -- thanks. My
comments follow for the purpose of actually documenting the procedure:
First, ILDASM is a mixed-mode application meaning that it has a GUI-mode and
console-mode interface.
When running in GUI mode, you *CANNOT* process .obj files (the only files that
are documented are .exe and .dll). This means that you must use the tool from
the command line (with the appropriate vars set through vsvars32.bat or by
running "Visual Studio .NET 2003 Command Prompt" from the VS.NET start menu
tools group).
When processing .obj files from the command line, YOU MUST REDIRECT THE OUTPUT
TO A FILE or else you will get no results - BUG! BUG! Additionally, you must
use the /text option to force output to the console. So, it boils down to:
ildasm your_source_fil e.obj /text /out=output.txt
The file output.txt is then created -- open it up and then search for the token
in question (the last hex number of the "Custom attributes are not consistent"
error. (NOTE: the output token identifiers *DO NOT* prefix hex numbers w/ the
traditional 0x -- so take this into account when searching for the token.)
This will locate the custom attribute of the token that is causing the error.
Once you know the token, it should be relatively easy to locate the actual
source of the problem.
So, presuming the following errors:
Assignment.obj : error LNK2022: metadata operation failed (80131195) : Custom
attributes are not consistent: (0x0c0001a5).
The steps would be:
ildasm Assignment.obj /text /out=assignment. txt
Search assignment.txt for "0c0001a5". It should find some custom attribute,
look up a few lines and locate the offending type. Armed with that, you can go
back to your source files and determine why the type (class/struct) is being
defined differently in the different source files.
NOTE TO MICROSOFT: Fix this stupid diagnostic! At the *BARE MINIMUM*, the
offending TYPE and ATTRIBUTE should be displayed *BY NAME* -- hex tokens in
diagnostics went out w/ Lattice C compilers and powdered wigs, they have
*ABSOLUTELY NO BUSINESS IN A 7TH-PLUS GENERATION PRODUCT* Ronald Laeremans Visual C++ team
"Bret Pehrson" <br**@infowest. com> wrote in message news:40******** *******@infowes t.com... Hmmm...
(I'm presuming that you work for/at Microsoft, or have internal contact w/ MS.) Could you contact the compiler group and have them document the metadata "Custom attributes are not consistent" error?
Thanks
"Yan-Hong Huang[MSFT]" wrote: Hello Bret,
Thanks for posting in the group.
Based on my understanding, the problem is: You are migrating an old C++ library project to managed C++ project. However, when you build the project, you got several error LNK2022: metadata operation failed (80131195) link error. Please let me know if I have misunderstood the problem.
I searched in our database immediately when I saw your post. Unluckily, the hits are small. And it seems that there were no similar report before. So we can't tell exactly where the problem may reside now.
In order to troubleshoot the problem, could you please provide us a small repro sample? We will look into it and reply with detailed information here. You can reach me by removing online from my email address here.
I understand that C++ library is not trivial. Perhaps it is hard for you to isolate the problem or create a repro sample. If so, I suggest you contact our PSS (product support service) to have one support engineer specially help you on it. If you need help on contacting PSS, please feel free to post here and I will post back with detailed information.
If you have any more concerns on it, please feel free to post here. Thanks very much and look forward to your response.
Best regards, Yanhong Huang Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no
rights. -- Bret Pehrson mailto:br**@inf owest.com NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
--
Bret Pehrson
mailto:br**@inf owest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
Hello Bret,
Thanks very much for your feedback and sharing your experience in how to
isolate the problem in the community. I am glad that Ronald's suggestion
help resolve the problem.
We will redirect your feedback to the product team. We are looking at
continual improvement, and it's this kind of feedback that let's us know
what things you're trying to do, that we haven't yet exposed for you.
If there is any any other feedback on our product, you can go to http://register.microsoft.com/mswish...=EN-US&gssnb=1
to submit it.
For the usage of ildsam.exe, we can see it from MSDN:
Option Description
/output:filename Creates an output file with the specified filename, rather
than displaying the results in a dialog box.
/text Displays the results to the console window, rather than in a dialog
box or as an output file.
/? Displays the command syntax and options for the tool.
So the command string that you used is correct.
Thanks again for participating the community.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
> So the command string that you used is correct.
Right, but my point was that if you omit the /output=filename flag, you get
*NO* output (other than the header) to the console. That is a bug.
Thanks for the follow-up. I'll be glad to see these fixes in your product,
although I'd *much* rather have a service pack rather than wait for the next
point release.
"Yan-Hong Huang[MSFT]" wrote: Hello Bret,
Thanks very much for your feedback and sharing your experience in how to isolate the problem in the community. I am glad that Ronald's suggestion help resolve the problem.
We will redirect your feedback to the product team. We are looking at continual improvement, and it's this kind of feedback that let's us know what things you're trying to do, that we haven't yet exposed for you.
If there is any any other feedback on our product, you can go to http://register.microsoft.com/mswish...=EN-US&gssnb=1 to submit it.
For the usage of ildsam.exe, we can see it from MSDN: Option Description /output:filename Creates an output file with the specified filename, rather than displaying the results in a dialog box. /text Displays the results to the console window, rather than in a dialog box or as an output file. /? Displays the command syntax and options for the tool.
So the command string that you used is correct.
Thanks again for participating the community.
Best regards, Yanhong Huang Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights.
--
Bret Pehrson
mailto:br**@inf owest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
Hi Bret, Right, but my point was that if you omit the /output=filename flag, you get *NO* output (other than the header) to the console. That is a bug.
Got it. I will repro it on my side and report to product group.
Thanks very much for participating the community. If there is any we can do
for you, please feel free to post new messages in the group.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Hi Bret,
I agree that the linker error you get in the VC 7.1 release is very far from
ideal. You are seeing some growing pains of fitting a separate compilation
model language like C++ into the CLR environment. We knew this issue going
into the release of VC 7.1, but the code base we had worked with compiling
to IJW internally and from the early adopters we got most feedback from
didn't have a large number of occurrences of this issue, so we traded
improving this off for other priority fixes. Subsequent experience both
internally and externally has shown it to be quite prevalent though. We have
been working on getting a KB out on this. I'll check on the status of that.
I am also sorry for my _very_ terse explanation on how to use ildasm and I
am glad you still were able to figure it out. We'll make sure your comments
on ildasm get to the author of that tool.
Ronald
"Bret Pehrson" <br**@infowest. com> wrote in message
news:40******** *******@infowes t.com... Ronald -- thanks for the reply. (Please note, none of my comments are
meant as a personal attack on you.)
In the Whidbey release the linker will give better diagnostics. I still stand by my previous post where I say it will be at least the 4th release of the product before it is truly usable in a commercial
environment. For now the way to diagnose this is using ildasm to dump the metadata of
the .obj files to text and then search for the tokens (the hex numbers
mentioned in the error messages). Usually this is a source error where 2
translation units define a type in a different way. Thanks for defining the mystery error. I was *finally* able to find the
source of the problem and resolve it using the technique you describe -- thanks.
My comments follow for the purpose of actually documenting the procedure:
First, ILDASM is a mixed-mode application meaning that it has a GUI-mode
and console-mode interface.
When running in GUI mode, you *CANNOT* process .obj files (the only files
that are documented are .exe and .dll). This means that you must use the tool
from the command line (with the appropriate vars set through vsvars32.bat or by running "Visual Studio .NET 2003 Command Prompt" from the VS.NET start
menu tools group).
When processing .obj files from the command line, YOU MUST REDIRECT THE
OUTPUT TO A FILE or else you will get no results - BUG! BUG! Additionally, you
must use the /text option to force output to the console. So, it boils down
to: ildasm your_source_fil e.obj /text /out=output.txt
The file output.txt is then created -- open it up and then search for the
token in question (the last hex number of the "Custom attributes are not
consistent" error. (NOTE: the output token identifiers *DO NOT* prefix hex numbers w/
the traditional 0x -- so take this into account when searching for the token.) This will locate the custom attribute of the token that is causing the
error. Once you know the token, it should be relatively easy to locate the actual source of the problem.
So, presuming the following errors:
Assignment.obj : error LNK2022: metadata operation failed (80131195) :
Custom attributes are not consistent: (0x0c0001a5).
The steps would be:
ildasm Assignment.obj /text /out=assignment. txt
Search assignment.txt for "0c0001a5". It should find some custom
attribute, look up a few lines and locate the offending type. Armed with that, you
can go back to your source files and determine why the type (class/struct) is
being defined differently in the different source files.
NOTE TO MICROSOFT: Fix this stupid diagnostic! At the *BARE MINIMUM*,
the offending TYPE and ATTRIBUTE should be displayed *BY NAME* -- hex tokens
in diagnostics went out w/ Lattice C compilers and powdered wigs, they have *ABSOLUTELY NO BUSINESS IN A 7TH-PLUS GENERATION PRODUCT*
Ronald Laeremans Visual C++ team
"Bret Pehrson" <br**@infowest. com> wrote in message news:40******** *******@infowes t.com... Hmmm...
(I'm presuming that you work for/at Microsoft, or have internal
contact w/ MS.) Could you contact the compiler group and have them document the
metadata "Custom attributes are not consistent" error?
Thanks
"Yan-Hong Huang[MSFT]" wrote: > > Hello Bret, > > Thanks for posting in the group. > > Based on my understanding, the problem is: You are migrating an old
C++ > library project to managed C++ project. However, when you build the > project, you got several error LNK2022: metadata operation failed > (80131195) link error. Please let me know if I have misunderstood
the > problem. > > I searched in our database immediately when I saw your post.
Unluckily, the > hits are small. And it seems that there were no similar report
before. So > we can't tell exactly where the problem may reside now. > > In order to troubleshoot the problem, could you please provide us a small > repro sample? We will look into it and reply with detailed
information > here. You can reach me by removing online from my email address
here. > > I understand that C++ library is not trivial. Perhaps it is hard for
you to > isolate the problem or create a repro sample. If so, I suggest you contact > our PSS (product support service) to have one support engineer
specially > help you on it. If you need help on contacting PSS, please feel free
to > post here and I will post back with detailed information. > > If you have any more concerns on it, please feel free to post here.
Thanks > very much and look forward to your response. > > Best regards, > Yanhong Huang > Microsoft Community Support > > Get Secure! ¨C www.microsoft.com/security > This posting is provided "AS IS" with no warranties, and confers no rights. -- Bret Pehrson mailto:br**@inf owest.com NOSPAM - Include this key in all e-mail correspondence
<<38952rglkwdsl >> -- Bret Pehrson mailto:br**@inf owest.com NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
Ronald -- thanks for the response & comments. I (as well as others) appreciate
the insight that you provide on the reasons for the issues, as well as a
commitment to clarify/resolve/fix the issue.
I've got to tell you, I'm *very* impressed w/ the response that I've been
getting to my issues from Microsoft. I've been out of the newsgroup community
for the past couple of years, but before I left, typical MS response to just
about any issue was: "That is a known issue and will be fixed in a future
release. <end>". It is readily apparent that you all have made a concerted
commitment to better handle issues, questions, and comments through the
newsgroups, and it is greatly appreciated.
Bret
"Ronald Laeremans [MSFT]" wrote: Hi Bret,
I agree that the linker error you get in the VC 7.1 release is very far from ideal. You are seeing some growing pains of fitting a separate compilation model language like C++ into the CLR environment. We knew this issue going into the release of VC 7.1, but the code base we had worked with compiling to IJW internally and from the early adopters we got most feedback from didn't have a large number of occurrences of this issue, so we traded improving this off for other priority fixes. Subsequent experience both internally and externally has shown it to be quite prevalent though. We have been working on getting a KB out on this. I'll check on the status of that.
I am also sorry for my _very_ terse explanation on how to use ildasm and I am glad you still were able to figure it out. We'll make sure your comments on ildasm get to the author of that tool.
Ronald
"Bret Pehrson" <br**@infowest. com> wrote in message news:40******** *******@infowes t.com... Ronald -- thanks for the reply. (Please note, none of my comments are meant as a personal attack on you.)
In the Whidbey release the linker will give better diagnostics.
I still stand by my previous post where I say it will be at least the 4th release of the product before it is truly usable in a commercial environment. For now the way to diagnose this is using ildasm to dump the metadata of the .obj files to text and then search for the tokens (the hex numbers mentioned in the error messages). Usually this is a source error where 2 translation units define a type in a different way.
Thanks for defining the mystery error. I was *finally* able to find the
source of the problem and resolve it using the technique you describe -- thanks. My comments follow for the purpose of actually documenting the procedure:
First, ILDASM is a mixed-mode application meaning that it has a GUI-mode and console-mode interface.
When running in GUI mode, you *CANNOT* process .obj files (the only files that are documented are .exe and .dll). This means that you must use the tool from the command line (with the appropriate vars set through vsvars32.bat or by running "Visual Studio .NET 2003 Command Prompt" from the VS.NET start menu tools group).
When processing .obj files from the command line, YOU MUST REDIRECT THE OUTPUT TO A FILE or else you will get no results - BUG! BUG! Additionally, you must use the /text option to force output to the console. So, it boils down to: ildasm your_source_fil e.obj /text /out=output.txt
The file output.txt is then created -- open it up and then search for the
token in question (the last hex number of the "Custom attributes are not consistent" error. (NOTE: the output token identifiers *DO NOT* prefix hex numbers w/ the traditional 0x -- so take this into account when searching for the token.) This will locate the custom attribute of the token that is causing the error. Once you know the token, it should be relatively easy to locate the actual source of the problem.
So, presuming the following errors:
Assignment.obj : error LNK2022: metadata operation failed (80131195) : Custom attributes are not consistent: (0x0c0001a5).
The steps would be:
ildasm Assignment.obj /text /out=assignment. txt
Search assignment.txt for "0c0001a5". It should find some custom attribute, look up a few lines and locate the offending type. Armed with that, you can go back to your source files and determine why the type (class/struct) is being defined differently in the different source files.
NOTE TO MICROSOFT: Fix this stupid diagnostic! At the *BARE MINIMUM*, the offending TYPE and ATTRIBUTE should be displayed *BY NAME* -- hex tokens in diagnostics went out w/ Lattice C compilers and powdered wigs, they have *ABSOLUTELY NO BUSINESS IN A 7TH-PLUS GENERATION PRODUCT*
Ronald Laeremans Visual C++ team
"Bret Pehrson" <br**@infowest. com> wrote in message news:40******** *******@infowes t.com... > Hmmm... > > (I'm presuming that you work for/at Microsoft, or have internal contact w/ MS.) > > Could you contact the compiler group and have them document the metadata > "Custom > attributes are not consistent" error? > > Thanks > > "Yan-Hong Huang[MSFT]" wrote: > > > > Hello Bret, > > > > Thanks for posting in the group. > > > > Based on my understanding, the problem is: You are migrating an old C++ > > library project to managed C++ project. However, when you build the > > project, you got several error LNK2022: metadata operation failed > > (80131195) link error. Please let me know if I have misunderstood the > > problem. > > > > I searched in our database immediately when I saw your post. Unluckily, the > > hits are small. And it seems that there were no similar report before. So > > we can't tell exactly where the problem may reside now. > > > > In order to troubleshoot the problem, could you please provide us a small > > repro sample? We will look into it and reply with detailed information > > here. You can reach me by removing online from my email address here. > > > > I understand that C++ library is not trivial. Perhaps it is hard for you to > > isolate the problem or create a repro sample. If so, I suggest you contact > > our PSS (product support service) to have one support engineer specially > > help you on it. If you need help on contacting PSS, please feel free to > > post here and I will post back with detailed information. > > > > If you have any more concerns on it, please feel free to post here. Thanks > > very much and look forward to your response. > > > > Best regards, > > Yanhong Huang > > Microsoft Community Support > > > > Get Secure! ¨C www.microsoft.com/security > > This posting is provided "AS IS" with no warranties, and confers no rights. > > -- > Bret Pehrson > mailto:br**@inf owest.com > NOSPAM - Include this key in all e-mail correspondence
<<38952rglkwdsl >> -- Bret Pehrson mailto:br**@inf owest.com NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >>
--
Bret Pehrson
mailto:br**@inf owest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl >> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Doug Holland |
last post by:
Often you see code where an empty interface is used to
indicate something about the class that realizes it. In
the .NET world this can be done with custom attributes
too, so which is better:
public class SomeClass : IEmptyInterface
or
|
by: Bret Pehrson |
last post by:
I've converted a non-trivial C++ library to managed, and get the following
unhelpful linker error:
Assignment.obj : error LNK2022: metadata operation failed (80131195) : Custom
attributes are not consistent: (0x0c0001a5).
Display.obj : error LNK2022: metadata operation failed (80131195) : Custom
attributes are not consistent: (0x0c000108).
The help for LNK2022 is completely useless:
|
by: Edward Diener |
last post by:
I understand the syntax of custom attributes, but I have no idea what they
are supposed to do. Anyone care to give me a clue as to their functionality
?
|
by: Tamas Demjen |
last post by:
I started to experiment with VC++ 2005 Beta1. So far everything went
fine, and already have a working project, but soon I realized that the
compiler was ancient (not supporting half of the C++/CLI standard). So I
downloaded the VC++ 2005 Tools Refresh (http://tinyurl.com/5mdq2). After
that I tried to do a full rebuild, but my project wouldn't link anymore.
I get the following errors:
MSVCMRTD.lib(mstartup.obj) : error LNK2022: metadata...
|
by: The Developer |
last post by:
Hi All,
I have a web application where I am adding a custom attribute to my ASP.NET
text box control and changing value of that attribute at client side using
JavaScript. My problem is that changed value of that custom attribute is not
reflecting back at server side. Any ideas about this problem?
Server side code:
private void Page_Load(object sender, EventArgs e)
{
if (this.IsPostBack == false)
| |
by: Sanjay Pais |
last post by:
This is an extension of an earlier post
I have created a custom text box and compiled it and dropped it into my
toolbox. However when I change the value of my custom property in design
mode and switch between design mode to page source and back to design mode i
am unable to retrieve the property value I set. Also the property setting in
the html page is lost.
Thsi is the error I get
**********************************...
|
by: Sam Kong |
last post by:
Hello!
I got recently intrigued with JavaScript's prototype-based
object-orientation.
However, I still don't understand the mechanism clearly.
What's the difference between the following two?
(1)
|
by: wardy1975 |
last post by:
Hi All,
Looking for a little expert advice on a few web standards issues. I am
currently trying to understand the impact of web standards for a web
application I work with. I have been doing a lot of research in the
areas of XHTML and WAI compliance, and am attempting to come up with a
recommendation for our product in terms of standards level compliance.
Ideally, I would like to be at XHTML 1.0 Strict.
However, in my reading I have...
|
by: Mark R. Dawson |
last post by:
Hi all,
I am trying to get custom attributes from a property. I can do this if I
pass in the name of the property i.e. "Name" to the reflection methods, but
if I pass in set_Name which is what the set piece of the Name property gets
compiled to, which I am getting from the stack trace, then the attributes are
not returned.
For example, Class Person has a property called "Name" which has a custom
attribute decorating it. Inside the set...
|
by: prabhupr |
last post by:
Hi Folks
I was reading this article
(http://www.dotnetbips.com/articles/displayarticle.aspx?id=32) on
"Custom Attribute", written by Bipin.
The only thing I did not understand in this article is the usage of
"Custom Attribute" in real life project. Can somebody please help me
understand where are these informations really helpful in Development
Environment; may be a few example(s) will help me understand.
|
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: 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();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |