|
Hi,
From many places Iam still searching to find a solution but not yet clear to me..Its hunting my head...I will be happy, does anybody gives a solution to me..
Actually Iam having VS2010 Ultimate... on 2 systems. I updated 1 system to SP1 &
Windows 3.0 API. That system is 1ly giving the error like...
The Method or Property VCFilter::get_UrlBehavior deprecated and nolonger implemented....
But in another system, without update, still its working fine...
when I create XML_Schema, DataSet by XML Codes, and I can access that DataSet in reports dataset tab... earlier it has worked for me...
Now its giving this error, while I try to access that from Report Data Menu,DataSet Tab...
And therefore I get confused for the above problem....Any right directions for me...
Thanks again...
modified 7-Jun-12 6:15am.
|
|
|
|
|
I just read on stackoverflow[^] that it is probably possible to use C++ CX in normal desktop app (NOT a WinRT app).
(To replace Managed C++ / C++ CLI, with better performance and simplicity)
I wonder, is there any article / blog describing the process? and some fun application of it??
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Hi,
i cannot figure out if static typing and strong typing are the same thing.
Please advise.
Thanks
|
|
|
|
|
They are pretty much the same to a degree.
""Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I can only hope that answers the question to some degree, although I might not be quite sure.
|
|
|
|
|
I know, I was pretty vague
""Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
elelont2 wrote: Please advise.
Use Google[^].
|
|
|
|
|
I have been using google, thats why its vague to me.
|
|
|
|
|
The first link in the Google page I found for you gives quite a clear definition.
|
|
|
|
|
Hello All
I am using this code to calculate Image Integral
This code is working properly.
(I am working under Ubuntu with code::block)
but I want to change this, for calculate Image integral in parallel.
can you help me ?
///////////////////////////////////////////
// name : IntegralImage.c
// programme squentiel
// for display with opencv
///////////////////////////////////////////
#include <stdlib.h>
#include <stdio.h>
#include "opencv/highgui.h"
#define IMAGE_WIDTH 384
#define IMAGE_HEIGHT 286
#define S (IMAGE_WIDTH/8)
#define T (0.15f)
void adaptiveThreshold(unsigned char* input, unsigned char* bin)
{
unsigned long* integralImg = 0;
int i, j;
long sum=0;
int count=0;
int index;
int x1, y1, x2, y2;
int s2 = S/2;
// ============ integral image ================
integralImg = (unsigned long*)malloc(IMAGE_WIDTH*IMAGE_HEIGHT*sizeof(unsigned long*));
for (i=0; i<image_width; i++)
="" {
="" =="====reset" this="" column="" sum="====
" for="" (j="0;" j<image_height;="" j++)
="" index="j*IMAGE_WIDTH+i;
" +="input[index];
" if="" (i="=0)
" integralimg[index]="sum;
" else
="" sum;
="" }
="" }
="" thresholding="===============
" i<image_width;="" seting="" region="" sxs="==========
" x1="i-s2;" x2="i+s2;
" y1="j-s2;" y2="j+s2;
" ckeck="" border="=========
" (x1="" <="" 0)="" (x2="">= IMAGE_WIDTH) x2 = IMAGE_WIDTH-1;
if (y1 < 0) y1 = 0;
if (y2 >= IMAGE_HEIGHT) y2 = IMAGE_HEIGHT-1;
count = (x2-x1)*(y2-y1);
// ===== I(x,y)=s(x2,y2)-s(x1,y2)-s(x2,y1)+s(x1,x1) ===
sum = integralImg[y2*IMAGE_WIDTH+x2] -
integralImg[y1*IMAGE_WIDTH+x2] -
integralImg[y2*IMAGE_WIDTH+x1] +
integralImg[y1*IMAGE_WIDTH+x1];
if ((long)(input[index]*count) < (long)(sum*(1.0-T)))
bin[index] = 0;
else
bin[index] = 255;
}
}
free (integralImg);
}
//////...test avec opencv...
int main (int argc, char** argv)
{
IplImage* cvFrame;
IplImage* binImg;
int key;
cvFrame = cvLoadImage("b.bmp", -1);
binImg = cvCreateImage(cvSize(IMAGE_WIDTH, IMAGE_HEIGHT), 8, 1);
cvNamedWindow("Input", 1);
cvNamedWindow("Output", 1);
adaptiveThreshold((unsigned char*)cvFrame->imageData, (unsigned char*)binImg->imageData);
cvShowImage("Input", cvFrame);
cvShowImage("Output", binImg);
key = cvWaitKey(0);
return 0;
}
|
|
|
|
|
Hi,
heading says it all, how could i find out the total length of the string in the ##__VA_ARGS__
Thanks
|
|
|
|
|
elelont2 wrote: heading says it all, how could i find out the total length of the string in the ##__VA_ARGS__
Subject says "elements". Your statement says "string".
For a string you use null termination or the string length property (depending on what you mean by string.)
In standard C++ if you want to know a count of arguments passed then you need to provide a mechanism for doing that yourself. Just like if your printf format string doesn't match the args passed then it will go off the end. Thus the format string implicitly defines the count.
Not sure but in Managed C++ it might be an actual array so you should be able to get to the Length property.
|
|
|
|
|
I'm a student.I want to use a calendar in my application. It may looks like iCal of MacOsX. Can someone give me the dll? thanks~
|
|
|
|
|
where the mother is the original source code, or the full source code ....
|
|
|
|
|
how to convert a managed object referance into void pointer?
|
|
|
|
|
|
Hi,
Can anyone please help me fix the issue of video display hanging on Windows? The issue occurs after both manual and automatic locking of Windows. When I unlock, the video display hangs, but sound is heard and video packets are sent and recieved properly(confirmed from wireshark)
Code works completely fine on Linux.
Thanks in advance,
Faez
|
|
|
|
|
... of this question[^]. Please post in one forum only, particularly as you have not explained what this has to do with C++/CLI.
Programming is work, it isn't finger painting. Luc Pattyn
|
|
|
|
|
|
Sorry, there's just not enough to work with here. We cannot even formulate a guess without seeing some code. Are you able to repro the problem in a very small test application?
|
|
|
|
|
Faez Shingeri wrote: an anyone please help me fix the issue of video display hanging on Windows?
A "video display" is a piece of hardware. It doesn't "hang". Applications on the other hand do.
Given that you are using C++ and windows and linux, it is obvious that you must explain in greater detail exactly what your application does and exactly how it does user input.
|
|
|
|
|
HI,
is it possible to find a pointer from a list of pointers?
I know i can do it with find_if and a predicate, but since pointers are just addresses it should probably be possible to search them as if they were integers, with "find" function.
|
|
|
|
|
You are correct, you can test pointers for equality so a simple compare will do the job.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
|
|
|
|
|
Hi !
You can browse from head to tail of list.
|
|
|
|
|
<code><code><code></code></code>
We have developed our project with the following technologies Visual
C#, Visual C++ and C Language. When we tried to execute our project in
client machine, It works only if the system has Visual C++ installed.
Otherwise it throws an Unhandled exception.The Visual C++ program
which we have developed is dependent on 4 native DLL such as
mscorlib.dll, microsoft visual c.dll, system.dll and data.dll. Visual
C++ project does not load the above mentioned assemblies during run
time.
So we kindly request you to provide some inputs on this to proceed further.</code>
|
|
|
|