Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 692 results for
unmanaged
- Page 1
Unmanaged C++ dll taking CString as parameter crashes my app!
Programming
Software Development
16 Years Ago
by super_beda
… a little wrapper dll for this function containing an
unmanaged
function that takes as input some const char*,"…run my .net app using it crashes when calling the
unmanaged
dll (I saw it in debugging mode). This is…pop) #endif [/code] where MSS_SDK.dll is the other
unmanaged
dll containing the function taking CString as input. I import…
Unmanaged/unsafe native code in C# project
Programming
Software Development
9 Years Ago
by Suzie999
… what members were available in a class either managed or
unmanaged
. So I quickly realized rhis would be a nightmare and…
calling unmanaged function from managed C++
Programming
Software Development
16 Years Ago
by ninjaneer
…has yielded no solution. the following is my
unmanaged
code, and it's location just above …namespace System::Threading; //here is where my
unmanaged
code is defined #pragma
unmanaged
public class MATLABDLL{ public: void MATLABFunctionCall()… here is the managed section that calls the
unmanaged
code. It is inside a function that is…
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by zachattack05
… class BaseResource: IDisposable { // Pointer to an external
unmanaged
resource. private IntPtr handle; // Other managed resource this… class here. addedManaged.Dispose(); } // Release the native
unmanaged
resources you added // in this derived class here. CloseHandle…
how to call managed c++ from unmanaged c++ ?
Programming
Software Development
16 Years Ago
by arfte
Hi, Anybody knows how to expose an interface from
unmanaged
MFC C++ to managed c++ within the same application ? I have a managed c++ class and an
unmanaged
MFC c++ class, and am trying to create an object of managed class with keeping the application's compile option as
unmanaged
.
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by zachattack05
…c#]class UnmanagedResourcesClass : IDisposable { //some code with
unmanaged
resources }[/CODE] Do I need to define somewhere what… [CODE=c#]class UnmanagedResourcesClass { //some code with
unmanaged
resources }[/CODE] and after a SqlConnection object is …MyObject.Dispose(); will that alone dispose of the
unmanaged
resources? Or do I need to define …
Re: Managed and unmanaged code
Programming
Software Development
17 Years Ago
by vijayan121
…? the easy way is to just mix the managed and
unmanaged
code as required. this is called IJW ( "it just… <iterator> using namespace System; using namespace std ; #pragma
unmanaged
void sort_and_print( int* p, size_t N ) { std::sort( p, p…
Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by zachattack05
…, why would anyone ever bother disposing of something, managed or
unmanaged
? If I have a form that displays data in a…. Besides, how would someone know what kind of resources are
unmanaged
? Is there a list somewhere?
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by Momerath
…. If you were to create a class that had an
unmanaged
resource you should implement IDisposable in it. This tells other… else needed? [/QUOTE] Yes, it would dispose of the [i]
unmanaged
[/i] resource. The actual object clean up has to wait…
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by embooglement
… collecting algorithm signifies that they are no longer in use.
Unmanaged
resources are though.
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by Momerath
… could be delayed until the program exits. If you have
unmanaged
resources, it's possible that the OS will run out…
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by Momerath
…. Most likely you will not be writing code that uses
unmanaged
resources, unless you use [i]unsafe[/i], COM objects or…
Re: Managed and Unmanaged Resources
Programming
Software Development
14 Years Ago
by Momerath
… *you* write the code for a class that has an
unmanaged
resource. Then you'd need all the stuff from that…
What is managed and what unmanaged c++?
Programming
Software Development
18 Years Ago
by PancoMaan
What is managed and what
unmanaged
c++?
Re: What is managed and what unmanaged c++?
Programming
Software Development
18 Years Ago
by thekashyap
AFAIK, this is .NET specific terminology, managed means the VM of .NET manages the resources, whereas a pure c, c++ program is called
unmanaged
as it's expected to take care of it's resources..
Re: What is managed and what unmanaged c++?
Programming
Software Development
18 Years Ago
by PancoMaan
[quote=thekashyap;353565]AFAIK, this is .NET specific terminology, managed means the VM of .NET manages the resources, whereas a pure c, c++ program is called
unmanaged
as it's expected to take care of it's resources..[/quote] Can you please explain more,I am total beginner.
Managed and unmanaged code
Programming
Software Development
17 Years Ago
by dallaseve
… anybody help me with getting managed code to talk to
unmanaged
code? I'm okay coding via clr, but I don…
How to call C# DLL in pre-written unmanaged C++ code
Programming
Software Development
16 Years Ago
by plenitude
… I have to call my DLL from a per written
unmanaged
C++ program.... plz help n plz dont suggest to create…
Linux Security Suggestions - Setting Up My Own Unmanaged Dedicated Server
Hardware and Software
Linux and Unix
16 Years Ago
by =IceBurn=
… I've just order my first dedicated server. It's
unmanaged
and only comes with [B]Debian 4.0 / LAMP[/B…
Call C# DLL From Unmanaged C++
Programming
Software Development
15 Years Ago
by AceiferMaximus
Is it possible to call a .dll I made in C#, and use it in my
unmanaged
C++ code? If so, can someone show me an example of how this is done, or a link to go about doing it. I wasn't able to find much on google, and most of the info wasn't relevant to me. I don't even know if it is truly possible.
Re: Call C# DLL From Unmanaged C++
Programming
Software Development
15 Years Ago
by MrSpigot
… .dll I made in C#, and use it in my
unmanaged
C++ code? [/QUOTE] It's certainly possible, though you may…
Re: Call C# DLL From Unmanaged C++
Programming
Software Development
15 Years Ago
by AceiferMaximus
… have a fully functional COM wrapper I can use from
unmanaged
C++. It took some tweaking but here is how I…
Compiling unmanaged code to C#
Programming
Software Development
15 Years Ago
by jt3204
… am having some trouble compiling what I believe to be
unmanaged
code (output from monodis) back into C# for analysis. What…
Managed and Unmanaged code
Programming
Software Development
14 Years Ago
by zizi
Hi,code anyone could tell me what is the difference between these two I know that the C# compiler makes a managed code and C and C++ compilers make
unmanaged
codes but what is the exact difference?
Re: Managed and Unmanaged code
Programming
Software Development
14 Years Ago
by craigp1
… provides services such as security, threading and memory management etc.
Unmanaged
code compiles direct to machine code. Services such as memory…
Re: Managed and Unmanaged code
Programming
Software Development
14 Years Ago
by zizi
hi,thanks. you know my problem is I want to get details to memory management and usage of stack and heap memory in
unmanaged
codes and compare it with the managed code,any idea from were can I start?any web resources. regards
Setting up a website on unmanaged VPS using centos6 - Help
Hardware and Software
Linux and Unix
13 Years Ago
by MGadAllah
Hello Just ordered an
unmanaged
VPS for hosting 2 websites. I'm really new a …
Creating or accessing a Form from an unmanaged C DLL
Programming
Software Development
12 Years Ago
by mpatel1967
… want to rewrite it). We have the code compiled as
unmanaged
code (stubbing out the old GUI code) in VS 2010…
Re: Unmanaged/unsafe native code in C# project
Programming
Software Development
9 Years Ago
by ddanbe
Did you try to incorporate c++ code into your C# code using the [unsafe](https://msdn.microsoft.com/nl-be/library/chfa2zb8.aspx?f=255&MSPPError=-2147217396) keyword? You also have to mark the `unsafe` option in your project properties, but I forgot where exactly. It can't be difficult to find I guess. Hope it helps a bit.
Re: Unmanaged/unsafe native code in C# project
Programming
Software Development
9 Years Ago
by Suzie999
To be honest I had no idea that, that might be possible, because nothing like that came up in my search. Thank's, that would be marvellous if it works. EDIT: Unfortunately, it appears unsafe keyword is only for use with primitive types, I need to use many C++ #includes containing many different non primitive structures.
1
2
3
12
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC