|
|
HI,my way is get sql server name!my answer is provider two way! the first way must install sql server client,the other way don't!
;P
|
|
|
|
|
What's the standard mapping mode for the device context of
a MFC SDI application? MM_TEXT ?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
I've just got the special upgrade from version 2002 to version 2003.
1.) Is that possible to install the 2003 over 2002's directory, so that
I will not have two Visual Studio.Net? When I installed it, it asked me
where do I want to install, I installed it in a new directory. So I ended
up with VS.Net 2002 and 2003 coexist. If I install the 2003 in the same
directory where 2002 is, does that mean it will overwrite the 2002, so
it will end up just 2003? (I don't need 2002 anymore) Which one do you
recommand? How did you do it?
2.) Once I installed the upgrade, I found that the new feature in VC++
allows you to hide and show code(the + and - sign) very annoying. Is
there a way to disable it?
|
|
|
|
|
I recommend installing Visual Studio .NET 2003 in its default directory. That will allow you to have multiple versions of developer studio. Now, if you wanted to use the 2003 version only, then I highly recommend that you uninstall the older version before installing 2003.
Kuphryn
|
|
|
|
|
Concerning the second question. The oulining (the + and -)is availabe in version 2002 as well but it's not enabled by default.
To control this in 2002 you should go to Tools|Options then in the options dialog go to Text Editor->C/C++->Formatting and check or uncheck the Outlining option.
I dont know if there is a difference between the options dialog in 2002 and 2003 but I hope this could help.
|
|
|
|
|
i am using vc++ connect to mysql server using mysql++ api.But how am i going to add,modify and delete data????
siong
|
|
|
|
|
Are you using ODBC, ADO, or some other mechanism?
|
|
|
|
|
I'm working on a project and I'm including sockets. I've included <winsock.h> but when I try to use the socket() function, it says "unresolved external symbol _socket@12" Anybody know why it does this and/or how to fix it?
Thanks
|
|
|
|
|
|
|
Hi.
I am wondering about advantages and disadvantages for the following:
1. Making one DLL that hold MANY things. Or many smaller DLLs that hold only things useful for specific purposes (like graphing stuff, database stuff).
2. What happens when a DLL needs to call fucntions from another DLL and at the same time the main program will also need that other DLL. Will the system automatically load it only once etc? I am not too familiar with how this done but just want to confirm.
3. Is there an easy way to keep track of projects (specifically headers in the DLL projects etc) so that when a file is updated, it will automatically update. I do not want to add the header file to every porject file folder and try to keep track of everything like that. Knowing myself, I will definitely screw up somewhere along the way. Any ideas?
Thank you in advance!
|
|
|
|
|
1.Logically it's better to separate them based on tasks.
2.the OS manges this for you .. it loads the DLL and unloads it when no application needs it.
3.why don't try Visual source safe ? (Even if I don't like it myself )
|
|
|
|
|
I have in mind to write an application that I'd eventually like to distribute. It is essentially a work out and diet data tracker. I know that there's dozens of these out there, but mine will be the best one yet (heh, heh...).
Ok that notwithstanding ... it seems obvious to me that the best way to store the data is in a database. However ... once I've created the application, how do I go about distributing it without requiring that the user have MS Access, or some other database software installed.
Is there some kind of lightweight solution I can use that I can access using ODBC and distribute with my application? Is it possible to just wrap up the necessary Access .dll's and distribute those with my app? (Licensing issues aside)
Thanks in advance for any advice.
|
|
|
|
|
The Jet database engine (which is the guts of Access) is free to distribute (in fact it's preinstalled on XP - possibly 2000 as well). Alternatively you could go for something like MySQL.
Dave
http://www.cloudsofheaven.org
|
|
|
|
|
For a MS Access database you will need the Jet engine and as Dave mentioned in his post, Windows XP and 2000 already come with it. However for the other Windows versions you need to install MDAC. Go to this website to read more.
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/dataaccess.asp
Keep something in mind though, because I learned this the hard way. If you write your program using MDAC 2.7 (ADO 2.7) then your program won't run with earlier versions of MDAC. I really don't know why and I was never able to get an answer. On the other hand MDAC 2.7 cannot be installed on windows 95, but it will work on Windows 98 and all the other later windows versions, if you have at least IE 4.0.1 with SP 2 installed. Resolve all these issues before you write your program because they will come back and bite you.
// Afterall I realized that even my comment lines have bugs
|
|
|
|
|
Is there a way to disable some library file from a project when building.
Thanks
|
|
|
|
|
Can't you just remove it from the project?
|
|
|
|
|
see the linker switch /NODEFAULTLIB:yourlibname in the doc.
|
|
|
|
|
I want to make a small script language in my author program like action script in Macromedia Flash. But I never know how and where to begin? I've a experience of making small complier. Is it alike making complier? Please give an idea about it. thanks.
|
|
|
|
|
I am looking for a sample C++ code to replace my c# code.
I do have the c# cmlcsvReader that does just that but I cannot ported to a different location because of the missing dll's.
Thanks
Pa trick
|
|
|
|
|
I converted a path to a region, but when I check if any points that made up the path are in the region with the function PtInRegion it returns false. Does anyone know if you can include the points that made up the path into the region.
|
|
|
|
|
what do you mean by "path"?
Jason Henderson My articles
"The best argument against democracy is a five-minute conversation with the average voter." - Winston Churchill
|
|
|
|
|
I'm using the BeginPath function followed by the LineTo function to draw lines that will make up the path. Then, I use the EndPath function. Finally, I convert the path to a region using PathToRegion. The problem is none of the points that I use to make up the path are detected by the function PtInRegion as being inside the region. I hope that makes sense.
|
|
|
|
|
Perhaps it considers that the pts aren't actually in the region. They just make up the boundary.
Jason Henderson My articles
"The best argument against democracy is a five-minute conversation with the average voter." - Winston Churchill
|
|
|
|