|
launcher.obj : error LNK2001: unresolved external symbol "public: __thiscall tLgInteger<class std::vector<unsigned long,class std::allocator<unsigned long> >,unsigned __int64>::tLgInteger<class std::vector<unsigned long,class std::allocator<unsigned long> >,unsigned __int64>(unsigned long)" (??0?$tLgInteger@V?$vector@KV?$allocator@K@std@@@std@@_K@@QAE@K@Z)
hint_54
|
|
|
|
|
hint_54 wrote: launcher.obj : error LNK2001: unresolved external symbol "public: __thiscall tLgInteger<class std::vector<unsigned="" long,class="" std::allocator<unsigned="" long=""> >,unsigned __int64>::tLgInteger<class std::vector<unsigned="" long,class="" std::allocator<unsigned="" long=""> >,unsigned __int64>(unsigned long)" (??0?$tLgInteger@V?$vector@KV?$allocator@K@std@@@std@@_K@@QAE@K@Z)
huuuu
where is the question ?
|
|
|
|
|
No question just found that funny
hint_54
|
|
|
|
|
i may be missing something there, but, what's funny in this ?
|
|
|
|
|
This was the line that produced that error
tLgInteger<tVector, tOC>::tLgInteger( tElement nValue )
So it's just like CPallini said: "No more alcohol to the linker!"
hint_54
|
|
|
|
|
Yes, but tLgInteger is a template as is tVector . All these template parameters have to be encoded into the typename. Ignoring the long typename (it is of no consequence anyway) the error is simple: the constructor is declared but not defined.
Steve
|
|
|
|
|
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.
|
|
|
|
|
Interesting
Btw.. My 1 too.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
|
Mine?
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.
|
|
|
|
|
Hi, I'm having a problem using accelerators in VC++.
My accelerators (defined in the Accelerator Table in my resource file, loaded up using LoadAccelerators and run using TranslateAccelerator)) work fine in the main application window, but I can't seem to get them to work in the child windows of my application. If the focus is on the main window the accelerators will work, but once the focus falls into a child window, accelerators no longer function. I only need the accelerators to work in a single child window (a listbox, to be exact), and I don't need them in the main application window.
Thanks!
KR
|
|
|
|
|
okey dokey.
I have 2 classes:
class imageViewer{...};
class camData{...};
imageViewer has a function called funcA();
camData has a function called funcB();
I wanted to call funcA; in funcB();
i.e.:i've tried both:
<br />
#include "imageViewer.h"<br />
void camData::funcB()<br />
{<br />
..<br />
imageViewer::funcA();<br />
}<br />
I get this error:
error C2352: 'ImageViewer::showPicture' : illegal call of non-static member function
-AND-
<br />
#include "imageViewer.h"<br />
void camData::funcB()<br />
{<br />
..<br />
funcA();<br />
}<br />
I get this error:
error C3861: 'showPicture': identifier not found
could someone please tell me my idiotic mistake.....
thanks,
Kitty
Kitty5
|
|
|
|
|
Well, in order to call a function (non-static) from a class, you first need to have an instance of your class. So, doing something like that (suppose MyClass is a class that defines funcA):
MyClass A;<br />
A.funcA();
You cannot simply do
MyClass::funcA();
|
|
|
|
|
:Cedric,
thanks very much for your advice.
I knew it was something simple that I was missing...
thanks!
Kitty
Kitty5
|
|
|
|
|
kitty5 wrote: ..
imageViewer::funcA();
To make such call possible. finA() must be static function of class imageViewer .
|
|
|
|
|
What is the maximum number of entry points a Win32 dll can export? if no limitation, would too many entry points affect performance or cause any other issues?
Thanks in advance!
Mike
|
|
|
|
|
By entry points I assume you mean exported functions?
Ordinals are limited to WORD size (16-bit, unsigned) but I don't know if you can have an
unlimited number of exports by name.
Exporting by ordinal instead of name saves DLL size and linking to the DLL is faster. I suppose
the more functions that need to be linked to, the longer it will take to link.
I'm sure this helps very little
Mark
|
|
|
|
|
Hello!
I would like to capture video from a camera, but I just can't find information about it... I found some articles, but there are no explanations there...
Maybe anybody knows where can I find information about it?
Thanks in advance!
|
|
|
|
|
I depends on the equipment you're using. If you're using a USB camera then you're halfway there.
The two biggie webcam manufacturers provide SDKs for their cameras; but, one involves signing an NDA.
The other is freely available. (But, of course, I forget who at the moment.)
Other cameras (analog) would require digitizers, which, I imagine, would be rather expensive. Compound that with whether an SDK is available.
Then of course, IP camera's are a whole other beast.
|
|
|
|
|
What about DirectX? Does it give me any tools?
|
|
|
|
|
There's Video for Windows (VFW) if the device supports it.
In DirectX there's DirectShow (SDK is in the Platform SDK, not the DirectX SDK) which will work
with both legacy VFW drivers as well as WDM drivers.
Mark
|
|
|
|
|
DirectShow is probably the best way...
http://www.codeproject.com/audio/DXCapture.asp
|
|
|
|
|
Thanks a lot!
I will try it...
Have a nice day!
|
|
|
|
|
Hi,
I am trying to get some raw data into a directshow custom filter and then video compress it using a codec available on the computer. I was looking at the help which shows recompressing of avi, but I fail to understand the Moniker. It says that you have to call to BindToObject but if you let the user select one, how do you pass that into that call.
Once I have IBaseFilter I think I know what to do.
But if anyone has like a sample procedure showing this, that would be awesome.
thanks in advance.
|
|
|
|
|
If you have the moniker then something like this...
pFilter = NULL;
hr = pMoniker->BindToObject(0, 0, IID_IBaseFilter, (void**)&pFilter);
if (SUCCEEDED(hr))
{
...
}
|
|
|
|