Hello again,
I've been reading a little about the template method design pattern.
I have put the two virtual functions WinpcapThreadEn ded() and PacketHandler() in the base class as protected.
The functions from the base class that call these two functions are public and non-virtual.
Stiil I receive the same linking errors: error LNK2001 unresolved external WinpcapThreadEn ded() and unresolved external PacketHandler() ....
User Profile
Collapse
-
runtime error
Hello,
I receive the following error when I try to run my application:
"The application failed to start because NetBee.dll was not found. Reinstalling the application might fix the problem."
I use the C++ compiler offered by the .NET Framework. Here are the settings in the properties window of the project:
C/C++ -> General->Additional Include Directories: ../wxWidgets/lib/vc_lib/mswd,../wxWid... -
An observation to the above post: I don't want the base class to know who is inheriting from it. Therefore I don't instantiate a derived class object or something like it. I suppose that you may see the functions overriden in the derived class as callback functions. Is this possible to be done ?
Thanks,
AdinaLeave a comment:
-
virtual function problem
Hi,
I have 2 classes in my application: class A and class B.
in CaptureDoc.h
...Code:class CCaptureDoc : public CWinpcap { public: CCaptureDoc(wxFrame* capframe, CCaptureWindow* capwindow); void PacketHandler(struct pcap_pkthdr* pkt_header, const unsigned char* pkt_data); void WinpcapThreadEnded(); bool m_capmaxperform; private: CCaptureWindow* -
inserting images in LaTex docs
Hello there,
I need some help with LaTex and processing images in LaTex. I realise that this is a C/C++ forum, but I was thinking that perhaps there are a some people who are interested in LaTex, have written documents using LaTex and might want to help me with my problem.
If there are such people among you, please give me a sign. Any help appreciated, links to good LaTex forums most appreciated.
Thanks,
Adina
... -
Hello,
It works thank you. I found out that there is another way to do this, besides changing the Additional Dependencies. I'll post this in case someone out there might need it.
The idea is to add the following line:
#pragma comment(lib, "libname.li b") where the "libname" is the name of the library in the lib folder which the application requires.
I have tried to add this line in my header where I have...Leave a comment:
-
Hello,
I have the following problem. I keep getting these linker errors, although I included all the header files and provided the right settings for the project.
I use the C++ compiler in .NET framework.
Here are the linker erros:
NetworkAnalyzer error LNK2019: unresolved external symbol "class nbPacketDecoder * __cdecl nbGetPacketDeco der(int,char *,int)" referenced in function "public: __thiscall...Leave a comment:
-
error LNK2019
Hello,
I have the following problem. I keep getting these linker errors, although I included all the header files and provided the right settings for the project.
I use the C++ compiler in .NET framework.
Here are the linker erros:
NetworkAnalyzer error LNK2019: unresolved external symbol "class nbPacketDecoder * __cdecl nbGetPacketDeco der(int,char *,int)" referenced in function "public: __thiscall... -
singleton pattern - design question
Hello,
I'm building an application, in which I have a ConfigManager class to hold all the important info about the application.
I need only one instance of ConfigManager class to be available throughout the application, from anywhere inside the application. From what I have read, the singleton pattern seems to match my problem
However, I built the ConfigManager with a constructor with parameters.
Until now, I've tried...
No activity results to display
Show More
Leave a comment: