-
- Installation C++ 6.0
by DonnP
- 2 Replies
- Last post
by Sarath.
- Trying to install Visual 6.0 for collage course. Totally new to C++. After installation and tried to use, get error executing cl.exe. Not sure how to fix. Looked at School web sight followed trouble shooting guide but unsure. At comand promt did not see paths. Instructions led to system performance and system icon, advance tab, enviroment variables. Did not find all info so next step to add or mod
-
- Linking MSDN to reinstall of VS2005
by Shakje
- 2 Replies
- Last post
by Shakje
- I was getting an error about the project manager being incorrectly installed (after it had been working fine for a long time), and after trying to repair it a few times it just wasn't working, so I did a full reinstall of VS.
I was wondering if anyone knew how to link MSDN back to VS without reinstalling MSDN
-
- error LNK4006: _DllCanUnloadNow@ - /FORCE:MULTIPLE doesn't resolve issue
by v ho
- 1 Replies
- Last post
by Bite Qiu - MSFT
- I'm getting this linker error: LNK4006: _DllCanUnloadNow@0 already defined in dlldata.obj; second definition ignored
Linking with flag /FORCE:MULTIPLE doesn't help. Does anyone know how to fix this
thanks
-
- migrating vc 2003 to vc2005
by jeeban
- 4 Replies
- Last post
by jeeban
- i have a big vc++ project .i m converting it to 2005.
but so many error is comming like "Error 98 error C2059: syntax error : '(' c:\documents and settings\vest 2\desktop\autorouter\sunautomationc\debug\msvbvm60.tlh 483 " in the .tlh file.
i have dll file in vb
-
- forum moderator
by lemonlime
- 2 Replies
- Last post
by Simple Samples
- ***If you still need to delete your entry, submit a post to the forum for the moderator to delete***
This post is for the forum moderator... can the post i did on 02/11/2007 on Data structures programming using C++ be deleted please... the starter was cyndyash.... It was a paste of an assignment.
thanks.
-
- Error while running exe files created in VC8
by Angshuman Chatterjee
- 14 Replies
- Last post
by ashishbhatt12
- I have a proejct with several dll-s and an exe which I have migrated to VC8. I get the floowing message if I try to run the exe:
This application has failed to start becaue the application confuiguration is incorrect. Reinstalling the application may fix the problem.
Similarly I get the following message if I try to register the dll-:
LoadLibrary(<library.dll>) failed - This app
-
- help me plzzz
by simpatico
- 7 Replies
- Last post
by einaros
- hi
i have a problem in c language
plz help
its a loop draw a star in a position input by a user like this
- - -
- * -
- - -
then the user must provide another position so the fig. must be redrawn
and the previous star must be taken from the fig above
and draw the old and the new star like this :
- - -
- * -
- - *
plz hlp me as soon as
-
- Why does VS rebuild all projects again when we start to debug?
by ATLFalc_Paul
- 6 Replies
- Last post
by Simple Samples
- Hello everyone,
We have about 10 projects in our solution and obviously the rebuild of the solution takes some time. The problem I have with Visual Studio is that if I make a change to a project file(code change) rebuild the solution and then say "Start Debug" the whole solution rebuilds again for the second time even though it was built a second ago and no change has been made to the
-
- Question about holding open console windows
by Elspin
- 6 Replies
- Last post
by mloskot
- I'm just starting to get started on C++, and I have a question. I'm learning from the basic win32 console applications, but since the console automatically shuts down when no more input is needed, I have to find some way of holding it open.
Code Snippet
#include "stdafx.h" #include <iostream> using namespace std; int main () {
return 0; } Is the current structure
-
- COM port programming!
by puffy
- 1 Replies
- Last post
by Ramkrishna Pawar
- Hi All,
I'm trying to write a serial port program using VC++, that will listen to a COM port and respond on the same COM port or another COM port on the same PC, e.g write "Hello World", reply should be "Hi"
Am meant to use MFC.
Any help or tips would be highly appreciated.
P.
-
- 10035 Socket Error on Connect
by BoatProg
- 2 Replies
- Last post
by BoatProg
- I am getting Error 10035 after issuing Connect.
The Create method on the connect socket is successful.
Create and Listen on the Listening Socket are successful , the computerid and port parameters are correct and are set to "loopback" and 4000, which work OK on a similar program which is a Dialog application rather than an MDI application.
The OnAccept event is not issued on the
-
- Conditional Post Build Events
by NeilWindelinckx
- 1 Replies
- Last post
by rtpninja
- Is it possible to create a conditional post build event, depending on a preprocessor define in visual studio The problem i have is a project that depending on a #define links to either path1/X.lib or to path2/X.lib. But to execute the project, i need to copy, via a post build event, the relevant dll from either path1 or path2 to the executable directory. Any ideas on how i can do this copy withou
-
- questions on vc++
by SAMERH
- 4 Replies
- Last post
by Pintu Shukla
- Hi,
I'm kind of new on VC++ 2005. So I have some questions. I've used to write these codes to execute actions.
Actions and Codes to execute them: --------------------------------------------
Dim str as String = TextBox1.Text TextBox2.Text = Mid(str, 5, 1) To return a string containing a specified number of characters from a string
Dim str as String = &qu
-
- which way is more efficient to check bit value
by George2
- 14 Replies
- Last post
by George2
- Hello everyone,
I have a large array (char*) and I need to check which bit is the first bit whose value is 1.
I have two ways to implement,
1. Iterate each byte, then iterate each bit in each byte one by one; 2. Iterate each byte, and check whether the value of the byte itself is non-zero, if yes, then iterate each bit in the byte to find which bit is the first bit which is set to 1, or e
-
- #import paths
by Xentrax
- 3 Replies
- Last post
by Xentrax
- Our code #import's some dlls from C:\Program Files\Common Files\System\ado.
Some of us work on Windows XP and others switched to XP-x64.
And the required modules are in C:\Program Files (x86)\Common Files\System\ado
It seems that ADO dlls either need to be copied to the project folder or *.tlh files be pregenerated.
But maybe there any ways to #import modules differently depend
-
- How to create ListView with Option buttons?
by Machhindra
- 6 Replies
- Last post
by Machhindra
- I have listview control in Dialog based MFC application (VC++ - VS 2005). I have populated multiple rows of data in the ListView control running in report mode.
There are three mutually exclusive choices for each row. User can select one of the choice. e.g Convert/ Delete / Skip. How would I provide these choices to the user
One approch could be - Display two option buttons for each
-
- Debugging
by patti_nyl
- 5 Replies
- Last post
by patti_nyl
- Hi, when I am trying to debug, now and then Visual Studio opens a Assembler file to debug, I don't want that, eaven when it is my own code it opens a dissambly file.
What is wrong
thanks in advance, Patrik
-
- Memeory 3G problems
by jianghongtu
- 3 Replies
- Last post
by Simple Samples
- I have a workstation with AMD64 CPU's and 6 Giga Byte RAM ,OS Windows XP 64 , installed Microsoft Platform SDK for Windows Server 2003 SP1. My problem is: 1.I want to use MFC in vs2005 to develope my application,is it possible to use >3G RAM how to use >3G RAM with VirtualAlloc(),can u help me ,or give me some detail link(step by step). 2.there is no option in the vs2005 for AMD64 Platform i
-
- How to make dynamic 2D arrays?
by EnigMa_AnGeL
- 10 Replies
- Last post
by mingerso
- Is it possible to have a dynamically sized 2D or 3D array For a normal 1D array, I have 2 methods: 1) create a pointer to a variable, then initializing it with a supplied size: int *iTemp; iTemp = new int[100]; 2) use a CList. CList<int,int&>iTemp; But these methods fail when I try to make a 2D array. i.e. iTemp = new int[10][10] \\not possible Is there a way to achieve this instead o
-
- error using Smart Device Walkthroughs in VS 2005 Professional
by Joel555471
- 2 Replies
- Last post
by Joel
- Using Visual Studio 2005 Professional
Hi, I can't create device projects with any templates in Visual C++ following "Smart Device Walkthroughs" on the MSDN web page. I could do it for the walkthroughs that use Visual C# and Visual Basic, but not for C++. It only says "Creating Project... fails"
A Runtime error has ocurred, do you wish to debug
Line: 4033
Err
-
- How to populate a listbox in a WIN32 C++ Non MFC Dialog Box
by RedKMan
- 3 Replies
- Last post
by kirants
- I've got a dialog box up and running which has various controls such as radio buttons and listbox's. I am now trying to add some functionality to the controls. First off I am trying to populate the listbox. To do this I have the following code:-
// Put some text in the list box
HWND hListBox = ::GetDlgItem(g_hWnd, IDC_MODES);
for ( int i = 0 ; i < 8 ; i++)
: endMessage( hLis
-
- PInvoke
by Noobie and Newbie
- 3 Replies
- Last post
by n0n4m3
- Hi people, I am trying to learn about using C++ in C# device application from this URL http://www.codeproject.com/netcf/MakeDemo.asp I create a Win32 dll in VS2005 and than create a C# device application private void button1_Click(object sender, EventArgs e) { int x = fnUnmanaged(); MessageBox.Show("Platform invoke " + x); } [DllImportAttribute("Unmanag
-
- DLL function to send a string to a VB application
by Dalai
- 6 Replies
- Last post
by Dalai
- Hi
Could anyone help me or set me on the right track ...
I need a C++ DLL function that can send a string to a VB application.
The string would consist of comma seperated fields.
is this possible
-
- using excel type library in vc++2005
by ken9865432
- 8 Replies
- Last post
by Ted.
- I tried to do the following example in vc++ 2005 but it wont comiple.
It returns like 300 errors in excel.thl file. I havent even done the coding part, i just
imported the CApplication.h and turned on the runtime support compiler option ( /clr:oldSyntax )
like the kb says and tried to compile.. help..
http://support.microsoft.com/kb/308407
-
- Wake on LAN Problem
by pgems
- 1 Replies
- Last post
by JMc++Coder
- Hi, I have client-server application. Client sends its MAC Address and Time Interval to server machine and then client side trasit into sleep state. Server, after time interval ellapses, send magic pacet to received MAC address to wake the client. Here the problem is in time interval, if client sends this interval as 120 seconds or more, server sends magic packet but client doesn't wake up. But if