|
|
what does this have to do with C, C++, or MFC?
|
|
|
|
|
Since you're comparing outtrainset(i,j) to 0.5, a floating point value, I'd assume just like I told you before that you already have a continuous value as output. As I also said, that if statement is thresholding the output to prodice a crisp boolean answer. If you want the continuous result, just don't do the threshold!
Also, peppering the forum with repeated questions is considered bad form and will generally get you yelled at.You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
Oh, I remember you now. You're the Malaysian gal who was trying to get some fool to send her the code for her senior project a while ago. Guess you must have found one since you can't comprehend what you have. Maybe I'll report you to your school's acadamic affairs office. You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
What, you've got mental problems? Steve
|
|
|
|
|
Hi All
I want to retrive the information for Last Used On of Installed Application of Computer. please give me idea how i retrive the information LAST USED ON and Freequency Just like Add/Remove Program . we can see all the information.in control panel so we can also retrive the information. So if any one idea then please share it. so please help me. You can also provide me where is Stored the LAST USED ON and FREQUENCY information. I am waiting Your quick response.
Thanks
Rakesh
|
|
|
|
|
|
I believe 'Add/Remove Program' which has the 'LAST USED ON' column enabled utilizes the NTFS Last Access timestamp[^]
Best Wishes,
-David Delaune
|
|
|
|
|
Last two days i'm struggling in CTreeCtrl Image Drag and Drop.
I'm using MFC MDI application having two views
1. Library View
2. Project View
Both the views having Tree Structure. I can able to drag and drop an item from Library view to the Project View but while dragging i need to drag image from one view to the another. I can able to drag image up to the border of the library view(View one) when the pointer enters in to the project view(View two) it disappear and only shows the pointer.
How can i copy the image from my Library view to the Project View.
Any one please help me ...
|
|
|
|
|
You could make your own derivation of CTreeCtrl,
with a pointer to CImageList,
that will be set by CreateDragImage(..) at CYourCtrl::OnLButtonDown(..)
and deleted at CYourCtrl::OnLButtonUp(..).
You must set the first parameter of CImageList::DragEnter(..) to NULL
to allow the image to be "global".
All coordinates of the CImageList interface
will be screen-related in this case modified on Thursday, February 18, 2010 9:17 AM
|
|
|
|
|
Hi
I trying to compile a device driver and to avoid compiling in user level functions I’ve specified /NODEFAULTLIB as a makefile flag. The function memset is now reported as a non-resolved function. The memset function is available in LIBCRT.LIB however, whenever I explicitly reference this library in the makefile it generates a number of other non-resolved functions beginning with gs_ which I believe are related to kernel32.lib which is not available to driver .dll’s
Is there an alternative to the memset function I could use?
Patrick
|
|
|
|
|
You probably need to consult some of the information presented here[^], as there are many issues with kernel level code, not just memory allocation. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
I guess you may use RtlFillMemory [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I ended up inserting the following line in the sources file and it now works:
TARGETLIBS=\WinDDK\7600.16385.0\lib\wnet\i386\libcntpr.lib
As it works I'm assuming that this is a kernel equivalent to libcnt.lib?
Patrickmodified on Thursday, February 18, 2010 7:14 PM
|
|
|
|
|
Hi All,
I am trying to install the .inf file through cmd line
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 .\mfile.inf
It runs fine with wondows xp and windows 7 but in windows vista I am getting error message "Installation failed".
Even UAC also disabled. What might be the problem?
|
|
|
|
|
john5632 wrote: What might be the problem?
Same as this[^].txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
|
Provide some more information, your message gives us nothing to work with. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
I have only inf file and want to install.
What information you want?
|
|
|
|
|
What are you trying to install? Perhaps if you post the contents of your inf file that might be a starting point. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
ok, trying to install kQemu driver through .inf file
Code:--
; Copyright (C) 2005 Filip Navara, Damien Mascord
[Version]
Signature = "$Windows NT$"
Class = System
ClassGuid = {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider = %Author%
DriverVer = 04/28/2005,1.0
[DestinationDirs]
DefaultDestDir = 12
KQemu.DriverFiles = 12
KQemu.InfFiles = 10,inf
[SourceDisksNames]
1 = %InstDisk%
[SourceDisksFiles]
kqemu.sys = 1
[Manufacturer]
%Author% = KQemu.Manufacturer
[KQemu.Manufacturer]
%Description% = DefaultInstall,kqemu
[DefaultInstall.NT]
CopyFiles = KQemu.DriverFiles, KQemu.InfFiles
AddReg = KQemu.UninstallRegistry
[DefaultInstall.NT.Services]
AddService = kqemu,,KQemuService_Inst
[Uninstall.NT]
DelFiles = KQemu.DriverFiles, KQemu.InfFiles
DelReg = KQemu.UninstallRegistry
[Uninstall.NT.Services]
DelService = kqemu,0x00000200
[KQemu.DriverFiles]
kqemu.sys
[KQemu.InfFiles]
kqemu.inf
[KQemu.UninstallRegistry]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"DisplayName",,%Description%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"UninstallString",0x20000,"RunDll32 setupapi.dll,InstallHinfSection Uninstall 132 %SystemRoot%\inf\kqemu.inf"
[KQemuService_Inst]
DisplayName = %Description%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\kqemu.sys
[Strings]
Author = "Fabrice Bellard"
Description = "KQEMU virtualisation module for QEMU"
InstDisk = "KQEMU Install Disk"
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START = 3
SERVICE_ERROR_NORMAL = 1
|
|
|
|
|
I see that this file contains the name of the author and the company that manufactured this product. Obviously they are the people to contact to ask what this message means. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
If I could do that then no need of your help
|
|
|
|
|
As I said in answer to your earlier post, the message "Installation failed" gives no clue as to what might be wrong, so there is no way we could begin to guess what the error is. If you cannot get help from the people who wrote this package then I fear you are stuck. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
john5632 wrote: If I could do that then no need of your help
Oh Yeah? You must be happy for all the help you are getting here. You talk as if you are paying to get help from people here.
|
|
|
|