I want call a MFC regular DLL from a API program. The MFC DLL is supposed to be a dialog baesd application which can open the file and display the chart.
My questions are
1) Is it possible to do so ?
2) How it is called within API program ?
3) Can anyone supply some sample code ?
thanks in advance.
1. See 2.
2. What is an "API program"
3. Google may be able to.
If you are asking how to use a MFC library from a non-MFC program, then I am not sure if that is possible. You would need to ensure that all function calls provide the parameters in the form required by the MFC classes.
One of these days I'm going to think of a really clever signature.
I want to provide link to access file in network, executed below line in command prompt
mklink \\MyMachineName\CommonStorage\test.txt c:\test.txt
I tried following command
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1 on both machine bt still not working when I tried to open file from other machine it says can not open file \\\\MyMachineName\CommonStorage\test.txt"
The default security settings in Windows Vista/Windows 7 disallow non-elevated administrators and all non-administrators from creating symbolic links. This behavior can be changed in the Local Security Policy management console (under: Security Settings\Local Policies\User Rights Assignment\Create symbolic links). It can be worked around by starting cmd.exe with Run as administrator option or the runas command.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
I am looking for suggestions on a programming language to use. I wish to write a couple programs for Windows 7/Vista/XP (maybe not XP if it is an issue) but I would like to do it with minimal extra learning involved.
I want a simple Windows client program to be able to accept data inputs from the user and store it on the hard drive. At some point, that data must be transmitted to a server across the internet. I do not expect the data size to be over one kilobyte. The server program must accept the data and store it in a database. The client may also download configuration settings from the server.
Some features I am looking for are:
- Free or low-cost programming environment is a must.
- An no-install executable for the compiled client program is preferred, but not completely necessary.
- The programming language should be easy to learn. Details below.
- Faster creation of the programs helps. I don't have a lot of free time between college and work.
- The server's database should be one that is commonly used in the industry.
I have a rough understanding of C++ from a couple college courses I took a few years ago. I also worked with Visual Basic back when Windows 98 was the latest OS. Creating Windows programs now seems a lot more complex than I remember from using Visual Basic. I have tried using Visual Studio Express C++ and it seems more complex than what I need.