Hi I am opening my VC++6.0 application in VS2008 and getting the above error. what setting needs to be done for this to port this application in VS2008. Also if I am porting this application to VS2008, will it work in Visual Studio Pro 2010?
SNI
Hi I am opening my VC++6.0 application in VS2008 and getting the above error. what setting needs to be done for this to port this application in VS2008. Also if I am porting this application to VS2008, will it work in Visual Studio Pro 2010?
SNI
I tried to identify what is the problem for giving this kind of error and I found that one of function declared object of dialog class as follows Dlg_Details *pDet = NULL; and then it creates instance pDet = new Details_Dlg(); and here it is giving following err "error LNK2001: unresolved external symbol "public: __thiscall Dlg_Details::Dlg_Details(class CWnd *)" (??0Dlg_Details@@QAE@PAVCWnd@@@Z) .\Release\myapp.exe : fatal error LNK1120: 1 unresolved externals" when i commented out above line of code (creating instance using new) then appln compiles and link properly. I tried to go to the detail and found that the constructor of above class is declare as "Dlg_Details(CWnd* pParent = NULL)" in header file and its implementation as in .cpp file is as follows. "CDlg_Card_Details::CDlg_Card_Details(CWnd* pParent /*=NULL*/) : CDialog(Dlg_Details::IDD, pParent) { //{{AFX_DATA_INIT(Dlg_Details) .... .... variables are initialized } and I tried to changing its declaration in header file as Dlg_Details(CWnd* pParent) but still the problem persist. Can you suggest where this code going wrong during linking. Regds SNI Regds SNI
SNI
modified on Tuesday, July 12, 2011 8:20 AM
Thanks for your reply. I was able to resolve this problem but now I am facing following error ".\Release\MyApp.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'link.exe' : return code '0x460' Stop. Error executing NMAKE. " Do I need to change NMAKE file for this?
SNI
Hi, I got a project which is written in VC++ but while compiling its giving me following error in MS-VC 6.0. "Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. No configuration specified. Defaulting to MyProject - Win32 Debug. NMAKE : fatal error U1073: don't know how to make '"e:\win32app\microsoft visual studio\vc98\include\basetsd.h"' Stop. Error executing NMAKE." Please let me know which version of MS-VC6.0 will support this. OR do this project have 3rd party libraries. How to supress this NMAKE errors and complie the code successfully.
SNI
thanks for ur reply. I would like to know whether if I have a label / edit box on my dialog box how can I print the value. do I need to take HDC of my dialog and then print.
SNI
I have dialog based application where I have a testbox / list box and I want to print the values entered in these controls. Pls let me know how to print the data as formated output.
SNI
Hi, I want to make USB as a CDFS format. Any idea will help. Thanks
SNI
I am trying to make USB as a dongle. I am wondering how it can be achieved using VC++ or any other languages. Is USB dongle is same as USB Tocken?
SNI
In vista there are 2 modes, one is with UAC enabled (in which u r currently working) and other is UAC disabled. In 2nd case the OS will be running as without security and it will be possible for you to run ur application with required priviledges. But to make UAC disabled you need to have Admin rights. The code that you have provided is for manifest file and using this file it will prompt user to provide admin priviledges while running any application.
SNI
Hi I am trying to install an application in USB which makes USB as a read only i.e. it should be working as a dongle. Pls let me know how it can possible using vc++. Thanks
SNI
modified on Tuesday, November 17, 2009 3:50 AM
No...I just want to know that is there any tool which does binary (.exe in release mode)inspection so that backdoors can be identified. If yes, whether it is possible with release version of exe or only with debug. Also would like to know are they using assembly code analysis of binary to come to conclusion?
SNI
Hi, I have a question there are tools that can identify backdoors in a code by analising binaries of application i.e by doing re-engineering. Can anybody tell me how this works and is there any tool available for this. Thanks SNI
SNI
Where to get source code of any example of race condition. I need to simulate it using some sample. I tried to google it but not succeed. If any body having any idea would be better.
SNI
Thanks for ur reply. This will give me what kind of attacks that C++ application can be vulenerable to but i want the scenario (C++ application) where these vulnerabilities can happen so I can simulate them in a programmed manner. Thanks
SNI
Hi, I would like to know where can I find sample C++ application that can be vulnerable to attacks like buffer overflow, format string, intefer overflow ..etc...so that they will pron to Denial of service. I know what mistakes leads to these vulnerabilities but I would like to know how it will be applicable in terms of client / server technology (e.g. Web vulnerabilities). How an attacker can cause above mentioned attacks in C++ application. I would like to know the scenarios in C++ application. If anyone know this will be helpful. Thanks
SNI
no.. it is a requirement that i need to run .swf file in windows form using C#.
SNI
Hi I developed an application (C#) which draws some images on windows form. I am able to load images but trying to load swf file, but when I am trying to do load this swf file I am unable to load it. I tried to load it using flash control which has been provided as a activeX control but using that swf gets loaded but not able to see it properly. My application runs very slowly. Pls suggest how to run an swf file into .Net (C#)
SNI
Hi, I have created ATL project as a server (.exe) and add Simple Object in it with Aggregation,SupportInfo,Connectable objects. Now I trying to write Addin for Word,Exccel and PPT. I have created same project for all three applications. Now I want add these 3 applications interfaces and events in a single application, which i created first. Now I am trying to add Interfaces of Word into a main file by adding its interfaces and events information in mail applications .h file. I am expecting it should create .idl from it and it will contain all the interfaces of word. But the problem is when I am compiling the code it first overrites the .h file where I have added Interface and events for word. Also I have added _cp.h, .h and .rgs files for word but it gives me following error "error MIDL2337 : unsatisfied forward declaration :" or undeclared interfaces. Pls let me know how can i add all these three applcaitons Interfaces and events into a single application. Thanks
SNI
If you are able to sink documentopen same as documentbeforeclose then there will not be any problem that u have coded. Since your documentbeforeclose is working fine. This could be bacoz of macro. try to remove macro and then run ur addin.
SNI
Hi, I am developing an application where we require to get the event of menu click on each menu (e.g. File-->New, Save, Close,Exit OR Edit--> Copy,Paste..). I am trying to get common event for all the menus so that I will come to know which menu is clicked by identifying Caption of it and then I will work accordingly. Any suggestions on this will be helpful Thanks
SNI