473,834 Members | 1,363 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ildasm and `#pragma unmanaged`

When dealing with managed code it displays everything well, but I am curious
how ildasm handles the `binary` when it encounters a block of native ML.
Nov 17 '05 #1
6 1759
run the ildasm and find out numbnuts.
"Wayne M J" <no*@home.nor.b igpuddle.com> wrote in message
news:Os******** *****@TK2MSFTNG P10.phx.gbl...
When dealing with managed code it displays everything well, but I am curious how ildasm handles the `binary` when it encounters a block of native ML.

Nov 17 '05 #2
<.> wrote in message news:eJ******** ******@TK2MSFTN GP11.phx.gbl...
run the ildasm and find out numbnuts.


"Applicatio n caused an exception"

Perhaps that is why I am asking - Is this how it handles native code blocks?
Nov 17 '05 #3
Well, fix the exception and then run ildasm numbnuts.

"Wayne M J" <no*@home.nor.b igpuddle.com> wrote in message
news:uO******** ******@TK2MSFTN GP09.phx.gbl...
<.> wrote in message news:eJ******** ******@TK2MSFTN GP11.phx.gbl...
run the ildasm and find out numbnuts.
"Applicatio n caused an exception"

Perhaps that is why I am asking - Is this how it handles native code

blocks?

Nov 17 '05 #4
<.> wrote in message news:Oh******** ******@TK2MSFTN GP10.phx.gbl...
Well, fix the exception and then run ildasm numbnuts.


I take it then that you do not know, afterall if you did you would have
actually disclosed how ildasm handles native code segments.
Nov 17 '05 #5
Or I could just be having a piss take.

"Wayne M J" <no*@home.nor.b igpuddle.com> wrote in message
news:#8******** ******@TK2MSFTN GP10.phx.gbl...
<.> wrote in message news:Oh******** ******@TK2MSFTN GP10.phx.gbl...
Well, fix the exception and then run ildasm numbnuts.


I take it then that you do not know, afterall if you did you would have
actually disclosed how ildasm handles native code segments.

Nov 17 '05 #6
.. <.> wrote:
Or I could just be having a piss take.
<plonk>

Seems this attitude is spreading here these days.
[...]

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #7

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

Similar topics

0
1214
by: kaarlo | last post by:
When I write some scrap of code using .NET C++ and place it under #pragma unmanaged. It will be compiled as native code. But can any obsfuscator etc programs see the contents of that code??? Can I trust that code as secure as it was while using VC6.0++ -kaarlo-
1
1887
by: knormand | last post by:
I have an older MFC C++ app with some new Managed C++ being thrown in. Recently I turned on the /clr flag for one of my old .cpp files. I then placed '#pragma unmanaged' just below my #include statements near the top of the file. These headers contain older unmanaged class declarations. When running I discovered a new bug, a crash, at a point in execution that was nowhere near any code that's been touched in quite a while. After hunting down...
14
6503
by: Jon | last post by:
Whether I can compile a class or not, depends on the order of functions in my class. My question is (see example below): 1) Is it a bug that the class 'WillCompile' will compile and execute, or 2) or is it a bug that the class 'WillNotCompile' will not compile?. #include "stdafx.h" #include <iostream> #include <memory> using namespace std;
2
1299
by: J | last post by:
Compiling a straight C++ module under VC++ 7 would seem to autogen an 'IJW' type .NET module, even if the module has standard VC++ syntax. I'm assuming that the 'unmanaged' flag would have no further affect on this code. Nor would __nogc. Correct? Or are there subtle further differences? Are there recommended references that sort this type of thing out in precise detail?
4
3640
by: Troy | last post by:
Hi, I am working on a mixed native/managed project involving DirectShow and am trying to decide how the modules should be partitioned. I am trying to understand the true affect of #pragma unmanaged in a managed project. From my research it seems that, assuming there are no managed/native thunks involved, the code should perform as though it were compiled in a native Win32 project. However, as a simple test, I created a project that...
1
3089
by: Gustavo L. Fabro | last post by:
Greetings! Going directly to the point: myclass.h: //-------------------------------------- #pragma managed //Forward declaration
1
2605
by: H.B. | last post by:
Hi, I need to make a function that can display data on my Managed C++ app and be called by an unmanaged C++ DLL. Something like : void Form1::Form1_Load(System::Object * sender, System::EventArgs * e) { MyDLLInit(MyAppDisplayFunction); }
5
2405
by: Andy | last post by:
I'm having trouble accessing an unmanaged long from a managed class in VC++.NET When I do, the contents of the variable seem to be mangled. If I access the same variable byte-by-byte, I get the correct value. Regardless what I set the variable to, the value that is returned for a long is always the same value. What's going on...can anyone help me? A short version of the code follows:
0
9643
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,...
0
10790
Oralloy
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...
1
10545
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
10214
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...
0
6952
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();...
0
5624
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...
0
5790
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3976
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3079
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.