Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / September 2007

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
VS2008 b2: "error C2813: #import is not supported with /MP"22 Sep 2007 20:16 GMT3
Why?
I mean, why #import is not supported with /MP?
Or how do I get round this? Beside from removing /MP, of course =)
Kind regards, Nikolay
Initializing Arrays20 Sep 2007 15:15 GMT2
I'm using VC++ 2005 Express in /cli mode, and I'm trying to initialize an
array of integers. Something like:
array<int>  int_array ;
int_array = gcnew array<int>(3) ;
"union" syntax20 Sep 2007 04:29 GMT6
I'm struggling to do something really basic.  How do I declare a structure
that has a union that maps an array of 3 chars with 3 distinct char
variables.  In other words, I want the following two statements to put the
same value into the same byte in the structure:
String^19 Sep 2007 18:28 GMT3
I need to expose a String property, so I have:
property String^ Filename;
in my ref class.  Now, in a member function, I need to call a native
function that takes a std::wstring parameter.  Of course, the compiler
Breakpoints and Visual Studio 200519 Sep 2007 09:06 GMT2
One Visual Studio 2005 solution contains a C# project and C++ ATL DLL
project.  The DLL compiles fine, gets registered automatically, gets
referenced correctly when the C# program compiles, and gets called correctly
during execution.  So far, so good.
MouseButtons19 Sep 2007 07:18 GMT1
Petzolds C# book has code like this:
(mea.Button & MouseButtons.Right != 0)
I try the C++/CLI analog:
if( (e->Button & ::MouseButtons::Left) != 0 )
Expression evaluation using __int6419 Sep 2007 01:33 GMT5
I need to compute a 64 bit file offset which will get passed to the _lseeki64 function.
The inputs to the offset calculation are all unsigned shorts or unsigned longs. For example:
unsigned short page_size;
unsigned long page_index;
C++/CLI control null exceptions18 Sep 2007 07:08 GMT2
Hello group,
I'm making a custom control in C++/CLI.  The control builds fine.  To
test the control, I made a C# Forms application.  On the Toolbox, I
right clicked and chose "Choose Items".  I then browsed for my control
Linking a .Net Dll that uses .net framework in VS618 Sep 2007 04:52 GMT1
Is there a problem linking a .net C++ dll that relies on .net framework with
an application that is developed and compiled in VS6 C?
Does this mean .dll is "loaded"?17 Sep 2007 20:18 GMT2
If I see a certain .dll path as shown in the example below:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls\C:\WINDOWS\system32\mydll.dll
Does it mean that the presence of hte registry key above makes such
mydll.dll is "loaded", registered or running?
native/managed17 Sep 2007 20:12 GMT3
I recently added some new code files to a C++/CLI project.  The added
code is all native.  I simply added the code to the project and built
it.  It compiled fine but I am getting the linker error:
LNK2022: metadata operation failed (8013118D) : Inconsistent layout
Win32 API functions?17 Sep 2007 18:39 GMT2
I moved some unmanaged C++ code into a C++/CLI project.  The unmanaged
code makes some Win32 API calls.  I thought as long as I kept the API
calls in a native class, it would integrate seamlessly.  However, I am
getting a whole bunch of linker errors with regards to the API calls:
Newbie looking for Knowledge Base Example17 Sep 2007 12:49 GMT1
Hope your all well? I just wonder if anybody knows where I can find a
downloadable Knowledge Base or Helpdesk using Winforms with Code for either
C++, C#, or even VB? Needs to either have a Access Database or use XML. I`ve
search on Google but to no avail.
exceptions17 Sep 2007 03:42 GMT1
I read in a C++/CLI book that:
"In C++/CLI, exceptions are always thrown on the managed heap, never
the stack."
So I'm wondering if this will be a problem for me.  Here is my
tracking down random memory clobbering, any tools/tips?17 Sep 2007 01:12 GMT1
I have a closed source app. I have a .dll plugin for this app (which I am
writing). This plugin contains a bug somewhere which seems to clobber
memory in a "random" fashion (as in, its not clobbering any specific
identifiable piece of memory that I can breakpoint on or anything). ...
Pages: 1 2 3 4 5 6 August, 2007
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.