|
Hi David. One follow-up question, if I may.
How can the UDT's of the Win32 API be extracted from the public PDB files if the source information is stripped from them?
I mean, yes it would be possible to get information about the functions, but not about the types passed into them. Am I correct?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Am I correct?
Yes, you are partially correct.
Microsoft has made some private symbols available to some ISV and partner programs after signing NDA and some special agreements. There is also the 'https://codepremium.msdn.microsoft.com/symbols' private symbol server made available through the shared source initiative[^].
Code Center Premium[^]
I took a brief look at his software package and was immediately impressed. It would be a great tool for sandbox automated malware analysis. However it is severely lacking in one single area... the function signatures in his XML files will not match on all operating systems. To make matters worse... he does't even mention which OS/Patch level those definitions match.
If he would author a tool for generating those function and type definitions using the Debug Interface Access SDK[^] it would be a much better tool. It would allow his software to perfectly match the machine it is running on regardless of Update/Patch level.
Best Wishes,
-David Delaune
|
|
|
|
|
mozobata wrote: Any Ideas? Buy a probe that is certified for the temperatures you need to monitor.
|
|
|
|
|
|
Mea culpa.
|
|
|
|
|
No problem - it's easy to miss the site-driving link.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hello guys
My hard drive is giving strange noise, i have read somewhere that it's on risk to keep using this drive, can i repair it ? or should i go for a new one and move my data onto it.
Thanks
|
|
|
|
|
When it makes strange noises it is most probably a mechanic problem which can't be repaired. The only part of hard drives that can be repaired is replacing the electronics board. But that is usually more expensive than buying a new drive and makes only sense when you need to get some data from the drive.
I suggest to replace it immediately.
If you need to rescue data don't power it any more (plugout power and SATA connectors) and install a new drive. You may then connect the old drive it to another system and use a disk imager to create a low level copy of the drive. This might be transferred to the new drive but with the risk of already existing data corruption. The safe method would be installing your system from scratch. You can then mount the image and try to restore data.
When not using a disk imager you can also try to reconnect the disk and copy the data. But this will stress the drive more than using a disk imager.
|
|
|
|
|
I have the same issue but I think it's the ventilator...
|
|
|
|
|
Start with the simplest configuration that "works".
By your own words, you are starting out with at least 3 devices of unknown condition; you have no "baseline" to compare to in terms of success (which usually means at least "2" configurations: one that you can revert to when things stop working; and the other being the "work in progress").
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Read the data sheets yourself and make your own decision. You cannot expect people on the internet to be able to tell you what is best for you.
|
|
|
|
|
Hi,
I have a pair of speakers (max power input: 250W, nominal power output: 30W) connected to a class-D amplifier (TDA7492, 2x50W) powered by a 12V 72W power supply.
Playing music on this setup is way too loud.
I have already tried to place a resistor between the amp and each speaker which actually lowers the volume, but I think this is quiet a waste of energy, isn't it?
I want to play music from a raspberry pi later on and I guess it would be better to let the raspberry pi control the volume with a digital potentiometer, instead of controlling it in the music player of the raspberry. So, would a digipot be the answer to my problem?
Thanks.
|
|
|
|
|
If you use an additional digital potentiometer, isn't that the same as placing resistors to the connection, either before or after the amplifier. After all those are typically resistor bridges. So the output level on the Pi would still be the same.
I would guess that controlling the volume in the Pi, before D/A converter, would lead to smallest energy consumption needed.
Also note that the components in the connections affect the quality of the sound.
|
|
|
|
|
|
|
I have an app that needs to be able to write and image to a removable device. This usually means a Compact Flash or a CFast card. Up to this point, the application restricted drive selection to only removable drives - GetDeviceInfo returned this information reliably. Enter CFast cards which seem to be mounted as a SCSI device, and Windows sees them as a generic disk drive or removable, depending on the whims of the CFast card reader.
I've been perusing system call after system call, disk utilities, and what not, and I have not yet found a system call that will return to me any ID information from the removable disk.
Ideas?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Can you not "infer" (somewhat) from the file format, total space, name and / or drive letter?
Even then, don't you give the user the option to make a choice? (i.e. Is this the correct device ... as in "I will erase / overwrite everything").
(This is practically a requirement when dealing with multiple COM ports; i.e. identifying the one to use).
Machine learning: note changes from one tally of drives to another.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
I can infer, but we're on the paranoid side - we want to avoid a user nuking their boot drive. So, I thought I would just ask. You'd be amazed at the number of times people have actually done this. Even if we ask "Are you sure?" somehow we always get blamed
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
An "empty" drive obviously wouldn't be a "boot drive".
Perhaps in "phase 1", one only backs up to "empty drives".
I could go on.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Respected sir:
I am involving in a program which is written by myself about using MSP430F149 to control the step motor.I would like to show them here.( this is the datasheet of MSP430F149: [^]
)And I think maybe they could be improved but I don’t know how to do it. Could you give me some suggestions?
This is the program:
<#include <msp430x14x.h>
typedef unsigned int uint;
typedef unsigned char uchar;
#define PWM BIT2
void int_clk()
{
uchar i;
BCSCTL1&=~XT2OFF; //open XT oscillator
BCSCTL2|=SELM1+SELS;//MCLK 8M and SMCLK 1M
do
{
IFG1 &= ~OFIFG; //clean the wrong sign of vibration
for(i = 0; i < 100; i++)
_NOP(); //delay waiting
}
while ((IFG1 & OFIFG) != 0); //If sign is 1,continue to wait
IFG1&=~OFIFG;
}
void int_pwm()
{
P1SEL|=PWM;//choose P12 to bePWM output
P1DIR|=PWM;
TACCR0=800;//PWM signal cycle 10KHz
TACCR1=400;//duty cycle 1:1
TACCTL1=OUTMOD0+OUTMOD1+OUTMOD2; //outputted mode choosing
TACTL|=TASSEL1+MC0;
}
void main()
{
WDTCTL=WDTPW+WDTHOLD;//close watchdog
int_clk(); //clock initialization
int_pwm(); //initialize PWM
while(1);//end>
The program is base on controlling the return of step motor by using MSP4300f149. The outputted port of PWM is P1.2 while the signal cycle is 10KHZ. The duty cycle is 1:1.
Do you have any advice about my program?
Best wishes~
|
|
|
|
|
What kind of answer do you expect?
You are mainly setting configuration registers which can't be improved.
The only code portion that can be improved is the loop in your int_clk() function. The final clearing of the OFIFG bits can be omitted because those are already cleared when the loop terminates. The inner for loop seems to be unnecessary when _NOP() does what it indicates (just do nothing while the processor runs) and there is no requirement for a delay between consecutive writes to the IFG1 register.
Then that function can be:
void int_clk()
{
BCSCTL1&=~XT2OFF;
BCSCTL2|=SELM1+SELS;
do
{
IFG1 &= ~OFIFG;
}
while ((IFG1 & OFIFG) != 0);
}
|
|
|
|
|
Purely a question to understand what you get with the product.
The ADAS 1000 Evaluation board, with the SDP controller board, can display ECG traces on the PC program (looks like LabView). But my questions is, does it come with defaults and default program to connect and display. Forget whether it's safe to connect to humans or animals, which the disclaimer warns against. I'm Just wondering how useful it is.
Does it come with defaults and the ability to display proper ECG waveforms, if electrodes connected.
|
|
|
|
|
You'd do a lot better getting an answer from the supplier than from a random bunch of coders here.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
to do Kernel mode debugging can the host computer be windows 8.1 and target windows 10
thanks
|
|
|
|
|
Hi,
Yes... of course. You can attach a debugger to Windows 10 from Windows 7 or greater.
Best Wishes,
-David Delaune
|
|
|
|