|
garfield185 wrote: SockUdp.obj : error LNK2001: unresolved external symbol _WSAGetLastError@0
This is because you havent include the Ws2_32.lib in the project setting( project settings->Link-> In the object/library module edit box, enter Ws2_32.lib )
garfield185 wrote: RutinasBD.obj : error LNK2001: unresolved external symbol _dbdead
You haven't include the lib file corresponding to the function dbdead(). Find it and add it in the same location as above( May be you can get it from the debug configuration ).
|
|
|
|
|
may be the second one is ntwdblib.lib .I found it from the first post.
|
|
|
|
|
Release and debug configurations have both separate options, so everything that you set for the debug version (like include paths or additional libraries), you should also set it for the release version.
|
|
|
|
|
?????
Can you explain it? Do you mean that the path I have been using may not be the correct ones in the release version? So, how do I know the correct paths in that case?
Time to come clean...
Vive y deja vivir / Live and let live
Javier
|
|
|
|
|
What I mean is that:
If you changed some settings in the project properties when working in debug mode (for example, you added a new include path or you specified a library to link your project to), all these settings will be 'lost' when you switch to release mode. So, you have to configure all of that once again. A way to avoid that (in VS2005) is to choose "All configurations" when you do a change in the project properties.
It seems that in release mode you are not linking against the socket library (and you do that for the debug version because you don't have errors when building).
|
|
|
|
|
Ok, I know understand.
When changing to release version is like reseting the options, so I have to fill again all the option such us libraries. That was the error.
Thanks!!
Time to come clean...
Vive y deja vivir / Live and let live
Javier
|
|
|
|
|
garfield185 wrote: When changing to release version is like reseting the options
Not totally true. In fact, every configuration has its own properties, hopefully. Hopefully because for specific things they need to be different: when you build in debug mode, you want to link with debug libraries and in release, you want to link with release libraries.
But most of the settings are the same. It can be quite annoying to set all the settings once again, that's why there is an option (in VS2005) to save the changes for all configurations. When you open you properties, it is in the top-left of the window ("Configuration").
|
|
|
|
|
Cedric Moonen wrote: ...that's why there is an option (in VS2005)...
It's also in V6.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I wasn't sure (long time that I didn't use VS6) so I preferred not to say something wrong
|
|
|
|
|
Fair enough. I just wanted everyone to know that it wasn't a new feature.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Has any people worked on Reuters RFA API C++ .
I need urgent help for fetching data from there server through this API.
Lot of samples in the API. Can any one help me.
RajeshGupta
|
|
|
|
|
Any particular error that you are getting when using this API? I've worked on this.
|
|
|
|
|
I am not able to integrate RFA with my Web service.
|
|
|
|
|
Hi all,
Which is the best engine to do OCR in vc++ like google ocr or MODI(microsoft object document imaging),or ......?
Thanks in advance....
|
|
|
|
|
I need to write a debugger which will execute an process and I need to get notification when that process will write or modify any thing on the hard disk. Can we keep watch on any process for getting info when that process will write to hard disk? I have read something about "Win32 Debug API". Can any one guide me or give me any demo code for this?
|
|
|
|
|
chandni_chandrakant_maheta wrote: Can we keep watch on any process for getting info when that process will write to hard disk?
In short: no.
Slightly longer: yes, but it requires a filter driver that you can connect to from user mode the way Process Monitor by Mark Russinovich[^] does.
Perhaps you are able to use Process Monitor instead of developing something on your own.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Thanks a lot for your reply. I was thinking to build a file system filter driver. What do you think can I keep watch on a process by file system filter driver? According to me, if we load a filter driver, we need to restart the computer. Can we load a filter driver with out rebooting?
|
|
|
|
|
The reason why I gave the short answer 'no', is because this way is difficult and there's a big risk for messing up the file system making the machine impossible to boot.
I strongly recommend that you seriously try to find another solution.
In any case, if you continue the filter driver track, I cannot help you.
As for your questions...
chandni_chandrakant_maheta wrote: can I keep watch on a process by file system filter driver?
Not exactly, you'd have to filter the file accesses from all processes.
You may do the filtering in the driver.
chandni_chandrakant_maheta wrote: According to me, if we load a filter driver, we need to restart the computer.
Correct in this case since it's about filtering the file system driver.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
I have a multiline edit control. This control should be populated with strings with each string representing an event information. I want to know how to Set the text without clearing the text which is already populated. So basiclaly I want to concantenate the text here. Is Using GetWindowText (Gets the historical data) and SetWindowText (Historical data + new) suffice.
|
|
|
|
|
Yes, if you use CString you can simply do that. Don't forget to add "\r\n" to start a new line.
|
|
|
|
|
I saw something like the following:-. Was wondering whether it could be used.
void CEditCtrlTutorialDlg::OnIn() <br />
{<br />
UpdateData();<br />
m_Edit8.SetSel(0,-1);
m_Edit8.Copy();
m_Edit5.Paste();
}
|
|
|
|
|
tom groezer wrote: Is Using GetWindowText (Gets the historical data) and SetWindowText (Historical data + new) suffice.
Yes, but why go to all that trouble? Simply use EM_SETSEL to set the insertion point after the last character, and then use EM_REPLACESEL to insert the new text.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
You could consider using a list control for this instead, unless you realy want the user to be able to freeform edit your event log. List controls are easier to override for changing the way they look if I remeber rightly it's not hard to make the grid lines disappear for example if you want it to look like a readonly multiline edit. They can contain much more as well I wouldn't try putting 2 million lines of text in an Edit Control, ( I think max is still 64K), but a List Control will be happy with that.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Hi
I am doing customization of ToolTip control. So how can i check that mouse is move on which area of ToolBar. I want to display ToolTip text for mouse move on particular icon on ToolBar.
Regards
Atul
Atul
|
|
|
|
|
M. Atul wrote: I want to display ToolTip text for mouse move on particular icon on ToolBar.
For toolbars if you set the CBRS_TOOLTIPS style then toolbars will send TTN_NEEDTEXT notification message to it's parent window. Handle this message to show tooltips.
|
|
|
|