Click here to Skip to main content
14,971,553 members

Comments by The_Inventor (Top 188 by date)

The_Inventor 30-Apr-15 1:04am View
I presume you are using the 'for loop' to assign the 'jobs', with one job each processor, you first need to get the number of available processors, pre-established prior to calling the function and passing the value into the function as the dummy 'n'. #pragma statements are better used in a header and 'pushed or popped' with in the header.
The_Inventor 18-Mar-15 8:10am View
OK I get that SQL is a 'language' like Basic. I understand that most DLL's much like an EXE. I still have 3 files: Elememts.dacpac, Elememts.dll, and Elememts.pdb, that were generated by the IDE, from the database project. I presume the data I entered in the table has been encoded into the DLL, not the table itself per se. The contents of the 2 SQL files that I created are displayed above.

Looking inside the DLL, there are 2 files, and a folder with another file. Below is the version info created within the DLL

L4 V S _ V E R S I O N _ I N F O ½ïþ  ?   D  V a r F i l e I n f o $  T r a n s l a t i o n °¬  S t r i n g F i l e I n f o ˆ  0 0 0 0 0 4 b 0 ,   F i l e D e s c r i p t i o n 0   F i l e V e r s i o n 0 . 0 . 0 . 0 :
 I n t e r n a l N a m e E l e m e m t s . d l l (   L e g a l C o p y r i g h t B
 O r i g i n a l F i l e n a m e E l e m e m t s . d l l 4   P r o d u c t V e r s i o n 0 . 0 . 0 . 0 8   A s s e m b l y V e r s i o n 0 . 0 . 0 . 0

And the .text

R# H   P D  BSJB  v4.0.30319  l ´ #~  Ä #Strings ä  #US è  #GUID ø L #Blob   ú3         e   ' ‹  G ‹   x  «    r   r   r
.  .  " .  A € º  
<module> mscorlib DebuggableAttribute CompilationRelaxationsAttribute RuntimeCompatibilityAttribute Elememts.dll .ctor System.Diagnostics System.Runtime.CompilerServices DebuggingModes Elememts @œÉ¦F0O§OR¥ºÁ¡    ·z\V4à‰    TWrapNonExceptionThrows  ¿ÞU  n °" ° RSDSw
š@Iê;C†(µú…R>x C:\Users\Donald\Documents\Visual Studio 2015\Projects\Elememts\obj\Debug\Elememts.pdb F# `# R# _CorDllMain mscoree.dll ÿ% 
So maybe the information wasn't encoded. So is MSVS pulling my leg or ...?
The_Inventor 17-Mar-15 23:55pm View
So, Maciej, here you are making comment, without any compassion for the question, "How does one pragmatically retrieve the info from the built SQL DLL that presumably has the table data contained within it?" Do you have anything of real value to offer relating to SQL or DLL's using C++ to do it?
The_Inventor 17-Mar-15 23:54pm View
So, Ryan here you are making comment, without any compassion for the question, "How does one pragmatically retrieve the info from the built SQL DLL that presumably has the table data contained within it?" Do you have anything of real value to offer relating to SQL or DLL's using C++ to do it?
The_Inventor 5-Sep-14 22:37pm View
The best approach is to break down the tasks needed to get to the result that you want, just like anything else. However, this sound like a mouse capture project like the Scribble example that comes in the VS samples. So if you look at that example and can adapt it to your hardware setup, then it should be a piece of cake.
The_Inventor 13-Apr-14 6:50am View
float zoom = 0.4f;
float rotx = 0; This one is not initialized correctly like the others.
float roty = 0.001f;

If you have a scene where you or objects move then the scene typically refreshes @ 60 frames a sec.
Also you have an init() in a loop within your DRAW3D() function.
The_Inventor 22-Mar-14 23:38pm View
Maybe he wants to pan left to right, and up and down, using the mouse, and no scroll bars, so yes you are correct, they need to start with CView and go from there.
The_Inventor 22-Mar-14 23:34pm View
Create a database variable in your code.
The_Inventor 22-Mar-14 22:52pm View
From your .hpp file your are missing and end bracket } from your 'struct MyData' structure, and then within the structure you have called out your shared pointer with the same name. This can cause an error.

However the error code is specifying line 51 in 'Print.hpp' first input as the issue.
The_Inventor 22-Mar-14 4:20am View
The reason Y x is a problem is because Y is incremented line be line, and X is incremented by number of characters required. It is not a text box with text wrap enabled.
The_Inventor 11-Mar-14 23:12pm View
Now we need to see your code implementation, of steps 1 - 4, and which COM objects etc. and any other necessary information that may be of help to us to help you. What are the different conditions where it does work and when it doesn't.
The_Inventor 9-Mar-14 8:20am View
So, if it is not registering the tlb inconsistently, then it must be registering it consistently, if at all, so then what is the issue?
The_Inventor 8-Mar-14 0:47am View +++
Here is another reference to an article that show menu building in a web application, that also may be of help.
The_Inventor 5-Mar-14 6:51am View
Looks better. Just remember in a function like this, you need to use your 'dummy' variables correctly. The dummy receives the info, the function operates on the dummy, when the dummy is happy it spits it back in the format you wanted.
The_Inventor 4-Mar-14 5:44am View
Check for matching '<'clear'>' ... '<'/clear'>'
The_Inventor 4-Mar-14 4:55am View
In Win8 the menus went from a windowed control to a panel.
The_Inventor 2-Mar-14 7:51am View
You need to write one frame at a time. Also you are freeing a pointer to what it is that you are trying to write before you write it. Thus it crashes. If you don't free it at all you then keep allocating more and more RAM instead of writing to HDD file, and freeing memory for next frame.
The_Inventor 25-Feb-14 5:30am View
GetOriginalRect(); GetSelectRect(); DeleteRectDiff(GetOriginalRect()- GetSelectRect());
NewRect = GetOriginalRect() - DeleteRectDiff(GetOriginalRect()- GetSelectRect());

Or something like this.
The_Inventor 18-Feb-14 20:23pm View
Image.TransparentBlt(dc.m_hdc,0,0,20,20, RGBA(255,255,255,0));
The_Inventor 17-Feb-14 23:26pm View
You just have to do the same code in your CTaskDlg as you do in your OnInitDialog() for your Initial Dialog.
The_Inventor 17-Feb-14 23:10pm View
Capture single output screen of radar. If the output is binary, the image is most likely monochrome. So read/save file as RAW image with known start, stop locations, and size info then import to image program to process and print.
The_Inventor 17-Feb-14 23:04pm View
Smoothing function.
The_Inventor 17-Feb-14 22:57pm View
Check your fourCC : int codec = CV_FOURCC('M','P', 'E', 'G');
The_Inventor 17-Feb-14 22:50pm View
RGBA = Red, Green, Blue, Alpha. You loaded the image as a RGB and not RGBA. The Alpha channel is what controls the transparency. The 1st pixel, usually at 0,0 is use as the color that is going to be 'transparent'. In Hollywood they use Green, but typically the pixel is usually white=RGB(255,255,255) or Black=RGB(0,0,0). When using RGBA(0,0,0,0) you get all black. If you use RGBA(0,0,0,255), what is black is transparent. If you use RGBA(255,255,255,0) you get all solid white. If you use RGBA(255,255,255,255) then what is white is transparent.
The_Inventor 2-Feb-14 7:12am View
The_Inventor 4-Jan-14 5:55am View
Use your if statements.
The_Inventor 4-Jan-14 5:45am View
Probably from some template he found.
The_Inventor 3-Jan-14 1:13am View
Lets see some code.
The_Inventor 3-Jan-14 1:12am View
Most ActiveX controls are meant to be used be your browser. Your browser becomes your test bed for your ActiveX components. Your browser has security in place. Were you able to open your dialog box before you installed VS2005?
The_Inventor 24-Dec-13 19:06pm View
OK I see what is the result of your code. What you don't seem to have is ROW LABELS like you do have for your columns. The column is different.
lvi.mask = LVIF_TEXT It is this line of code that appears suspect. One may have presumed that it is a format macro that only allows characters, upper and lower, A-Z, 0-9, to be displayed, which it may not be. I am not sure.
This is an updated image of what shows up on my computer, using your code copied and pasted, also shows some of your other code.

So it really appears to be a system issue. I have a Win7Ult64bit OS running on an Intel i9 Quad.
The_Inventor 23-Dec-13 22:18pm View
I am still not clear on why you want to select the first row by default?

Here is a link to an image:
Is this what you are trying to do with your code?
The_Inventor 22-Dec-13 21:34pm View
When you use the LVS_EX_FULLROWSELECT is it set to transparent? or is it black? Is it RGB, or RGBA? Usually when in a spreadsheet format, rows and columns, the border styles of each cell is reversed, and the backgrounds remain the same. You colored your LVS_EX_FULLROWSELECT as black I believe. And also since it works with ListView_SetExtendedListViewStyle, then that is your solution since this macro is the one you should be using for what it is that you are doing.
The_Inventor 22-Dec-13 5:13am View
ListView_SetTextBkColor this one sets the color of the areas in the text-rectangle area that is not text, and not the whole of the control.
ListView_SetBkColor this one sets the initial background of the list view control itself.

For example: Normally the background of the list view is white, which can be changed with the ListView_SetBkColor macro, and normally the text is black, and the pixels within the areas of the text are the same color as the background, white normally, which can be changed using the ListView_SetTextBkColor macro. So when the two contrasting colors appear together you get to see the text in black against a white background. So if the text background is black and the text is black then you wont see the text, just black areas in the list, with maybe white at the end.
The_Inventor 15-Dec-13 20:41pm View
Are you trying to update data in DGVDtb at the same time it is open? I presume you executed the same command DataTable^ DGVDtb = gcnew DataTable(); someplace else for DGVDtb.
The_Inventor 15-Dec-13 0:27am View
He wants a 'KeyLogger' app to possibly capture your passwords and other information.
The_Inventor 11-Dec-13 22:00pm View
That is most likely true. I #included afxwin.h. CBitmap is in that file header. I still believe he needs to handle both the WM_SIZE and WM_MOVE messages as well. I used his previous posted code, that has the WM_SIZE handled, just the WM_MOVE to do.
The_Inventor 11-Dec-13 0:11am View
@KarstenK : why don't you give credit where it is due. CPallini didn't make the comment, I did. If Always makes a function called OnDraw(CDC* pDC) and puts everything into 'memory' prior to 'Drawing' it, then there should be no flicker.
The_Inventor 10-Dec-13 1:19am View
Hi ALNS! Put all the code that you have written for your WM_PAINT function and put it into an overridden OnDraw function. The fact that you are using WM_PAINT to do all that is causing your flicker problems to begin with. WM_PAINT is best used to redraw a small part of the screen image that is active. Using the OnDraw function is faster, and better.

Just call all the routines that you have already written, modify your onPaint function a little. What happens is that you get the whole screen in memory before it is drawn, so that when you move or resize, overrides that you need handle, and need to reflect the OnDdraw called in the proper place in the main function, and in the case statements of your window messages.
The_Inventor 9-Nov-13 4:14am View
You forgot to attach and upload the file in question. Scripts and Batch file types are 'executable'. Each can run different programs from within the context of the batch or script, by using shell techniques, with default or known inputs, saving outputs to known locations, where within the same batch file, can call on other programs to work on the previous outputs. In and IBM system the language is call JCL.
The_Inventor 9-Nov-13 4:07am View
It is showing a RANGE between A...Z of your 256 numbers 1...256
The_Inventor 10-Oct-13 23:13pm View
I has feeling that it was more embedded hard code somewhere ... Did you keep the special case within the WM_CTLCOLORSTATIC case braces? Or did you make it outside of it? If your using the MSVS IDE, when drag one on the dialog, a ResID is assigned but it is editable.

I believed it would have worked if you keep it within the case WM_CTLCOLORSTATIC {case IDC_GBOX1{do the changes of text color in here}}

Another choice is to write you own controls. I've never tried it as There Are So Many To Choose From, I feel I would not be able to come up with any better or more useful.
The_Inventor 9-Oct-13 4:49am View
Look at comment just below where you posted your snip it. I think you will like it.
The_Inventor 8-Oct-13 22:35pm View
Well that looks pretty slick. The GroupBox issue seems more complex. I tried creating a member in a dialog, and tried to find a method to alter the line used to draw the box, but found a lot of protected methods, and those that were not protected didn't seem to do the job. I am using MSVS 2013 Preview. It is a CStatic control. However, looking at your method, it seems to me, if you have a ResID for the Radio button, IDC_RADIO1, then maybe you could create a second internal switch group in the same case WM_CTLCOLORSTATIC, that uses IDC_GROUPBOX1, as an example, and have a cases for IDC_RADIO1, IDC_GROUPBOX1, etc. that you want to change.
The_Inventor 8-Oct-13 0:56am View
Share your code for your solved problem first.
The_Inventor 6-Oct-13 22:51pm View
I didn't see any code that returned anything. Where is your 'return res;'?
The_Inventor 3-Oct-13 4:54am View
Do you have a VESA standard video card in the system?
The_Inventor 3-Oct-13 4:29am View
Are you under the impression that 'string[]' is the same as 'String'?
The_Inventor 3-Oct-13 4:24am View
He wants to load a program before, during the booting process, prior to loading and running windows, says he needs to compile it for the DOS style command.sys of the base prompt for a 32 or 64 bit system, and do a .bat that gets to a C:\>, then run the file set. CHKDSK is like that, except with Win7Ult64OS, the NTFS is defragged once a day, and other processes help to keep everything in excellent operating condition.
The_Inventor 3-Oct-13 4:11am View
When writing in C, the implementation is in the *.c file, while the declarations often are in the *.h file, especially functions. You can create structures, initialize them, and then use them. Often in the IDE where you write, compile, and link together into an executable file, *.exe.

Name your program something other than 'main'. If you are in debug mode and are running 'main.exe' you may set break points that are not hard coded, so:

(gdb) break line 672; might work. I don't like break points. They are distracting.
The_Inventor 29-Sep-13 21:18pm View
To be clear, you really have not made yourself clear, as to which dialog you want to see, and have not told us about the other open child windows / dialogs that you don't want to see, that maybe you want to close if you don't want to see them. Or maybe maximize the dialog, it will block the view of the others, or make a top-level window.
The_Inventor 28-Sep-13 7:26am View
Are you able to show us the code from libqp_gsmo_mex.c, but It seems that you have used a string to initialize an unsigned 32 bit integer, and line 107 has some serious issues, that has affected the code below it.
The_Inventor 28-Sep-13 1:08am View
So true, yet the real method is simple, by using percent's of total screen width, instead of pt, or pixel, or other older graphical formatting.
The_Inventor 28-Sep-13 0:55am View
You can't really get the information back if you have converted all the data to a '1' or a '0'. the function where you 'output : 2D Array containing intensity values of each pixel in the image', is where you obtain your gray scale, so then just don't run the 'make_image_data_binary()' and you will have your answer.
The_Inventor 27-Sep-13 23:42pm View
From the Help on .NET Framework 4.5:(Azure uses .NET Framework)

When using the task-based asynchronous pattern, a T:System.AggregateException may be thrown if an exception occurs while waiting on the completion of the operation. This exception may occur on the client or services.

The problem lays within the continua of the file stream. Take 'Hulu' for example, they are an AV Streaming File Service, they use temporary buffer memory, within the RAM, or on the HDD, and it is FIFO. Some video ads are stored in the temp directory of the IE browser, for quicker, smoother access and replay.
The_Inventor 27-Sep-13 23:13pm View
If you have not downloaded the new Visual Studio 2013 preview, now at RC, then do it. Inside are a bunch of controls, that will work in a view container like a Dialog, or Form View, all of them similar to what you may be used to using.
The_Inventor 24-Sep-13 21:57pm View
The Visual Style thing, AFAIK, was not initially part of the 'win32', as it mostly started out as actual 32 bit DLLs for the background disk, network, I/O operations and less about how the text or colors looked, later icon and cursor choices were made easier.
The style will override most of your encoded information on a control. It starts with the type of control. Second is that the controls must be in a 'container', such as a dialog, or form view. The background color of the dialog is always gray. I have tried on several occasions to change the color or use a brush that is made from an image, to change the background color. Below you will see a 'new Solution' it used to work, but OS's change, am not sure how if at all that it will work.
The_Inventor 19-Sep-13 4:57am View
What was I thinking, hmmm C#, ... C++, damn my astigmatism must be getting worse. Right, the whole dot net thing. I see it is all heap orientated then. The 'this' is no longer a 'pointer' per say, as it is in C++. Sorry I am self taught, in many things, and in C++. Not being a programmer by trade, SOS platforms didn't click with me. I see C# as kind of a lessor C++, with a lot of upgrades in the code, which has been used to write the later OS's from MS. Trying to find the correct '.' or 'using' with, or without 'namespace', just makes it more complicated to do less, IMHO.
The_Inventor 16-Sep-13 0:25am View
His 'question' was: "I cannot get me code count the vowels in the entry text box. What have I done wrong?"

There are probably a half a dozen different ways to do the scan and compare routine that are better that what he presented. I am still confused as how a 'this pointer' can be referenced with a '.' instead of a '->', and how a predefine type like 'char' is being used as a declared variable.
The_Inventor 15-Sep-13 5:29am View
Works in Win32 and MFC. I may have gotten the comments reversed. But RGB(0,0,0), I think is black. In any case you just have to substitute the values for the colors you wanted. If you want transparent then you need RGBA(0,0,0,255). You still need a 'dummy' reference variable, as shown in Microsoft's example. This is seemingly necessary, so as not to confuse the runtime complier. Visual Styles is all about MFC, not Win32. I would check the documentation for the visual styles code reference if I were you.
The_Inventor 15-Sep-13 5:19am View
Can't help you there, after all it is your interest area.
The_Inventor 15-Sep-13 5:17am View
They aren't numbers so maybe j < 24 ?
The_Inventor 14-Sep-13 21:23pm View
Well will you need to look for specific shapes, or a variety? For each shape you need to define the functional equation in code form, in a 'unit' standard size, so it can be scaled later. Then having done that, you can write a comparison routine that compares what is in the cloud, to your shapes at the size required.
The_Inventor 11-Sep-13 6:38am View
What kind of system are you using? Single core, dual core, Quad core? 32bit, or 64bit CPU and OS? I have over 85 processes going at any moment in the background, any one process can have more than one tread. IE10 that I am using to access this website and write this comment uses 38 Threads, 77 USER objects, 78 GDI objects, and is using 201,612KB as a private working set of memory.

You calculated a difference in float but don't return it or use it.
The_Inventor 6-Sep-13 1:55am View
Show your code that works. Then show below it the VS2010 results, and the code that generated it. Then explain, and understand, the differences between web, web browser, VS2010 IDE, Crystal Report Viewer, SAP, and how these applications differ from the data itself. It could be that the background color, somewhere, has been set to the same color, as the foreground color, within the 'web in vs2010' view of your data.
The_Inventor 6-Sep-13 1:46am View
Get more memory for your computer. I presume you are using an all-in-one tablet, so if you are developing and running your app on the same tablet, then WYSIWYG, because your machine is under-powered, memory-wise.
The_Inventor 6-Sep-13 1:03am View
A bit more code would help. Declarations, initializations, function prototypes, etc. with function bodies in {}, anything that is needed, IYO, to copy and past an image into your RichEdit control.
The_Inventor 4-Sep-13 5:49am View
REally? Where is your code, if you want help with it, but maybe a switch case statement block?
The_Inventor 4-Sep-13 5:47am View
I say, "GO4IT" !!
The_Inventor 2-Sep-13 23:45pm View
I think he explained it the best he could the first time, as he just copied and pasted his first QA.
The_Inventor 2-Sep-13 23:20pm View
What you might have been able to do on a Windows - pre-NT OS, when FAT32 was in vogue, your code would have worked, and in the process, may have killed your OS, CPU, and thus an unusable computer, with no way of knowing what exactly happened. AS was many the case for experimenters. Since then, MS has made the OS, fairly USER PROOF, so that writing and running code on the same machine is made possible without making the system totally unusable. There many processes that run that have names that I may not like, so I kill them, to see if it fixes or FUBAR's the issue that I think that I am having with the CPU in that it's tied up, or hogging memory, or whatever it is that's running, that I didn't tell it to run, or had exited but left a process running. As a CAD person, I can't count the number times that the use of ACAD had overloaded the system, and crashed the entire computer, OS and all. Now its all virtual. Virtual machine, virtual OS, virtual memory, and so on. There is no direct access to the file structure any more, at least for the typical user. The current HDD access with its hidden protected disk memory, that is allocated when it is initially formatted, is much more secure, stable, and maintainable.

It is because an OUTSIDE generated SRP is very dangerous to use, as it could be made malware style, and then you are really screwed, if is something that 'someone nice' helped you with when you thought you were having trouble before, has made you machine useable to others, without your knowledge. Progress marches on.
The_Inventor 30-Aug-13 23:13pm View
You need to 'register' your restore point, with the system restore service, that initializes the dialog with the list. Choosing a Different Restore Point, performs a wider, or deeper search. Is your restore point being saved to the directory where the other RP are stored?
The_Inventor 29-Aug-13 1:12am View
Well Gecode is not C++. It also depends on your IDE, the OS that you are using to develop your app. I know nothing about Gecode, what or why it is used. You need to include in your stdafx.h file or app header, the windows.h, afx.h, and other related windows OS file headers.

If you are using a MAC or UNIX type systems, then the names for those files and where they need to be so the compiler can find them at compile time.
#include "afxwin.h" // MFC core and standard components
#include "afxext.h" // MFC extensions
#include "afxtempl.h" // MFC templates
#include "afxpriv.h"
#include "afxwinappex.h"
#include "afxdlgs.h"
#include "afxdialogex.h" //MFC Dialogs
#include "afxole.h"
#include "afxtabview.h" //MFC TabViewControl
#include "afxdisp.h" // MFC Automation classes

#include "vector" //Standard C++ Library
#include "algorithm" //Standard C++ Library
#include "functional" //Standard C++ Library
#include "iostream" //Standard C++ Library
#include "string"
#include "crtdbg.h" // Memory Leak Detection

are what I use for example.
The_Inventor 29-Aug-13 1:02am View
OK, however, the place in the statement is for the size of the item, in bytes. For instance some item could be 64 bytes in size, that is a known, however what is unknown is the count of items of that size, thus the fseek gives total file size, and if you know the item width in bytes, say 32bit, is 4 bytes, then you can divide the size by the item width and get a count of items, which often goes by the name size, but is different than the size you get from the fseek command. You have presumed that in a bitmap the item size is 1 byte, yet image formats are 24 or 32 bits, so that also may be an issue.
The_Inventor 28-Aug-13 3:14am View
You need to look at your System Information UNIX environment strings. Then in C++ read the strings and do what you want with the info. I'm a WinTel kind of guy.
The_Inventor 27-Aug-13 23:03pm View
The thing I was trying to point out was more clearly stated in Solution 3.
The_Inventor 27-Aug-13 21:23pm View
In C++ you keep separate the declarations in the Header file, *.h, and the implementation in the *.cpp file.
The_Inventor 27-Aug-13 6:46am View
Presuming C# here, so ... in your Input Window, an edit control, have you tried using an 'input mask'? It only allows what you want to see.

Also, don't forget in the array [] the last slot is for size. So char name[5][1] will get you name[0-4][0], so cin.get([i][0], 1); will do the trick.
The_Inventor 25-Aug-13 22:05pm View
Maybe some kind of while loop, where you load data until the condition become true.
The_Inventor 25-Aug-13 6:08am View
Have you tried 'GetSystemData()'?
The_Inventor 25-Aug-13 6:06am View
The Win7 WASAPI captures 'what it is that you hear' or what sound or music file etc. is playing at the time that you want to record it. Have your recording software ready to record, then start the program or the application's audio that you want to capture, as it has to be playing at the time of recording only.
The_Inventor 25-Aug-13 3:26am View
The file that you are converting to Text, is empty, so maybe there is a third option for error?
The_Inventor 25-Aug-13 3:03am View
Look in your code: fread(albumart, 1, size, fpi);, what is the 1 doing for you? It is supposed to be the 'item' size in bytes, so what, one byte? You're kidding me yes?

id3tag_set_albumart fails because YOUR code is not logically functional using the statements that you choose to use, to do what you think is correct, yet with out receiving the return information to do the things that you claim to be doing.

I am using Win7Ultimate SP1, on an Asus based system that I built for myself, using and i7(quad 4) 950 running @ 3.0Ghz, with 6GB RAM, and a 1GB video card, plus other stuff.

How about you?
The_Inventor 17-Aug-13 6:51am View
The 'linear' function hasn't been defined within the class or anywhere else, so the compiler makes 'linear' an 'int' by default.
The_Inventor 17-Aug-13 6:42am View
The_Inventor 17-Aug-13 6:30am View
As lame as this is, but where or how did you define and initialize, 'lame' in your id3tag_set_albumart(lame, albumart, size); statement? Which one is the file for the music, and which file is for the album art?
The_Inventor 17-Aug-13 5:19am View
You may have accidently written a program that when closed, stays resident. These kind of programs became the early viruses. One way to see the handle is by using the Task Manager in Windows, unsure for a MAC. Also there is Spy++ that you can use. It is a separate tool that you can use to find it. You then need to identify the kind of handle, as there are several different kinds. The program that owns it needs to die first. Then if the handle still exists then it was really owned by a DLL the program was dependent on but didn't close when it was done. Then once you have identified the correct handle, and the process that is keeping it, then you should be able to close it. Some handles are system handles and are protected.
The_Inventor 17-Aug-13 3:44am View
There must be some 'image' file that was used before in the original program, that it is not finding, that the lib file uses.
The_Inventor 15-Aug-13 22:59pm View
First you need to know the subtle differences in syntax between what I see above and C++.
The_Inventor 15-Aug-13 22:54pm View
Just set the handle to NULL, anything it referenced will be gone, so when you exit your program, no memory leaks.
The_Inventor 15-Aug-13 22:49pm View
Can you display or post your ' DVR Client setup '?
The_Inventor 15-Aug-13 0:27am View
So many to choose from, If you use a known port and connect, do they see you?
The_Inventor 13-Aug-13 20:21pm View
I have tried using 'vector' recently in the new Preview, it shows up in the externals headers list, I #included it in my stdafx.h and yet nada. So it used to work, but not lately.
The_Inventor 13-Aug-13 20:07pm View
I have tried using 'vector' recently in the new Preview, it shows up in the externals headers list, I #included it in my stdafx.h and yet nada. So it used to work, but not lately.
The_Inventor 9-Aug-13 22:14pm View
Basically you are creating individual Virtual Storage Drives, located in a file server farm, a room that is filled with networked hard drives. You don't need to know where the room is or the exact location of the physical drive, to create the Virtual Drive Space.

If you create a new 'Parent' drive space, and want to attach it to a different 'parent', then what you are doing is appending the new drive space to the existing parent drive space, so that the result is a larger contiguous virtual drive space.

In hardware terms, inside the Box, there are several locations for physical HDD. Typically there was a Master Drive, and the rest were Slave Drives. This is no longer considered "PC" as politically correct. So now its 'Parent' and 'Children', much more family friendly. The OS is loaded on the Primary partition of the Master Drive. The Primary partition could take up the whole space on the Master Drive or part of it. There are Mirror Sets and Stripe Sets, that configured the physical HDD for specialized needs. One case allows for faster access the other for redundancy of data, in the case that one of the HDD physically fails.

Now its all virtual in the cloud.
The_Inventor 9-Aug-13 21:49pm View
Let us not forget the true inventors of the GUI, Xerox. They invented the 'point' and 'click' GUI, with MAC and WIN each implementing their own version, IBM is in there as well. You will also want to investigate other kinds of User Interfaces available, such as 'touch screens', pen and tablet, IR laser pointers, 3D virtual interface using hand waving in air behind view screen, and so on. There a lot of new stuff out there. Discover the best interface for your needs, then worry about the code needed.
The_Inventor 9-Aug-13 21:33pm View
Maybe you failed to save the new groupicon to a file called C:\test.ico, so that it could be loaded by the test.exe? Also you may want to EndUpdateResource(hWhere, FALSE), before you
delete buffer; // free memory ...
The_Inventor 7-Aug-13 22:07pm View
There are no specific robust libraries per say. However if you search this site for OpenGL type programs, and then search carefully within the code, (Your results will vary quite a bit) but look for clearly written and commented code that is matrix related, they may even have a class or structure developed already.

If you search this site in the graphics area, OpenGL, there is one that create classes using 3DMath. In those files are routines that can handle the matric calculations you may want to do.
The_Inventor 7-Aug-13 22:01pm View
Still trying to write a virus that can't be killed?
The_Inventor 7-Aug-13 22:00pm View
Presuming 'kinfo' is your choice of names, but is it some kind of TYPE that is declared elsewhere, like int, string, byte, ?
The_Inventor 7-Aug-13 21:56pm View
Non-English speaker, under 21, using MS Translator, who doesn't know how to construct a question or write a statement in their own native tongue.
The_Inventor 6-Aug-13 0:41am View
So edit them, VM_KEY_F8 ...
The_Inventor 5-Aug-13 1:18am View
This your first use of 'linear'
for ( int j=0; j '<' n;j++)

linear(*this , X.row(j),IRT_EQ,1);

The_Inventor 5-Aug-13 1:07am View
Then set it up as a printer on the client machine so that you can print to the printer at remote site, client machine and printer, need to be on the same 'network', you have to be able to see it, in your 'Control Panel' or under 'Devices and Printers', once you have made the connection, and can print to it, then you will be able to monitor it.
The_Inventor 4-Aug-13 13:52pm View
I hate a process that can't terminate. Especially ones that keep memory and don't release it.
The_Inventor 4-Aug-13 13:33pm View
Make sure your project is configured correctly, if you used a wizard, then even more so. Look at the code for your MAPI class, and how the calendar is done, I am sure you will find the set functions in there somewhere.
The_Inventor 4-Aug-13 12:43pm View
Once you have your data in an array, it will relatively simple to check one array of point against an array of triangles.
The_Inventor 4-Aug-13 9:43am View
I await with baited breath . . . what is your ?
The_Inventor 4-Aug-13 9:09am View
When I viewed the list of the usual #include 's , and found that I want to use some class' that I had developed, I #include d them in the StdAfx.h file, so that they got precompiled right along, and then I could declare a variable of said class in any other class that also had StdAfx.h included.
The_Inventor 1-Aug-13 22:09pm View
Then you need to increase the frame rate from lets say 20FPS to 30FPS, this will take of the flickering, but will increase the file size, unless you decrease color-depth or the size of the image, like from 1024x768 to something lower like 800x600, or if your camera is good enough, other aspect ratios resulting in fewer pixels.
The_Inventor 1-Aug-13 1:28am View
Edit the js file, or post it here.
The_Inventor 1-Aug-13 1:11am View

The best tool is the one between your ears, you just have to know how to use it.
The_Inventor 1-Aug-13 0:46am View
Within the MS Visual Studio IDE they are contained in the menu bar, usually labeled 'Tools' ...
The_Inventor 1-Aug-13 0:41am View
In mechanical cameras, the light that exposed the film, was adjusted by two things that I can remember. F-Stop and Shutter Speed. Just set up a method in your program that looks at the cameras F-Stop, this is the camera's iris opening, like your eye's pupil, and is a digital light meter output, if you can control it then you can take instantaneous readings, put them into an array or list then process them in real time, and cause the 'brightness control to do its job. Todays modern digital cameras do this kind of thing automatically. You just have be able to strobe your loop to take the data.
The_Inventor 31-Jul-13 3:25am View
Did you forget to set id={R:1} to

="^activate/([0-9.a-z]+)" ?
The_Inventor 31-Jul-13 3:10am View
Well, this is why, coders are still needed. This is your challenge. If you have the win32API SDK, and can find the code (CPP FILE) that makes the VSSAPI.dll, and examine it. You create an class that uses the 'CVssApi' class as inheritance then you get to do your part.

Then you need to take out the ++ part, to re-win32 it, if you still insist on using the win32 way of things.

Then again, if you know the non-shadow storage space, is not the shadow storage space the same size as the non-shadow storage space? That is the concept of the hidden_file_volume_information_stripe_set, yes?
The_Inventor 31-Jul-13 2:58am View
Try putting your DLL file in the C:\Windows\System32 folder, and C++ what happens.
The_Inventor 31-Jul-13 2:50am View
OK, I'll give it the college try, ...

You are trying to create a file of some kind, the OBJ file,, is the file that is being compiled. The place where the compiler found the 'error', is in the file:

c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\simpleZeroCopy\

which apparently is a 'source' file type that is used to do the implementation, and needs its header file in order to be compiled correctly.

Do you have the header, source, bin, lib, and that the NVIDA library is also called out in its respective place type locations, set correctly, in the project, to the various directory locations of the CUDA files?

The fact you are using an external compiler, and NVIDA SDK, you really need to be sure that 'everybody' knows where everything is located,
The_Inventor 31-Jul-13 2:15am View
Make sure that your interface choice in the APP WIZARD, is set to Outlook 2010 style.
The_Inventor 31-Jul-13 2:12am View
Use the same DLLs, the other interfaces use, often found in the Windows7 SDK.
The_Inventor 31-Jul-13 2:08am View
Q1: Is the printer on your 'local' intranet / router box 'network', one to which you have physical access, in the building that you are occupying?

Q2: Is your client machine on the same 'network'?

Q3: Is the software, for the printer in question, installed on your client machine?
The_Inventor 31-Jul-13 1:57am View
Oh, I know exactly what the problem is. I have run across it many times to be sure. It is a common thing with new play toys, there is always some 'imperfection' left for the really intently curious individuals, who may not be as creative as the ones who come up with the 'original' concept, or idea, yet are fully capable implementing it, with minimum supervision, that look for those bugs that show up at run time instead of compile time.

There tools for this sort of thing.
The_Inventor 31-Jul-13 1:48am View
Then use what is in the SDK, to query the camera, that is if you have access to the Digital Information Structure, that which drives or interfaces with the electronics aspects of the camera itself.
The_Inventor 25-Jul-13 5:36am View
Sounds CDialogish to me....
The_Inventor 25-Jul-13 5:31am View
Maybe the file finished streaming and your code fail to recognize the fact, so then the buffer runs out, then nothing. Are you saving as you go, double buffer, etc? Or perhaps your clicking stops and starts the file, but you failed to find the thread, get your signal back, or ...
The_Inventor 25-Jul-13 5:27am View
Could this be an issue: 'I want to create a file with the name of hidden files'?
The_Inventor 25-Jul-13 5:23am View
Maybe go to the Cannon website, and download the drivers needed to access the camera via USB?
The_Inventor 21-Jul-13 21:16pm View
When dealing with images, one needs to remember it is 2D pixel data. I think that color variance in the small region of the 'eye' would be more effective. Look for white pixels that might surround the colored area. I don't believe that your circle function is well enough adapted, to deal with squares, anti-aliased into some form of a ellipse, and not a circle.
The_Inventor 18-Jul-13 1:01am View
What is MEMO data? And did you actually read and try the solution, or are you unable to provide the necessary info so that I may help you better?
The_Inventor 18-Jul-13 0:58am View
You need to remember that you are looking at a network in real time and output a flow chart to show their relationships, or if they were there before and are not now then what? If the device is longer connected to the network, for whatever reason, Ping.exe won't help. You won't ever see it, until you goto the physical device, and check its connections, and put it back on the same group or node or whatever network term you use.
The_Inventor 18-Jul-13 0:51am View
Your inputs and outputs don't match what you claim to be doing. I see that create and use 'bm' but not 'backdc'. And then maybe you delete your pointers too soon ...
What / Where is this -> PixelFormat32bppRGB, is it 'Black'?
The_Inventor 13-Jul-13 22:17pm View
I am sure you already have the algorithm for your output. The key would change, because the person changes, daily. Recognition systems are somewhat complex, but all current commercial ones use a 2D image method, against a known base image in an accessible database, much like the feds have in place now. They update your file every time you fly. Height, weight, internal and external structures, temperature, etc. all the data is collected and stored.
The_Inventor 13-Jul-13 1:18am View
You have your work cut out for you. Have you heard of 'inheritance'?
The_Inventor 12-Jul-13 2:31am View
Variables declared in the main.h file, in the correct place, are considered to be 'global' to your application. In C++, variables and such, are declared in the *.h file for the class, and then initialized in the *.cpp file for said class.
The_Inventor 12-Jul-13 2:19am View
I agree. Thanks, for clearing this issue up for me. The API.dll is dependent on the Hello.dll, and the .exe is compiled in the wrong language, or here needs to not return a pointer.
The_Inventor 11-Jul-13 4:28am View
As I thought, thus the '', then how, or what kind, of extension is the API file pair going to create? I am presuming that Hello.cpp and Hello.h create the DLL as described above.
The_Inventor 11-Jul-13 4:14am View
So the API.dll is the 'executable'?
The_Inventor 11-Jul-13 3:55am View
Look on the outside of the card, input into a file, read file.
The_Inventor 11-Jul-13 3:47am View
You have my vote on this one.
The_Inventor 11-Jul-13 3:44am View
Is the API.cpp considered to be part of the .dll source code?
The_Inventor 11-Jul-13 2:40am View
What is Qt?

If you are using a C++ complier ;-) then you need to write in C++. There no givens, typos are not allowed, quit using commonly used, protected, class names or default names already used. Be more original.
The_Inventor 11-Jul-13 2:32am View
MSW has been closing the security holes where it can find them. There was a big change in VS2012 from VS2008. VS is no exception. Not having a destructor, virtual or otherwise, in a .dll is bad if there is a class structure involved. It leaves fragments of memory open to abuse.
The_Inventor 11-Jul-13 2:26am View
I'm betting that "The Machine" on CBS2POI, knows how to do that already. Multiple samples, laser scanned, etc. Correct scale function, from multiple 2D, as in 'what size is it really if I had a tape measure to measure that 'huge' nose' is difficult at best. There was a program that would use two 2D images of the same building, imaged from two different angles, with a carpenter's square in both images for calibration. The finished results were a render ready 3D models that were surfaced with the images in the photos as the texture.
The_Inventor 11-Jul-13 2:02am View
I will need to see the code for the 'm_b and m_o' variables and their datatype(s) and or class structure. Variable names in C++ start in lower case and have Capitals in the middle, fileName, dirName, oneFile, beWorking may work better. It isn't easy, but the compiler likes it. Also will need your CFileFind class, and then last, you may have too many UpdateData()'s, or conversely, not enough of them in the correct location in the lower part of the code block.
The_Inventor 6-Jul-13 4:44am View
The_Inventor 6-Jul-13 4:42am View
Often these books will have 'errors' so that you will have to do some coding=work. Read the material again.
The_Inventor 6-Jul-13 3:30am View
I think you need to create, initialize, set and / or modify HHOOK hHook; before you can use:

return CallNextHookEx(hHook, nCode, wParam, lParam); returning uninitialized variables results in "nothing"
The_Inventor 2-Jul-13 4:32am View
You can create the down stream filters according to what you want. If you are going to use the input format the codec needs to be on the computers HDD, and it will play.

3.AVI[MPEG4-visual Format]
FileSource->AVIsplitter->FFDShowVideoDecoder /?

Also see above link.
The_Inventor 2-Jul-13 1:25am View
I am presuming that the video player is your main goal, and the use of codecs secondary. (Yes or No)

All codec type lines like 1., needs to come after any A/V file type line like 2., 3.
The_Inventor 2-Jul-13 1:11am View
Maybe it was a biological format in which he was interested. Maybe he was interested in Cell walls, which are interconnected. Maybe coded in 4-bit bytes, like DNA, or something ...?
The_Inventor 2-Jul-13 1:01am View
I concur sir.
The_Inventor 29-Jun-13 1:54am View
Typos are where errors come from.
The_Inventor 29-Jun-13 1:36am View
You have 2 competing, identically called functions, (find_index) in your 'question', and yet I haven't found a '?'.

If you want override a function that is inherited, use the 'virtual' command override.

virtual void Insert(); as an example in the header, then whatever it is you want to do with it is in your function version in your .cpp file.

The_Inventor 29-Jun-13 1:29am View
It would depend on available bandwidth and network uptime reliability. Aside from inquiries to either database, your main goal, as stated above, is to write a wrapper to manage DB connections. The best way is to let the 'system' decide. (2s = queues)

And then there is ->
The_Inventor 26-Jun-13 5:44am View
Maybe you are just trying to avoid the class.

"Now we need to assign a fitness value to the chromosome. As I previously said, only hard requirements are used to calculate the fitness of a class schedule. "
The_Inventor 26-Jun-13 5:38am View
If your Win8 machine has a built in camera and finger paint logon, it is just faster than the previous system.
The_Inventor 26-Jun-13 5:33am View
Make it a variable within the WM_RESIZE message handler. Then you can make the splitter any size you want, and it will resize correctly. Oh, and m_cxBorderShare = m_cyBorderShare = 2;
The_Inventor 26-Jun-13 5:28am View
Did you press the hidden icons ' ^ ' to see if it was moved to there instead of your viewable system tray?
The_Inventor 26-Jun-13 5:24am View
Sometimes Microsoft doesn't follow their own suggested guide lines for programming interfaces in .DLL's. Apple and Windows have had a hate-love relationship since the beginning of point and click. Often, when using the next version of VS, thinking it will recompile OK, when ...
The_Inventor 24-Jun-13 5:28am View
Just by looking at your converted code, it looks more like C#, than C++, or as the error code output statement reads '.NET'. .NET, C#, C, are different than C++. Check out what it is that you want and their differences within each type of code. C_11 is supposed to be the latest edition of C++ as a standardized instruction set. MFC has many interpretations to choose from just to be compatible.

using namespace System;
using namespace System::Collections::Generic;

are specific to .NET, and C#, not C, C++, although it has been said that proper indication of how the text is to be interpreted will allow the C++ compiler to compile it correctly, provided the other systems and compilers are available in known locations.
The_Inventor 21-Jun-13 3:53am View
I know that this will seem somewhat like a hit in the head, however if you can compare what you have, line by line, to the example in the link, using a decision tree logic, like: 'Well if he did that there, did I do the same in my case ...' realizing the defining differences between the concepts covered in the example and what is going on in yours. Then the irritation code object line will expose itself to you. It is a very basic example, but complete in what it is attempting to demonstrate.
The_Inventor 20-Jun-13 7:11am View
then how about:
//DLL cpp
extern __QOR_INTERFACE( __ARCHQOR ) const CGPReg eax( nsCodeQOR::_Initialize(), REG_EAX );

The_Inventor 20-Jun-13 6:44am View
Once you have the list generated by the EnumPrinters() with a level 1, from a cluster, then query each printer separately, and then make your report. Level 2 is more for local use. When looking at networked equipment, each printer has its own set of drivers, that the reporting CPU needs to have 'installed' to be able to do the query correctly.
The_Inventor 20-Jun-13 6:38am View
Curves require a begin point, end point, center point and a radius. The line interest points will become the middle of the arc. In drafting programs it is called a 'fillet'.
The_Inventor 20-Jun-13 6:33am View
IE9 is updated regularly. Which part of it are you examining? Find the .log file and read it.
The_Inventor 20-Jun-13 6:24am View
You have:
extern __QOR_INTERFACE( __ARCHQOR ) const CGPReg eax;
might you try:
__QOR_INTERFACE( __ARCHQOR ) const CGPReg eax;

I am sure you have it, however I will ask, at the top of the .cpp file did you write:
#include *.h ???!!!???
The_Inventor 16-Jun-13 0:35am View
The_Inventor 16-Jun-13 0:01am View
Need to see more code.
The_Inventor 11-Jun-13 2:24am View
You might look at the WindowsSoundSystem for voice recording from a microphone on a headset that is plugged into the USB protocol. You will need to record the audio-file, in a compatible format. There is a system standard voice recorder that you might be able to use. It is documented in the WinSDK. Once you have the file recorded, then it will be copied to the HDD of the computer that handles the internet enabled announcement system, via UDP.
The_Inventor 11-Jun-13 1:04am View
One simple way to detect edges, is a pixel by pixel examination, comparing it with the 8 other pixels around it. What makes it complicated, are the attributes of each pixel. You will need to become familiar with the MPEG-7 image description, how it uses color, etc. and the number of other different variables. You own link has lots of information the EHD.
However, you might also try to understand that the MPEG-7 is more about how the Multimedia Content Description Interface is for understanding, classifying, retrieving content, which is now the most important goal, when dealing with lots of media files. You might consider the MPEG-4. MPEG-4 on the other hand, is the start of a different way of looking at the coding of video. It is defined as the Coding of Audio-Visual Objects and all through the standard, objects are given a lot of importance. Transcoding, interoperability, error resilience, etc. are the other usual features. MPEG-4 now incorporates so many parts, that its too exhaustive to list here. But somewhere in there is that for which you are looking.
The_Inventor 11-Jun-13 0:40am View
You might check out ->
The_Inventor 11-Jun-13 0:37am View
I second Sergey's motion for better information and a section of the code with which you are working, showing how you have defined (X,Y).
The_Inventor 11-Jun-13 0:24am View
There are a couple of ways to color the window background. is one such way.
Another one can be found ->
And this one will show you how to do it flicker free ->
The_Inventor 21-May-13 4:31am View
When it comes to C++, it best to keep the structures in the header file, and the implementation in the .cpp file. When the file just ends in *.c it is looked at like a 'c' file.
The_Inventor 18-May-13 7:02am View
In C++, you can only initialize static member In the header file (*.h) or within the class structure, of a single file containing both header info, and implementation info(*.cpp)
The_Inventor 16-Apr-13 5:15am View
Sounds like user registration to me. If you are using the same form for data entry into a database, as well, then perhaps a enum {usertype, userlevel, ...} check might be in order as well, but always clear any form first. You can chose to store the data within the main program database. Each company that you deal with, you create a new database, and do company entry with that same form.
The_Inventor 16-Apr-13 4:45am View
I am not sure if it is possible, but sounds like you need a variable FRAME_RATE Player module that updates a WORKING_MEMORY file that has a FRAME_STEP, that typically is a constant that is set before MEDIA_RENDER is engaged, that you can vary in real-time while working on your film file.
The_Inventor 16-Apr-13 4:03am View
There is a limit switch within the database files, and the engine handling the database. This is often the case with older machines. Do a search with your help files for MAX_FILESIZE or MAX_SQLSIZE. Also it could be the type limitations as well for SQL_C_BINARY, SDWORD,SQL_LONGVARBINARY. Often there is an initial size, 4KB for instance.
The_Inventor 16-Apr-13 3:57am View
You really want us to do the grunt work huh? The way you wrote your question was more like a request or challenge in that you wrote present tense, saying you Have done it. I say dissect your statement w/ requirements, like you gave as a boss would give to an employee, and do a logic process tree from your statement above, as the employee would do.
The_Inventor 16-Apr-13 3:49am View
This is neither Question nor Statement, it is a link to the site only, a nice one, but just a link. Not really sure of your motives. So the answer would be the same, create a message map, OnMouseOver linking the control that is sending the WM_MOUSEOVER
The_Inventor 13-Apr-13 2:15am View
Did you write the CALL_BACK function for it?
The_Inventor 10-Apr-13 22:10pm View
The real problem is that the compiler doesn't understand 'CopyFile2', as it isn't able to ID it. You need to include the header file that contains the code for it. It is like saying:

