Well yes and no. If the VS 2008 DLL used dynamically linked MFC, you will likely have problems. If the VS 2008 DLL dynamically linked to the CRT, I'm not sure what the behavior is if you allocate memory in one and free it in the other.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
It has nothing to do with the 'DLL' terminology. If I link dynamically to a third party library from a DLL written with VS6 environment, that would depend on the third party library. This does not mean that a DLL written in VS6 will ALWAYS depend on that third party library.
In other words, you are kinda marrying a DLL with what it is linking to. I was pointing out that a DLL is just well, a DLL.
It is a crappy thing, but it's life -^Carlo Pallini
I am a c# developer, i got an c++ application source code which i need to incorprate with my current application in c#.I dont know c++ so i am not understanding the source code in c++.
I have turbo c++ in my system. I am very much confused in c++, How can i start developing application in c++, I need to study the source code in c++ which i got and i need to develop that in c# or add the c++ in to my current application.
My aim is to throughly understand the c++ source code which i got.
Can any body help me?
It would be of great help if you can get the architecture of the application, and the sequence diagrams for your study. This would boost your understanding and decrease the time you would invest in understanding C++ API's which you are not going to use.
You need to google first, if you have "It's urgent please" mentioned in your question. _AnShUmAn_
I have an mobile data card which exposes an Modem Port and this port appears as an device entry under "Modems" in the Device Manager.
In addition to this, the device has another port which i figured out by scanning through the registry and this port does not appear in the device manager.
This port appears in the list of available ports displayed by HyperTerminal and also in PortMon and I can connect and talk to the device via HyperTerminal.
But in my application when I try to do an CreateFile with that port name, the call fails with GetLastError() returning 2.
_tcscat(szPortName, _T("COM6:"); //assume the non-exposed port is COM6.
HANDLE hDeviceFile = CreateFile(szPortName,
GENERIC_READ | GENERIC_WRITE,
DWORD dwReturn = GetLastError();
Is there something wrong in the CreateFile() function call above.
Or is it that Vista allows only ports that are expose/displayed in the Device Manager for an Device to be used by an application?
I am making software of windows policy.
So I need to get windows password policy.
(e.g. minimum password age, maximum password age, minimum password length.. etc)
In windows, I can get these information using "net accounts" command.
But how to get these information using c++ function.
I checked "netapi32.dll", I couldn't find any related information.
I need your help.