|
Hi
I am getting the following when i compile my application.
SVDOFileDownLoad error LNK2019: unresolved external symbol "int __cdecl gOpenFile(char *)" (?gOpenFile@@YAHPAD@Z) referenced in function "private: bool __thiscall CVDOLanguageProvider::UseLanguageFile(char const *)" (?UseLanguageFile@CVDOLanguageProvider@@AAE_NPBD@Z)
The function gOpenFile() is being defined in another project file which has been included in the current project.Yet i am getting the error.Please help
|
|
|
|
|
link the correct .lib file in your linker options...
|
|
|
|
|
meg22 wrote: The function gOpenFile() is being defined in another project file which has been included in the current project
You included the header file which contains the function. But did you also add the cpp file in your project ?
That's probably where to problem is.
|
|
|
|
|
In "Project Propertise", Under "C++", Under "Additional Include" try to give the path of the folder that contains the file that contains gOpenFile().
|
|
|
|
|
Nope, that won't change anything: it is a linker error, not a compilation error. That means that the function is known (the header file can be found) but is not defined (either the cpp has not been included in the project or the project doesn't link against the required library).
|
|
|
|
|
the OP said that his function is defined in another project (so, i suppose a library project maybe...)
|
|
|
|
|
toxcct wrote: the OP said that his function is defined in another project
He said that the function is defined in another project file . I understand it as it is in another file but in the same project. But anyway, he has now both solutions
|
|
|
|
|
hi, how can i achieve similar behavior as Panel control does in managed c++? user can drag the border (or near the border) of a tree control to resize it
thanks!
|
|
|
|
|
This is regular windows, not forms, right?
You can add the WS_THICKFRAME style to the tree control and it will be resizable.
You can also respond to the WM_SIZE notification in the tree control's parent
window, and in response, use MoveWindow() to resize and/or reposition the tree control.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
i can't understand this:
#define IOC_VENDOR 0x18000000
where,
what's 0x18000000?
anyone can help me?
thanks a lot.
|
|
|
|
|
|
But i need to understand what it means.
|
|
|
|
|
it mean that you define the macro IOC_VENDOR which will value 0x18000000.
a #define macro replace every occurence of IOC_VENDOR in the source code before the real compilation time (this is called a preprocessor directive obviously) by the value associated...
that means, in your code, you use explicit IOC_VENDOR, but the compiler will handle actually 0x18000000 (which is the hexadecimal for 402653184).
|
|
|
|
|
|
Hi,
How to add multiple colors in progress control.
|
|
|
|
|
See here[^]
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Actually i want to fill four different colors in progress control each occupying 25% of the total space.Based on certain conditions the colors should be displayed.Is there any idea.
|
|
|
|
|
Did you bother to click on the link I provided you with? Hasn't the author done the same thing in that article?
|
|
|
|
|
Hi
all's
I am making an application in VC++ and my requirment is
to upload CV in database (Its would work like file in HTML)
can any one please told me about this
Thanking You
|
|
|
|
|
Can you use FTP?
CFtpConnection manages the FTP connection to directly manipulate the files on the server.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi to all,
I want to design code in C++ that will transfer (Generated) Data on particular Bitrate (say 3 Kbits/sec) & repeat the (Generated) Data within a particular period (say 2 sec.s) < i.e to Transfer Data reapeating leass than 2 seconds with Bitrate of 3 Kbits/sec).
Can anyone help me for this,
or can anyone suggest me a algorithm/code to transfer data at particular rate?
I tried it using 'MachineCycle', but as I am using it in loop, it takes lost of processing due to lack of 'Sleep()' command for less than 1 second.
|
|
|
|
|
Maybe you have to use a Multimedia Timer . A nice article about is here [^] (I know, is for .NET , but Multimedia Timer is also available using standard API).
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.
|
|
|
|
|
how to read and write files in flash memory of usb flash drive using mfc? anyone who knows please help me
|
|
|
|
|
What is so special about writing a file into usb? Can't you simply use CFile?
|
|
|
|
|
see its my task to read all the files from usb and display it
|
|
|
|