Contents

Posts in microsoft.public.dotnet.languages.vc

 

project structure  Replies (1) 18 December 2007
Hi! Really need now some software capable to make completely automatically a table or schema of references between source files or obj files in C or C++ project of VS 6.0 or VS 9.0. References ...

 

VS2005+Mobile SDK6+PB5: XML parsing error  Replies (1) 18 December 2007
Hi groups, VS2005 + Mobile SDK 6 work well on my PC, but after installing platform builder 5.0, VS2005 shows “XML parsing error” when open *.sln. We reinstall VS2005, Mobile SDK and platfor...

 

What does this function do?  Replies (3) 18 December 2007
I am trying to learn C++ and one sample written by someone for me contains this: void DecryptStream(BYTE* buf, ULONG size) { for (ULONG i=0; i

 

First-chance exception--Invalid handle  Replies (1) 18 December 2007
IDE: Visual C++6.0 Project: MFC application I came across a fuzzy problem.When I shut down my program in Debug mode,it g ive me the following words: First-chance exception invalid …………:Invalid ha...

 

What is proper way to pass a managed object into u ...  Replies (11) 18 December 2007
I would greatly appreciate some help on passing managed object into unmanaged code. I need to pass a reference (address of) of a managed class into unmanaged code (written by a thrid party). The ...

 

get ListView current cell  Replies (1) 18 December 2007
Hi, I'm having no trouble populating a list view object, or getting a signal that the user has selected a new cell. However, I can't find any documentation on actually getting the index of the ce...

 

Streaming Desktop Activity in LAN  Replies (1) 17 December 2007
Hi All, I'd like to start up a personal coding for fun project which performs some desktop movement recording/(then)streaming. Basically all i want to do is to have few users on LAN to be able ...

 

MSI error 1638 from depending on VC runtime  Replies (7) 17 December 2007
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then thi...

 

multithreading, thread safety  Replies (1) 17 December 2007
Hi -- I am using RTAudio C++ libraries to manage audio playback ... this uses a callback function. I think that the callback function is not managed code, and therefore not thread safe ??? ...

 

Singleton object in a managed C++  Replies (8) 16 December 2007
Hello, In C# I'm using the foloowing line sysnax for singleton instantiation: public static readonly MyClass instance = new MyClass(); I wish to do the same in a managed C++, but I I get all ki...

 

MI5-Persecution: Why do you think MI5 are responsi ...  Replies (1) 16 December 2007
Why do you think MI5 are responsible? The question of who is ultimately responsible for this eight-year harassment is one which is very difficult to answer, as the persecutors have never clearly ...

 

MI5-Persecution: MI5 are Afraid to Admit Theyre Be ...  Replies (1) 16 December 2007
MI5 are Afraid to Admit They're Behind the Persecution MI5 have issued a formal denial of any involvement in my life to the Security Service Tribunal, as you might expect them to; but, more impor...

 

mixed managed/unmanaged in same exe... how-to hide ...  Replies (4) 15 December 2007
I have a windows service that I've written in managed code. However, I want to use unmanaged code in it that contains some of our core IP and prevent it from be viewed in ILDASM. I've found the do...

 

This code works in vc++6; how to make it work in m ...  Replies (3) 15 December 2007
This code to create an empty window is from a web tutorial that goes into interesting detail on message maps. It is written for msvc6. I have a stupid way to make it work in 2005; install a differe...

 

VC++ .NET 2008 Express (Beta 2) - upgrade?  Replies (1) 15 December 2007
I've been using VC++ 2008 Express ** Beta 2 ** version. I also have most of the other express languages (Basic, C#), but downloaded and installed them prior to the official release as well. Now...

 

Converting VC Project from Visual Studio 2005 to V ...  Replies (4) 15 December 2007
Hello, I need to converting project that done on Visual Studio 2005 to Visual Studio 2003. What the best way to do this? Vadim Vilkhov...

 

learn C++.NET  Replies (5) 14 December 2007
Hello everyone! I've been programming for several years doing web sites, web services, controls, etc. using VB6, VB.NET, C#, ASP, JavaScript and XML, well I'm bored with creating web sites an...

 

Linking or Compiling Dependencies into a .Net Asse ...  Replies (1) 14 December 2007
I have built a wrapper class as a dll in Visual Studio 2005 using Visual C++ .Net. When I include the dll in another project, Project B, on my machine, it works. When I package Project B and deplo...

 

Using fisttp instruction from SSE3 in vc++  Replies (1) 13 December 2007
Hi all, I have an algorithm that truncates doubles to ints for several minutes. I'm trying to make it go faster. Currently, I'm using (int)d; to do it. I reckon that if I can use the fisttp ins...

 

any alternatives to (lack of) virtual static funct ...  Replies (10) 13 December 2007
Hello, I searched for an answer to my question and found similar posts, but none that quite addressed the issue I am trying to resolve. Essentially, it seems like I need something like a v...

 

enums in mc++  Replies (4) 13 December 2007
My current project is a makeup of both C#.Net 1.1 and MC++. Is there any way to define an enum in MC++ that I can use ToString on in C# to get the text value?...

 

Less Templates in VS2005 than VS2008  Replies (14) 12 December 2007
I am using the Professional version. In VS2005, in a C++/CLI project, to create a new item, there were 9 templates and in VS2008 there are only 3 templates. For example, now the template for D...

 

tv  Replies (1) 12 December 2007
Everyone is talking about these amazing new products from SatelliteSoft. Supposedly they enable any PC in the world to access Satellite TV stations over the internet - essentially turning a PC into...

 

Newbie: Creating a Web Service Client  Replies (3) 11 December 2007
Hello, This is my first attempt to write a Web Service Client. I received a .xsd file from the Web Service provider, and he thinks that from this file I should be able to create my client. I ...

 

Understanding the __CxxCallUnwindDtor error  Replies (1) 11 December 2007
I am working on a managed C++ assembly (.Net 1.1) that is a go between C# and a camera SDK. I am trying to create a set of classes to handle the images that come back from the camera, some times th...

 

Convert HGlobal into a Stream  Replies (8) 11 December 2007
I have an image stored in a HGlobal and would like to load it into a System::Image via the System::Image::FromStream(). How do I convert the HGlobal into a stream?...

 

Very frustrating bug in VS2005 headers  Replies (4) 10 December 2007
This problem is entirely in Microsoft's VS2005 C++ headers, so I'm hoping someone has hit it before and knows the fix. I am convertied a medium size (400k lines) C++ program over to VS2005 nati...

 

Converting to 64 bit  Replies (1) 10 December 2007
I am trying to convert some older code that we have in C++, and I get the following error message when I attempt to compile the assembly in 64 bit. Error 1 fatal error C1083: Cannot open include ...

 

Conversion from void* to a point of a class  Replies (7) 10 December 2007
I want to know to the following in a safe manner (the following code will be dangerous if p does not contain a pointer to MyClass). I would like someone to show me a better way (either throw an ex...

 

What is the difference between the VC++ and VC++ e ...  Replies (8) 8 December 2007
What is the difference between the regular VC++ edition and the VC++ express edition? If there is not too much difference in functionality, why the express edition is free?...

 

__hook - C2039 - is not a member of  Replies (2) 7 December 2007
HY! I have a problem hooking an event. I get an compiler error, that my callback isn´t a memeber of the containing class. I canßt find anything I am doing wrong. I found a small coed example w...

 

[VS2008] Specifying Target Framework Version  Replies (3) 7 December 2007
Is there a way to specify which .Net Framework version should be targeted when compiling a C++/CLI managed assembly? I see that VS2008 includes an easy way to specify which framework version sh...

 

program  Replies (1) 7 December 2007
I cant open my microsoft works program...

 

How to convert a VC# .NET project into a VC++ .NET ...  Replies (4) 7 December 2007
I have a VC# .NET project which is imported from an OCX control using AxImp. I would like to convert it into a VC++ .NET project. Is there any way to do it and how to do it?...

 

CString object  Replies (1) 6 December 2007
Hi Is there any way of converting CString object to Uppercase or Lowercase> Thanks. Manj...

 

SerialPort Class too slow & CPU Hog?  Replies (2) 6 December 2007
Does anyone out there happen to have experience using VC# (or any .NET really) to control the serial port for demanding use? My ultimate goal would be to stream an arbitrarily large size (MB+) file...

 

How to convert a VC++ MFC project into a VC++ .NET ...  Replies (6) 6 December 2007
Is there a way to convert a VC++ MFC project into a VC++ .NET project? If yes, how do I do it?...

 

code coverage for native (unmanaged) C++  Replies (1) 5 December 2007
Hello, I'm developing a testing tool that will test native .dlls generated with Visual Studio 2003. I want to add coverage analysis features in order to be able to browse through the source code ...

 

Please Help => Simple Program  Replies (3) 5 December 2007
Dear all, I am trying to compile a Visual Studio 2005 C++ project using an example file from some software I just bought. The code was created in 1998 and I'm getting some errors. Most of the e...

 

managed objects in native classes?  Replies (1) 5 December 2007
Hi, I know a managed class can have an unmanaged pointer to a native object, but is it legal for a native class to have a member reference to a managed class?...

 

Dialog look and feel  Replies (3) 5 December 2007
With VS2005 the look and feel of dialogs created with MFC and Windows Forms is different. E.g. still of checkboxes, buttons, etc. Is it possible to achieve the same look and feel with both MFC an...

 

value structs  Replies (1) 5 December 2007
I have some unmanaged structures which only contain basic data types. For example: struct Vector3 { float x; float y; float z; // methods }; I want to use these in a...

 

native vs value struct  Replies (1) 5 December 2007
1. Can a value struct inherit from a native struct? 2. Suppose I have a native structure: struct Vector3 { float x, y, z; }; and you make a corresponding managed version value struc...

 

Help => How to parse string in Visual C++??  Replies (3) 5 December 2007
Hi all, The program below correctly prints out -7 in the console window: int _tmain() { float test = 0.0; String* line = S"0.1 -7"; Char chars[] = {'\t'}; String* split[] = line->Split(ch...

 

Problem converting to mixed mode c++  Replies (1) 5 December 2007
I have a program that uses the OwlNext library. I am trying to get this to compile with the /clr switch on. Needless to say, the program compiles and works fine without this switch. I end up wi...

 

How to I18N a Setup project?  Replies (2) 4 December 2007
My C# code is I18N'ed by appropriately naming and editing .resx files. At execution time, it works. My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files. When I link to ...

 

Clearning file contents  Replies (2) 4 December 2007
I am doing file operations using fopen(), fwrite(), fclose() group of functions. At times I need to clear the file contents while the file is open. Is there a function in the same group to do it? ...

 

sample code for setting up ReportViewer Page Layou ...  Replies (1) 4 December 2007
Hi,I have a problem to write a metod in C# for setting up ReportViewer Page Layout Attributes before building my project in Design time . for example ,i want to write a code in my ReportForm.cs to sh...

 

Combo Box access  Replies (8) 4 December 2007
Hi I am trying to access a combobox of a dialogbox. The code is someting like that: void CDatabaseView::OnAddExpdata() { CExpDataDlg dlg; CComboBox* pCmbBox = static_cast ...

 

Are all threads in an application affected by Appl ...  Replies (8) 4 December 2007
Have a main thread with a form and it starts another thread with a form. I set Application.UseWaitCursor property to True in the main thread. Most of the time I see the wait cursor in the main t...