for(I = 0; I < Total; I++;) if you haven't said int I, Total; some where before the 'for' statement, then you will get a compiler error. In your case the 'Identifier' is the 'CopyFile2', and it can't find the code for the function.
The_Inventor 10-Apr-13 3:23am View
It is the difference between 'index' and 'size'. When you use [] the number in between the [] is the "upperbound" while size = upperbound-1, with size the actual number of 'elements' that the array can hold. Look for a file on your computer called afxtempl.h, it has the code that developes the C++ class CArray. Using [] is the old method of declaring an array.
The_Inventor 10-Apr-13 2:57am View
Look again very carefully at what I did (see the needs to be section) as you didn't fully implement what I did.
The_Inventor 10-Apr-13 2:53am View
Look again very carefully at what I did (see the needs to be section) as you didn't fully implement what I did.
The_Inventor 10-Apr-13 2:48am View
Then maybe the new change I will work, as it inits a Pointer.
HRESULT (WINAPI* Trampoline_CopyFile2( is not the same as
The_Inventor 9-Apr-13 1:59am View
You might try a hot-key in the loop(s), where if escape is detected you 'exit'.
The_Inventor 9-Apr-13 1:42am View
_In_ PCWSTR pwszExistingFileName,
_In_ PCWSTR pwszNewFileName,
_In_opt_ COPYFILE2_EXTENDED_PARAMETERS *pExtendedParameters
The_Inventor 9-Apr-13 1:01am View
Please show snippet of the new API showing the new 'CopyFile2' decoration, declaration, and other related CONSTANT_ID_TYPES, would be of help to help you.