-
- integrating VC++ and C# GUIs
by DavidRaines
- 4 Replies
- Last post
by DavidRaines
- ( sorry for cross posting with the C# forum)
I'm trying to integrate an unmanaged VC++ MFC GUI application with a new C# library. The C# library is a GIS library (i.e., it draws maps to the screen), and I'd like to (somehow) tell it to draw to one of the HWND window handles that was defined in VC++. The C# library allows the user to set the window handle for it to use (it accepts the standard I
-
- Migrating from VC++6 Pro to VS2005 Standard
by JG53_Jaguar
- 7 Replies
- Last post
by Mike Danes
- Hi, I just got VS2005 Standard (+ SP1) and I'm migrating from VC++6 Pro. I'm purely only interested in C++, Directx and MFC development. Does anyone know if Microsoft has any migration guide that I could read to help me along the way 4 simple questions: 1) What happened to Class Wizard window VS2005 and how do I go around this in VS2005 2) In VC++6 I had resources tab in my project window. In VS
-
- runtime error - cannot find .dll
by adysor
- 6 Replies
- Last post
by adysor
- Hello, I have the following problem: the project I'm working is compiled and linked to all the additional libraries I have specified. When I try to run it, it gives me the following error message: The application has failed to start because NetBee.dll was not found. Re-installing the application may fix the problem. In my project I use the library NetBee.lib and the compiler and linker don't compl
-
- 'size_t' to 'size_t' - Visual Studio 2005: warning C4267: 'initializing' : conversion from 'size_t' to 'size_t' (!??)
by Martin T.
- 5 Replies
- Last post
by Simple Samples
- Well. This error doesn't make too much sense to me ... it's shown with the /WP64 switch. (wchar_t is set to non-native, ie unsigned short) How is it possible that the compiler warns about "from 'size_t' to 'size_t'" ... thanks! Martin
Code Snippet
c:\programme\microsoft visual studio 8\vc\include\xlocnum(1337) : warning C4267: 'initializing' : conversion from 'size_t' to 's
-
- synchronization in c++
by ku19832001
- 4 Replies
- Last post
by einaros
- Hi all,
I was just wondering wat are different methods provided in c++ for synchronization between 2 process....i.e., if one process is writing into the buffer then how can i stop the other process from reading from that buffer n if it doesnt read the value then wat does it read
kunal
-
- Question about GC.Collect()
by Rups11
- 2 Replies
- Last post
by Jonathan Allen
- Hi All,
See the below code snapshot in vb.net 2005 -
I am calling GC.collect() in the sub test1() ...but the object is disposed only when i complete end sub of Button15_Click...why it is not cleaning up when end sub of test1 is executed
Private Sub Button15_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button15.Click
If 1 Then
-
- Code optimization bug in VS2005
by ThePPK
- 13 Replies
- Last post
by ThePPK
- Hello colleagues! We've recently faced a very strange behavior of VS2005 compiler optimization. The following code shows the problem which seems to be both very intricate and unstable. We've tried the code on Athlon, P4 and Core Duo processors and VS2005 Pro, Std and Express with the same result. The code should be used in a newly created Windows console app in C++. The problem occurs only under R
-
- How to build table control ?
by Alexander553719
- 5 Replies
- Last post
by Sdi
- I need to build the table control (like excel) in dialog based application.
How I can to do it
-
- mt.exe:general error c101008d [answer]
by Jan Wilmans
- 5 Replies
- Last post
by foo123123123
- Hi,
I'm using visual studio C++ 2005 express edition with SP1 and the vista patch (on vista ofcourse) to build a C++.NET project
Recently i'm getting this error when I build my project:
(the project compiles and links ok and the dll exists at this point)
Embedding manifest...
2>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of fi
-
- [VS2003] iterato
by aguess
- 3 Replies
- Last post
by Bite Qiu - MSFT
- hi
i have a list called company and in the company list i have some functions and an other list called worker .
when i want to get the begin of the list company i can't get the begin() method(Member Functions for the class list: end(), empty(), ....... ) it just give me the method of the list company (functions and procedures that i defined ).
list<company>::iterator comp;
-
- Application GUI Frozen
by GET&#64;h
- 7 Replies
- Last post
by GET@h
- Hi All, I have two C++ MFC based applications (Client and Server) which are running together to process some data in real time. The Client gets data from an external device then asks the Server application through a UDP socket on 127.0.0.1 for some data. When the Server gets a request for data, it updates some of its UI elements (a flag turning from black to green to tell the user
-
- Access violation in release bulid only
by Sjur Kolberg
- 10 Replies
- Last post
by TilakGopi
- Dear list,
I have a problem with the release version of a C++ program, which gives me the following message:
Unhandled exception at 0x7c91888f in RSupdate6.exe: 0xC0000005: Access violation reading location 0x1d00a390.
Visual Studio v. 8.0.50727.42
XP professional 2002 SP 2
Dell Optiplex GX 270, Pentium 4 2.8GHz, 1.5GB RAM
The debug version is OK, and when I debug the release ver
-
- Position of cursor in text box
by jacek rzeniewicz
- 1 Replies
- Last post
by Naveen R
- I need a function which returns an actual position of cursor in text box. Do you know something like that
-
- -> , :: , etc..
by nate-d-o-double-g
- 3 Replies
- Last post
by TilakGopi
- I'm really a vb.net guy but have VS.NET, i never really bother with C++ but now i think its time. How do i know when to use the :: , xyz^, and -> etc In the other languages i only need the dot operator so these are confusing!
-
- UNinstall (involving) VC++ runtime libs takes a long time
by CliftNorris
- 11 Replies
- Last post
by BrewerPM
- VS.NET2005 SP1, on WinXP SP2.
Using the Visual Studio setup tools, I built an installer for a small WinForms application that uses C++/CLI.
I packaged the C++ merge modules into the .msi file. The installer seems to work fine.
When I UNinstall my application, the progress bar gets to about 90% and stays there for a LONG time.
On one particular machine I've seen the uninstall take 8
-
- Errors when compiling a VC6 project in VC2005
by OracleDBA
- 8 Replies
- Last post
by GeraldM8
- Hi All,
I try to compile a project built several years using VC++6 in VC++ 2005 and got following errors when trying to build the project after clearing out all the other errors in *.CPP file:
error C2248: 'CObject::CObject': cannot access private member declared in class 'CObject' file afxwin.h line#1814
The line#1814 in afxwin.h is the end of class definition for CCmdTarget.
This is
-
- winsock pop3 client
by cadouthat
- 2 Replies
- Last post
by cadouthat
- is it possible to make a pop3 email client using winsock
if so could you get me started on how to connect to the pop3 server
thanks in advance
-
- Automation: Can't create Excel Instance
by testalucida
- 2 Replies
- Last post
by testalucida
- Hi all,
I'm trying for quite a long time, but can't get it work. The call to exlApp.CreateInstance always returns "not registered".
What might be the reason
My Project is a Console application without MFC.
#import "C:\Programme\Microsoft Office\Office\mso9.dll" rename( "RGB" , "MSRGB" )
#import "C:\Programme\Gemeinsame Dat
-
- LNK2001..ATL?
by NPrado
- 3 Replies
- Last post
by Bite Qiu - MSFT
- I ran into this error when trying to build my subsystem windows application: midiobjectwin.obj : error LNK2001: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" ( g_pfnGetThreadACP@ATL@@3P6GIXZA) .\mixxx-Debug.exe : fatal error LNK1120: 1 unresolved externals As far as I can see, I have all my paths for my libs and such set correctly. I asked a buddy of
-
- _CrtIsValidHeapPointer() fails on deletion of DLL allocated object
by Grueneis Markus
- 7 Replies
- Last post
by Grueneis Markus
- Hello,
I try to bring an interface of a DLL, exporting some methods which take use of STL containers and C++ Standard Library types, to work. I tried to get a minimal non-working example, but every example I can come of in a new project just works as expected, so I hope you may recognize some flaw in the original setup.
The DLL is loaded via LoadLibrary(), and a function
-
- Combobox
by YaelS
- 8 Replies
- Last post
by Damien Watkins - MSFT
- Hi,
1) Combobox:
I'm working with VS 03, why I can't see " Properties" like here
http://www.codeproject.com/combobox/combobox_tut.asp
I want to add items for a combobox control but the "Data" is in gray color (disable).
And I have to create CMyCombobox object to get the selected item
2) CListCtrl:
How can I set Items like this:
list.InsertItem(row,
-
- How to find where a string in an RC file is used
by chas2003
- 6 Replies
- Last post
by chas2003
- I have a bug in a project I need to track down. I know the error message and I can find it in the project. It is in an RC file. It is associated with the number 0x00000230. But that number doesn't appear anywhere else in the solution. Is there a way to find out where an error string is used within a project/solution Thanks, Chas
-
- Memory Would Not Return Under Release Mode
by Tom C. Quy
- 4 Replies
- Last post
by Tom C. Quy
- I have a list of type CStringList that feeds messages into a scroll window. When the list has a substantial number (I mean tens of thousands or more) of messages, I delete all the messages from the list by calling RemoveAll( ) (i.e. myList.RemoveAll( ) ) to remove all the messages from the list in order to return some memory to the operating system. To monitor the return of memory, I open up Windo
-
- Cross assembly C++/CLI instanciated templates
by oliviER&#43;&#
- 4 Replies
- Last post
by oliviER++
- Hi, I am looking for a way to be able to use a C++/CLI template that is instanciated in another template. Something like that:
Code Snippet
// assembly A template < typename T > public ref struct X{}; template ref struct X<int>; // assembly B X<int> myObject; I've searched the forum and the closest thing I found is this example:
Code Snippet
// assembly
-
- winnt.h
by ArjCoder
- 5 Replies
- Last post
by ArjCoder
- I am trying to build my code in MS Visual C++ with PSDK Server 2003 R2. I cant get past these errors, these are not even in my code! c:\program files\microsoft platform sdk\include\winnt.h(3858) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' c:\program files\microsoft platform sdk\include\winnt.h(3858) : error C4430: missing type specifier - int assumed. Note: C++ does