|
I am compiling (rather most precisely try to) compile ATL COM thingys written probably in VC 5 in VC .NET. All was doin cool but now me getting following stupid errors.
FILEA.obj : error LNK2001: unresolved external symbol "public: static class ATL::CTrace ATL::CTrace::s_trace" (?s_trace@CTrace@ATL@@2V12@A)
FILEB.obj : error LNK2001: unresolved external symbol "public: static class ATL::CTrace ATL::CTrace::s_trace" (?s_trace@CTrace@ATL@@2V12@A)
.... and about thousand more just like above.
HELP!!!!!... yes, plz help me out!
Have a Good Day
mE
---------------------
A gasp of breath,
A sudden death:
The tale begun.
A rustled page
Passes an age:
The tale is done.
|
|
|
|
|
Found the solution!
Link with atlsd.lib in DEBUG mode should solve the problem.
HTH
Braulio
|
|
|
|
|
Heyyyyyyyyy..... thanks for the help. You helped me to remove 1425 errors!!! You rule.
thanks, keep on the great work.
mE
---------------------
A gasp of breath,
A sudden death:
The tale begun.
A rustled page
Passes an age:
The tale is done.
|
|
|
|
|
I'd like to develop a VC++ application using the POSIX standard
more than possible in order to reduce portability problems.
Does WINNT support POSIX semaphores and order synchronization
utilities ??
|
|
|
|
|
resp sirs
i have written a C++ client which parses an email from the inbox of default mail client of any machine..the program uses MAPI functions like MAPIReadmail,MAPIFindnext,MAPILogon,MAPILogoff,MAPIReadnext..
what are the header files need to be included in my client program!
what is the format in which the message is storerd in my system?
kindly help me in this regard!
ranjani
|
|
|
|
|
ranjjj wrote:
what are the header files need to be included in my client program!
mapi.h
ranjjj wrote:
what is the format in which the message is storerd in my system?
The MapiMessage structure might be what you are looking for. However, I don't know if the disk image is identical to the data structure kept in memory.
|
|
|
|
|
Is it possible for a user to alter the code of a .dll(in VC++) file ,used by an application.
Ur help is greatly appreciated.
|
|
|
|
|
well once you hand out the dll, it's possible but pretty hard.
|
|
|
|
|
Thanx.can u give me some pointers as how it can be done. And is there any way I can avoid it ... atleast in future.
(
|
|
|
|
|
they can dis-assemble it (tough)
or they can use a hex editor (very tough)
but not impossible
"there is no spoon" biz stuff about me
|
|
|
|
|
Hey.
Any of you know the easiest way to do this ?
Right now, I have a dialog box, and buttons (skinned) on the side and these are the major categories. Now the thing is, my app is getting really really crowded and I don't know what to do.
I read about property sheets and this seems like the right answer except getting the sidebar buttons to link up accordingly looks to be quite time consuming.
thoughts ?
|
|
|
|
|
AllocConsole fails in release mode.
Hi,guys:
I have an ActiveX which includes a Library file (foo.lib). In this foo.lib, a console is created with AllocConsole() function. Everything is OK in the Debug mode. But in the releasemindependency mode, the AllocConsole function fails to create a new console window.
The related code is as below:
/////////////////////////////
FreeConsole();
AllocConsole();
/////////////////////////////
Any ideas ?
TIA
-gusd
|
|
|
|
|
Hi
I am the student of masters of computer science. I am now in the last semester and i have to complete a final year project. I has not been getting any good ideas regarding the project since three months. Please suggest me some ideas regarding the final project. The tool most probably will be Visual C++ and the language will be C++.
I have five months to complete the project.
I am interested in the following areas.
Network Programming.
System Programming.
Data Mining.
Network Protocols.
Looking Forward for kind responses.
Muhammad Irfan Azam
Common Man
|
|
|
|
|
Muhammad Irfan Azam wrote:
I am the student of masters of computer science.
From where?
I believe I can suggest you some nice ideas .
mE
---------------------
A gasp of breath,
A sudden death:
The tale begun.
A rustled page
Passes an age:
The tale is done.
|
|
|
|
|
Muhammad Irfan Azam wrote:
Please suggest me some ideas regarding the final project.
Your thesis advisor is a good resource for such ideas. At least mine was.
|
|
|
|
|
Dear All,
I am developing an application in MFC VC++ Version 6.0 for Windows 2000.
I need to copy ntuser.dat , but this file is always in use. Is there any way out to copy this file. Any Shell Level API's ?
Regards,
Rohit
|
|
|
|
|
Use MoveFileEx with MOVEFILE_DELAY_UNTIL_REBOOT flag. And then restart computer.
Magnus
|
|
|
|
|
So what becomes of ntuser.dat after it has been moved?
|
|
|
|
|
Well, nothing good probably... which I think you dont want to happen
Try this one SetupQueueCopy, I have never used it my self so I can be of no help there.
Or write a small program and run it under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
Magnus
|
|
|
|
|
Magnus Westin wrote:
Well, nothing good probably... which I think you dont want to happen
My point exactly.
Magnus Westin wrote:
Or write a small program and run it under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
This may or may not work, depending on which ntuser.dat file is to be copied, and what user is currently logged in to the machine. The best approach would be to log in as a user other than the user whose ntuser.dat is to be copied. Then locate the ntuser.dat file in the C:\Documents and Settings\username folder and copy accordingly. This will keep the OS from complaining about a locked file.
|
|
|
|
|
Question would be what becomes of a system after it has been moved?
Answer to original question is simple
HANDLE hFile = CreateFile("ntuser.dat", GENERIC_READ,
FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
while()
{
ReadFile(hFile);
WriteFile();
}
I tried this few minutes ago and it worked like a charm....
|
|
|
|
|
Brian Shifrin wrote:
I tried this few minutes ago and it worked like a charm....
Was this your ntuser.dat, or that of another user account?
|
|
|
|
|
Good point it was local vs domain.
|
|
|
|
|
Hi. Does anyone know how can I include exe files as resource as that I can use them later?
|
|
|
|
|
You could load it as a binary resource but you will probably have to expand it to disk when you need to run it...
John
|
|
|
|