-
- regcure
by rayray561341
- 2 Replies
- Last post
by alisony4@aol.com
- I was looking at my scheduled task for my laptop and I came across regcure as one of them. I have no idea what this is or what its suppose to do. Anyone have the answer
-
- PLease HeLp
by pulsar180
- 1 Replies
- Last post
by Sahir Shah
- Hi All,
i have got the following error ,
eerror LNK2001: unresolved external symbol _getaddrinfo@16 Debug/pro.exe : fatal error LNK1120: 1 unresolved externals
please note that i have also linked my project with "wsock32.lib"
"....i am using MSVC 6.0 with SDK for Windows Server 2003 with SP2...
Thanks
Anand
-
- Parsing/errorcheck.
by Rick Doll
- 7 Replies
- Last post
by Sahir Shah
- I am just begining my C++ excursion. I have some experiance in C#.
In console based program in C# you can run a try catch and parse the imput to catch a system format exception to check for non intergers.
After a bit of looking on the net I have not found a good way yet to do the same for C++.
I would appreciate a solid link or good explanation for catching errors on non numer
-
- Identifcation and access of variables from strings
by BoatProg
- 14 Replies
- Last post
by BoatProg
- I am writing a model of a sailing boat using Visual C++.
Principal output from the model is a set of graphs of selected model variables against time. The required model variables are identified in a set of edit boxes, filled in by the user prior to running.
In the Code, how can I use the strings in the edit boxes to access the required model variables at run time
-
- ifstream issues - reading in a data file
by Draznar
- 4 Replies
- Last post
by Simple Samples
- I am once more working to convert some older code from VC++ 6.0. I have run into a bug problem with ifstream. Below is a small sample project that I am trying to get to work as a "proof of concept" of sorts. It replicates my problem on a smaller scale. Here we go.
Code Snippet
#include "stdafx.h"
#include <iostream>
using namespace std;
-
- Visble Clip bounds in a Graphics object
by sasansamit
- 2 Replies
- Last post
by sasansamit
- I have created a Graphics object using Graphics(HDC *hdc) constructor. In this case how does the graphics object knows about the Visible region of the window. It does knows that other wise how does it can implement GetVisibleClipBounds function. In my case if after the creation of the Graphics object the window is resized i.e. the visible region is changed, anything drawn on the new found area is
-
- _stat() and long names
by _hunter
- 5 Replies
- Last post
by Sdi
- Greetings...
Is there a way to use long file/dir names with _stat function I've tried to prepend path with \\ \ and use _wstat (it works for _wopen) -- it not works: in this case _wstat returns -1 and errno == ENOENT even for short pathes. If not prepend path -- function works nice (but only with short names).
Best regards...
-
- Access violation after porting project to VC2005
by RiskSrv
- 4 Replies
- Last post
by RiskSrv
- I have an application that used to work fine compiled with VC2003. Recently I re-compiled it with VC2005 and it started getting access violations.
Application has 2 dlls that and one of them creates instance of std::map which it than passes to the other dll. I can see contents of the map in the debugger after and it looks fine. However when that second library calls map::begin() result returned
-
- How to disable hot tracking on a CButton control?
by Eric Fritzinger
- 5 Replies
- Last post
by Sdi
- I am trying to disable the highlighting of a button when the mouse hovers over it while still maintaining the same functionality of the mouse move event. My initial attempts have worked, but not as well as just shutting off hot-tracking. Is there a style or property I can set to disable it Thanks! ~Eric
-
- ATL IDispEventSimpleImpl reverse order bug still present in VC++ 2005 ????
by Emmanuel Thevenot Beaufort
- 4 Replies
- Last post
by Emmanuel Thevenot Beaufort
- I'm cross-posting my question to this forum (original here : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1173728&SiteID=1 ) as it seems that ATL is also mentionned here. Sorry, if it's a bad practice !
I'm currently implementing an event sink with IDispEventSimpleImpl. I have the same problems than the ones described in KB288724 ( http://support.microsoft.com/kb/288724/en-us ), I
-
- Link error : debugging information corrupt
by nimm
- 2 Replies
- Last post
by Simple Samples
- Hi I have a VC6 application which uses gdiplus When i build the pjt the following link error occurs gdiplus.lib(imagingguds.obj) : fatal error LNK1103: debugging information corrupt I have the latest platform sdk installed and i was able to use the gdiplus in my other vc6 projects Plz help Regards
-
- error LNK2019: What .lib do i need to link? (C)
by Laserbeak43
- 12 Replies
- Last post
by Laserbeak43
- hi i get about ten linker errors, the first one being:
Code Snippet REXTest.obj : error LNK2019: unresolved external symbol _REXDelete referenced in function _main
what .lib will i need to link to get this working
-
- mfcs80u.lib(dllmodul.obj) : error LNK2005: _DllMain@12
by bharath-k
- 10 Replies
- Last post
by yan11
- Hi everybody,
I getting two errors in my project.
a) "mfcs80u.lib(dllmodul.obj) : error LNK2005: _DllMain@12 " already defined in CMyproj.obj
b) fatal error LNK1169: one or more multiply defined symbols found
I am unable to resolve the error. Please help me in resolving this error.
TIA,
Regarads,
K. Bharath.
-
- VS2005 / corrupt solution file / References to non existing projects
by TomFr
- 2 Replies
- Last post
by TomFr
- Hi,
I have a problem with a number of VS2005 solution files (converted from VS2003).
The solution builds but VS keeps updating the solution file which requires a check-out etc.
The problem is caused as far as I can see by references to non existing projects!
The solution files have references (GUIDs) to project files in the GlobalSection(ProjectConfigurationPlatforms). However
-
- Interesting fast interop problem
by Freqy
- 4 Replies
- Last post
by Freqy
- Hi all,
Summary: Can I pass out a linked list value type/pointer (my own class) from C++ to C# If not, what are the overheads/caveats involved in passing things around as void*s in C#
I'm trying to use C# as a basis for an audio application. I'm finding the speed is fine as long as I avoid a lot of object allocation/deallocation. By using a bit of C++ here and there I'm able to cr
-
- BackupRead "Access denied" Problem (and backing up files in general)
by cottonmouth
- 9 Replies
- Last post
by Simple Samples
- Hi all, I'm creating a backup application and I need to be able to read from and write to any file in the computer. This includes system protected and files locked by other processes. Currently I'm trying to read the registry files in the C:\WINDOWS\system32\config directory. My code successfully acquires the SE_BACKUP_NAME privilege, can get HANLDEs to the files using CreateFile, and can retrieve
-
- sort of CListCtrl
by I.You
- 4 Replies
- Last post
by I.You
- Hi.
For example,
for(i=0; i<n; i++) {
...
XXX.InsertItem(0, A); // CListCtrl XXXClass::XXX
XXX.SetItemText(0, 1, B);
XXX.SetItemText(0, 2, C);
XXX.SetItemText(0, 3, D);
...
}
I could get the result of list, but it's reversed, i.e. last-in first-out.
I want like this:
A B C D
i=0
i=1
i=2
...
What's wrong
Sorry for this simple matter...
-
- Wrapper
by Noobie and Newbie
- 14 Replies
- Last post
by Noobie and Newbie
- Hi guys, Can anyone guide me how to create a wrapper Basically I have a file Object library and a header file from the vendor which is written in eVC++. My application is written in C#.net and my objective/goal is to create a wrapper for the C++. Is there any guide or reference to refer to create a wrapper and call in my c# application Thanks..
-
- please help me---I cannot import VBE6EXT.olb
by jeffwu
- 2 Replies
- Last post
by sita4ram
- I developed the addin in MS word 2003 using VC++ 2005+ATL. I cannot solve the problem for three days: when I compile: It says: error C4772: #import referenced a type from a missing type library; '__missing_type__' used as a placeholder. The error is in here: #import "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6EXT.olb" rename_namespace("VBE6") BUT the file( VBE6
-
- 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,
-
- Allocation problem
by Hilikus
- 14 Replies
- Last post
by Simple Samples
- I'm using VS 2002, and I'm having an allocation problem. When the program tries to allocate a new block, access violation occurs, but not in my code and not always. Debugger says the error is in the CheckBytes(...) function, and as far as I can tell, it's a function that is called when the 'new' operator is used (when I break the execution, VS opens the dbgheap.c file). I sent my project to someon
-
- Error PROJ003 -- Error Spawning cmd.exe
by slender_bamboo
- 6 Replies
- Last post
by slender_bamboo
- I'm using Visual Studio 2005 C++ compiler/linker. My build had been working, but builds of both debug and release versions of my project now exit with an error when trying to embed the manifest into the output file. When I change my Project settings to not embed the Manifest information, then it goes through OK, but I want the Manifest embedded. How can I fix this And what may have caused this I
-
- Why no compilation error - Assigning int to std::string?
by Yogi Watcher
- 2 Replies
- Last post
by Yogi Watcher
- Hello,
I am sure I am missing something or may be I don't understand it properly but can somebody explain me why first line results into compilation error but second does not:
Code Snippet std::string tmp_Error = 5 ; // Results in C2440 error std::string tmp_noError ; tmp_noError = 5 ; // No compilation error
Thanks and Regards
Yogi Watcher
-
- Asunchronous UI updating - other way?
by bucz
- 2 Replies
- Last post
by bucz
- In my application, I receive some values from two threads; I have main class of main form, that is one thread TH1 that receives some events like button click and second thread TH2 that works in loop generates some values. When some value or action is received from TH1 or TH2, they both need to be displayed in a control in main form. If I try to change control from TH2, get an exception about cross
-
- Deleting a CLI array
by Thomas2054
- 4 Replies
- Last post
by Thomas2054
- I am used to the C++ requirement of using
delete [ ] array_pointer;
to free memory.
If I have a CLI array like
pString_progString = gcnew array <System: tring ^>(7);
How do I delete it I have read that I should not use the "delete [ ]" form, but I do not know what to use.
The help system for "array" makes no mention of this.