Search:
Type: Posts; User: forester
Search:
Search took 0.04 seconds.
-
October 22nd, 2015, 04:57 AM
Thank you very much for your replies! I am re-writing the code using CreateFile, ReadFile, WriteFile, and CloseHandle. and commented out the fopen, fread and fwrite.
But I still want to know is...
-
October 19th, 2015, 03:33 AM
I read following forum post about the problem that fread() function can't read large files:
http://stackoverflow.com/questions/7241168/safe-maximum-number-of-records-read-by-fread
I am now...
-
October 9th, 2013, 08:16 AM
Thank you very much, VictorN!
So if an executable file contains no icon resource in it, in the Explorer window, because Explorer can't find an icon in the the .exe file, the system will provide a...
-
October 9th, 2013, 05:15 AM
I have a MFC dialog project, I move all the icons including the IDR_MAINFRAME icon into a resource-only DLL, so there is no icon embedded in the executable file. In the dialog initialization, the...
-
September 17th, 2013, 04:38 AM
I write the plug-in dll following the tutorial at http://www.codeproject.com/Articles/1323/Internet-Explorer-Toolbar-Deskband-Tutorial,
The CMyClass is similar to the CMFToolbar in the tutorial. ...
-
September 16th, 2013, 08:16 AM
Thank you for your reply, D_Drmmr.
There is no initializing function, but there is a OnCreate() function. Do you mean I can place AfxSetResourceHandle(hRes) in the Init function if there is one?
...
-
September 12th, 2013, 08:22 AM
I can create a resource dll for the plug-in dll, but I don't know how to import it into the plug-in dll.
-
July 20th, 2013, 01:26 AM
I have experiences to localize a few MFC executable files, first create a resource dll file then add following code in InitInstance():
BOOL CMyApp::InitInstance()
{
//Default Application...
-
April 1st, 2013, 09:30 PM
Thank you for your replies!
I don't know how to implement it. If I make a copy of that local variable, and that copy is a local variable too, then the copy is still not safe to be accessed from...
-
April 1st, 2013, 04:16 AM
Can local variable be passed as the parameter for a new created thread procedure? Here is the example code:
void CDLG::some_function()
{
CString strFileName="abc.doc";
//local variable,...
-
January 29th, 2013, 04:43 AM
I didn't try OutputDebugString, I only tried MessageBox. When I close IE 9, the message box doesn't appear. I test it on IE 7 and 8, the message box shows as expected when IE is closed.
-
January 24th, 2013, 09:25 AM
The following code is for a toolbar to revceive DWebBrowserEvents2 events from Internet Explorer. Running on IE 8 and 7, the toolbar can catch both DISPID_DOCUMENTCOMPLETE and DISPID_ONQUIT events....
-
October 4th, 2012, 03:13 AM
Thank you cilu!
I select x64 as the target platform, and open the project property, but there is no _M_X64 defined in both the Linker and c\c++ tabs.
Is it because the computer I use now is a...
-
October 4th, 2012, 12:37 AM
The code snippet shows different compilations on 3 platforms with different preprocessors/macros.
#if defined _M_IX86
cout << _T(" (x86)");
#elif defined _M_X64
cout << _T("...
-
I use atoi() to convert a string to an integer in 32-bit code, now I will migrate the existing 32-bit code to a 64-bit system. My questions are:
Is atoi() a 32-bit only function? can it work on...
-
I unzip lame-3.99.5.tar, in the folder lame-3.99.5\doc\html, there are some help files. I read these files, but don't find whether lame_enc.dll supports 8-bits-per-sample wave file.
-
April 26th, 2012, 04:08 AM
I use lame_enc.DLL to convert wave file to mp3 file, it works OK for all 16-bits-per-sample wave files, but if the wave files are 8-bits-per-sample wave files, the results mp3 files are only noise. ...
-
64-bit application can run on 32-bit Windows, many articles said so.
-
CreateProcess() can't launch 64-bit application on 32-bit Windows.
-
Thank you for help! I will try CreateProcess() when I have access to 64-bit Windows.
-
I currently have no access to 64-bit Windows, so I can't try it myself.
-
CreateProcess() is the API that can start a new process. My question is, in the 64-bit application running on 64-bit Windows, can I use CreateProcess() to launch a 32-bit process? Thanks for help!
-
November 19th, 2010, 12:16 AM
I will install the 64-bit and 32-bit Windows operating systems on same computer, this can ease the test.
-
November 15th, 2010, 11:54 PM
I know many 32-bit software programs designed and built for 32-bit Window XP or 7 can also run on 64-bit Windows 7. However, can 64-bit software programs run on 32 bit Windows? Thanks!
-
Thank you for your replies!
If I try to use ActiveX grid controls, what are the most powerful ActiveX controls, where can I get them?
If there are add new, delete and modify buttons on the...
|
Click Here to Expand Forum to Full Width
|