Hi, I'm using VS .NET 2003. Whwn I generate my application, I used to have a lib generated as well. Since this morning, I don't know what I changed in my vcproj, but when the exe is generated, I don't get the lib as well. I've spent many hour trying to find why, but I need help ! Anyone know how to make sure the lib with be generated ? Thanks for your help ! Jerome
Jerome Conus
Posts
-
generating the lib -
code profilersorry...I'm using VStudio .NET 2003 ! I didn't find any profiler within my VS ! Jerome
-
code profilerHi ! I'm looking for a free C++ code profiler. I've often heared about Valgrind, but it seems it only work on Linux. Any suggestions ? Thanks ! Jerome
-
clearing the registryHi ! When my app is installed on a user's computer, the install is made in Admin mode. Some settings are stored in the registry in the LOCAL_MACHINE keys. Users then use it, the app stores their settings in the registry (in the CURRENT_USER keys). Later on, the admin wants to uninstall my app. I need to clear each users's registry to get rid of their settings. I didn't find a way, when logged as an admin, how to reach each local user of the machine and get rid of keys. Could anyone help me regarding this issue ? Thanks ! Jerome
-
warning C4100 : how to get rid of it if issued by an included header ?Hi ! I'm compiling my project with warnings at level 3. I didn't change any warning-behavior with #pragma. The problem is that I get many warning C4100 (unreferenced formal parameter) because of included headers. How can I get rid of these warnings for which I cannot do anything anyway ? (btw : I've seen somewhere that warning C4100 is level 4, but it occurs at level 3, that's strange ! any hint about this ?) Thanks for your help ! Jerome
-
Script for changing environnement variables on WindowsHi ! I need to write a script to change the environnement variables (user and system variables), but I have no idea how to do that. I tried to find something on Google related to VBscript, but didn't find anything. Could anyone give me some hints (I only know VBscript and batch). Thanks ! Jerome
-
catching a crashing call to a third party apiHi ! Thanks for your answer, but it seems __try and __except are MS specific keyword. I'm compiling in a linux environnement... Any onther hint ? Thanks ! Jerome
-
catching a crashing call to a third party apiHi thanks for your answer. I'm actually calling a C++ function from a C++ class. The call to the function works in most cases, but crashes in some specific cases. Jerome
-
catching a crashing call to a third party apiHi ! In my application, I'm making a call to a function provided by a third party library. Unfortunately, this call is crashing in some situations (which I have no way to detect prior to calling the function). I tried to put the call into a try{} catch{} block, but it didn't work. Here is what I did : try { api_call(mydata); } catch (...) { // error } the problem is that my app keeps crashing in the 'try' block, which is something I don't understand. I'm compiling with expection support. Any hint ? Thanks ! Jerome
-
colour lamp glowing when a new email is receivedHi ! I've read somewhere, a few months ago, about a lamp which would glow in red when a new email is received. I cannot find the link anymore.... Has someone seen this as well and could point me to thwe web site ? Thanks ! Jerome
-
SQL : how to change the data type of a columnHi ! My app is using SQLite as a database. I'd like to change the datatype of a column of several tables (for example changing from VARCHAR(10) to VARCHAR(50)) without loosing the existing datas. How can I do this in SQL ? I didn't find anything ! Is it possible ? Thanks for your help ! Jerome
-
unit_testing : granularity of testsThanks Roger for your answer. It clarifies a lot what I have to do ! Jerome
-
VBScript : launch an exe and display the outputHi ! I need to write a VBScript which would launch a command application (nmake, not to name it) and I'd like that the output produced by nmake being displayed in the command window from where I launched the VB Script. I did some googling but didn't find anything which works... Any idea ? Thanks ! Jerome
-
interpreter neededHi ! My C++ app needs to read an external text file and display it on screen. But, this text file can contain specific commands to change what has to be displayed by my app. For instance, the text file could be : Hello [if foo] Foo [else] Bar [endif] and my app should display (depending of foo) : Hello Foo. The problem is that I don't know where to start. Should I just parse the text file and just check each [] ? Should I write a real interpreter (I have no idea how to do this). Can I reuse something existing ? Any help, suggestions or idea are welcome ! THanks ! Jerome
-
unit_testing : granularity of testsHi ! I'm new to unit testing and I need some clarification. I want to test a class. When I create an instance of this class with the default constructor, I need to check 3 values and make sure they are initialised to the correct default values (for instance : a name property). Do I have to code three tests (one for each value to test) or can I create one test for the default construction of the instance and check, in the same test, the 3 values ? Hope my question is understandable ! Thanks for your help ! Jerome
-
subscribing to a paperHi ! I'd like to subscribe to a computer programming paper, but I'd like to get some suggestions. I'm developping in C++ and I'm also interested in analysis and design. Any suggestion ? Jerome
-
stupid question about std::cinThanks ! Jerome
-
stupid question about std::cinHi ! I'm sure this is a stupid question, but, if I do this : char Buffer[10]; std::cin >> Buffer; How can I make sure that the input won't be longer than the buffer ? Jérôme
-
trying to avoid C++Hi ! In an html file, I need to remove some characters which are comprised between two html tags. This processing has to be performed from a batch on many files. I feel like this would be too much effort to write a small C++ program to do that, and that I should be able to do this simple task with a script or something, but I've just no idea where to start. What would you suggest ? Thanks ! Jerome
-
const_castHi ! I'm facing many problems (app crashs) when my app is compiled in release mode (problems I don't have in debug mode). I noticed that removing some const_cast improved the situation. This makes me wonder : am I allowed to use const_cast ? How can I spot the situations where const_cast should be avoided ? If const_cast is dangerous, why is it provided ? Thanks for your enlightment ! Jerome