|
no hardly there will be any time stamp since it must be plain data from ADC on certain sampling rate and they should follow each other.
it is impractical to introduce time stamp before every point since the file size will be enourmous
it is usualy something only data points, I've tested it with float * and double * and it douesnot worked with every possible step
may be it is in 16bit or 12bit format numbers? will check it
9ine
|
|
|
|
|
what the file? It sounds like WTF , sorry for the bad joke
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
If you have an idea of the values which are represented, you could do a bit of trial-and-error.
But the problem is that it could be a single set of values, with time implied (first sample is a float - position - at T0+t, second is position at T0 + 2t, etc)
Or it could be pairs of values (float distance with integer time)
Or it could be triples (??) of values (float distance and float velocity with integer time)
Get the idea? First decide what data is represented, then try decoding it, see what gives "reasonable" values.
Of course, you will also have to look at the system which produced the data file, and decide whether it is likely to be big-endian or not.
|
|
|
|
|
How would i update an acces db from VC6,if the connectivity is done using ADO?
Do i use an update query separately,or do i open the DB and then make changes?
Detalied help would be really appreciated...thanks!
|
|
|
|
|
hi,
using the RecordSet Pointer of the ADO, and Call Open(...) method of the RecordSet.
In the Open Metod of the RecordSet pass the String for the Update of the Command.
like
//==========================================================
Connection.Open("\\....mdb");
RecordSet rs;
rs.Open("Update table table name where value = " &value);
rs.Close(...);
//==========================================================
cool.
uday.
uday kiran
|
|
|
|
|
Requirement:
IS IT POSSIBLE TO HANDLE MOUSE SCROLL EVENT when the focus is on the LISTBOX.
When ListBox has only the Horizontal scrollbar,the MOUSE SCROLL Event is by default
linked to the HORZIONTAL SCROLL movement.
Is there any way to HANDLE this behaviour?
Is there any way to STOP this behaviour?
Can any one clarify?
Thanks
for thendral
|
|
|
|
|
Are you referring to the mouse wheel? You could handle the WM_MOUSEWHEEL notification.
|
|
|
|
|
Unable to capture the mouse wheel event if the focus is on the LISTBOX.
CAN u please help me out
for thendral
|
|
|
|
|
So do you want that the user may not be able to scroll through the list box items horizontally/Vertically
Vision is Always important and so is your ATTITUDE.
Wishes.
Anshuman Dandekar
|
|
|
|
|
Hi !
I want an article around "Anti Debugger" codes.
please help me.
Zo.Naderi-Iran
|
|
|
|
|
|
What are "Anti Debugger" codes?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
Generally, it means code that checks to see if the process is being run under a debugger. They range from simple/naive things like calls to IsDebuggerPresent(...) and CheckRemoteDebuggerPresent(...) , smarter things like seeing if the first [edited] opcode of a function is an CC [/edited] (breakpoint has been set), or advanced things like looking for tell-tale signs of kernel-level debuggers like looking for the the named pipe used internally by SoftICE (\\.\NTICE , or checking int 41 (Windows debugging kernel) interrupts, etc.
The art of anti-debugging is as vast and varied as the art of hacking and cracking.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
I do not think that you will find such articles here, as that is considered more Black Hat than White Hat.
I would suggest Googling for things like "Honeypot detection" and "anti-anti-debugging", as countermeasures to countermeasures have to fully understand what they are combating.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
Dear Sirs,
My problem is this,
After doing search on my form, I load my toolbar where I have same buttons (Next, Previous, LAst, First). But after that when I load another form, I can't write same thing inside, All fields seem to be Clocked.
I don't understand.
On my codes, when I destroy this toolbar before calling an other form, all things are well. But when I destroy it, it can't appear again even if i need it again ?
What to do ?
I learn My self
|
|
|
|
|
mikobi wrote: But when I destroy it
If you destroy it, you will have to create it again and not just show it.
Nibu thomas
Software Developer
|
|
|
|
|
Did you understand first why it is not possible to write in others forms ?
I will try to create it now
|
|
|
|
|
This what i write but not success :
CMainFrame* pFrame = (CMainFrame*) AfxGetApp()->m_pMainWnd ;
CStatusBar* pStatus = &pFrame->m_wndStatusBar ;
CToolBar*pTool = &pFrame->m_wndToolBar ;
pTool->CreateEx(pFrame,TBSTYLE_FLAT,WS_CHILD|WS_VISIBLE|CBRS_TOP);
pTool->LoadToolBar(IDR_TOOLBAR1);
pTool->ShowWindow(SW_SHOW);
pTool->EnableWindow(true);
|
|
|
|
|
When I write this test
if (!pTool->LoadToolBar(IDR_TOOLBAR1))
AfxMessageBox("Failed to Load Toolbar");
I see that there is a problem, the Toolbar is not loaded, i don't know why ? What to do ? Why it is not loaded ?
|
|
|
|
|
Hi,
I have two views of CScrollView type open with tile effect.
I set SetScrollSizes(MM_TEXT, sizeTotal) . In first view I scroll and get the view to the area which should not be visible in second view. then I start drawing my graphic objects. I draw lines rectangle in one view and then call UpdateAllViews on document.
To my horror, I saw the graphic elements in other view too of same dimension.
relative offsets of these objects are same in both views from their top left corner or say bottom right corner. Update on both view causes both all graphic objects to be drawn all overlapped just like second view. They are not visible in the scrolled area.
Are these getting drawn in screen coordinates? Here which dunction need to be used.. screen to client.. how to have correct effect.
(mapping mode I am using is MM_TEXT)
Leya
|
|
|
|
|
hi all,
i have modified the style of the Property Pages to Bottom of the Property Page. I am able to look the Tabs down but when i click the Tabs only the Tabs are visible else they are not showing Properly.
code snippet
//=========================================================================
CPropertySheet dlg(_T("Hellow"), this, 0);
one a;
two b;
three c;
dlg.AddPage(&a);
dlg.AddPage(&b);
dlg.AddPage(&c);
dlg.SetActivePage(&b);
dlg.ModifyStyle( 0, TCS_BOTTOM ); // to modify the Tabs in Down Side
dlg.DoModal();
//==========================================================================
i am getting the Tabs Down wards by using ModifyStyle(...) but it clear only when I Click the Tabs.
please let me know any solution.
thanks and regards,
uday.
uday kiran
|
|
|
|
|
I am trying hard on changeing the menu's background..
But failed all the time...
Can anyone tell me how to change my menu's background to a bitmap
as below?
Thank you so much....
The picture is at
http://www.codeproject.com/useritems/Enhanced_Win32_Framework/RebarFrame.gif
|
|
|
|
|
|
Hi,
I'm using VC++ .NET 2003 with MFC and OpenGL to do some ghraphics programming and have come to a rather sticky mess with Splitter windows. No matter how many splitter windows i set up, the opengl graphics only every appear in the last "pane". currently i have assigned the same view with opengl drawing code to every pane, but its only the last pane which will display any graphics. the others never ever et updated, and dont even turn to a black colour. i.e. moving other windows over these panes leaves a mess behind.
has anybody had a similar problem and know of how to fix this?
any help would be much appreciated.
Thanks,
Paul
|
|
|
|
|
You need to make sure that your wglMakeCurrent stuff happens at the beginning and end of the draw function instead of at the beginning/end of the app. This is because openGL can only draw to the current rendering context - so at the moment thats probably the first view/dc that you set it up with.
Its probably better to use the forums at www.openg.org if you need any more help with this kind of stuff.
Hope that helps,
Kev.
|
|
|
|