|
Did you only add it to the debug configuration? If so make sure it is in the release configuration as well.
Elaine
The tigress is here
|
|
|
|
|
Thank you.
But in release mode it use *.lib, not *.dll.
So I donn't need to add in release configuration.
|
|
|
|
|
The NULL Developer wrote:
add the dll file to your solution/project; just like u add cpp/h files.
How can you add DLL to a Project ? ..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Project->Add to Porject->Files, in the dialog box, set filetype to "Executable files", choose your dll, it is added to the Project.
~RaGE();
|
|
|
|
|
Rage wrote:
Project->Add to Porject->Files, in the dialog box, set filetype to "Executable files", choose your dll, it is added to the Project.
Now how to use that dll with project?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Rage wrote:
Project->Add to Porject->Files, in the dialog box
Then How to use that DLL in your Project?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
What you say is in vc6, How about in vc7? Perhaps it's the following:
1.select "Project"->"Project Dependencies" ?
But here couldn't "add" only can select modules.
|
|
|
|
|
I am currently debugging a program that stores large amounts of data. Every 15 minutes 1000 pieces of data are calculated and written to a text file. This file is now 250 MB and getting very difficult to deal with. It crashes when opening, things crash when it is loaded, etc. Overall it was not written well.
My job is to fix it, but I am not sure where to start. My coworkers have suggested splitting the file up so that every month a new file is generated, and only the last years worth of files are loaded, unless the user needs more.
Another suggestion was using a binary file instead of text.
Another suggestion was to convert the text file to a database. Someone thought that Access might not be able to handle a record with 1000 pieces of data.
I have a lot of research to do, but I thought that this might help me in the right direction!! Any ideas you have would be greatly appreciated.
Jennifer
|
|
|
|
|
If you choose to use a binary file (recommended, imho) you may want to see this[^] series of articles.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
Well, if you dont want to read the whole file, you dont need to load the whole file.
That is, when first loading the file, load text from the file that fills only one page of your textbox, when the user moves the scroll bars of the textbox, you should determine where to go in the text file, load text that lie in that position and display it to the user.
The user does not care whether the whole text file is loaded or not, but when loading the text from the file only-as-needed, you can gain a very good performance instead of loading the whole text file.
You can load a 2GB text file in milliseconds with little memory usage, little cpu processing, and (almost) no disk load.
Regards,
Mohammad Gdeisat
أعلنت إستسلام قلبي لرحيلك..دعه يودع خطوات سيرك..فقط إجعل قلبك يحتضن حروفي ويشعرها بدفئه
فقد مللت كل لحظا تي بدونك....فمابقي لي إلا أن أثني على قسوتك....
فليتك تعلم كم أنهكتني...وكم أحرقتني...وكم جعلت مني وطنا بلا معالم.
فـــدعنــي أبـــكي على شواطئ دفئك...قاتلي
|
|
|
|
|
Mohammad A Gdeisat wrote:
أعلنت إستسلام قلبي لرحيلك..دعه يودع خطوات سيرك..فقط إجعل قلبك يحتضن حروفي ويشعرها بدفئه
فقد مللت كل لحظا تي بدونك....فمابقي لي إلا أن أثني على قسوتك....
فليتك تعلم كم أنهكتني...وكم أحرقتني...وكم جعلت مني وطنا بلا معالم.
فـــدعنــي أبـــكي على شواطئ دفئك...قاتلي
Could you please translate that in english...
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
I am sorry, my signature is in arabic, and it has nothing with the answer, I hope that my answer to the post was submitted correctly, here what I wrote:
Well, if you dont want to read the whole file, you dont need to load the whole file.
That is, when first loading the file, load text from the file that fills only one page of your textbox, when the user moves the scroll bars of the textbox, you should determine where to go in the text file, load text that lie in that position and display it to the user.
The user does not care whether the whole text file is loaded or not, but when loading the text from the file only-as-needed, you can gain a very good performance instead of loading the whole text file.
You can load a 2GB text file in milliseconds with little memory usage, little cpu processing, and (almost) no disk load.
Regards,
Mohammad Gdeisat
|
|
|
|
|
Mohammad A Gdeisat wrote: my signature is in arabic, and it has nothing with the answer
ohh you taking me wrong.. I just want to know what exactly your signature meant.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
This is the translation of the signature:
"My heart has surrendered for your leaving... let it say goodbye for your steps... just let your heart take my words and feel its warmness... because I've bored all my moments without you... there is nothing left except to praise your cruelty.
I wish you know, how much you've to exhausted and burnt me, and how much you made me a building without a basis... so let me cry on the shores of your warmness...my killer"
Its some kind of romantic sayings in arabic, to express feelings of a loving person... maybe my translation did not give the whole meaning, but it gives the idea.
Even programmers can fall in love!
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
thats nice
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Jenleonard wrote: Another suggestion was to convert the text file to a database. Someone thought that Access might not be able to handle a record with 1000 pieces of data.
As memory serves Access is good till about a gig in physical size. I have a few hundred thousand entries in an access database, and it runs without a problem. It all depends on the design. Using access to start out with gives you a good reference point to scale it to a SQL server.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
I'm trying to show a bitmap image (blended) over a background video using VMR9, this works fine...
Except...
If the video resolution is lower than the destination window resolution, the overlayed bitmap is also rendered at that reduced resolution...
It seems the 'composition rectangle' resolution is restricted to the incoming video resolution, and the bitmap is getting scaled down...
Is it possible to fix the resolution of the composition rectangle to be 1-1 with the window?
(in case the problem isn't clear, the nice 800x600 bitmap is getting scaled down to 200x150 (the video resolution), overlayed, then scaled back up to 800x600 (the output window resolution)).
I know it is possible for the composition window to be a higher resolution than the video as if you have multiple video inputs, the bigger one seems to set the resolution, but I can't see how to set it manually...
Thanks...
Simon.
|
|
|
|
|
Hi ,
I have developed one dll and it is working fine in debug build however it is giving me following below error in ReleaseUMinSize build. Can you help me to resolved this issue.
Linking...
Creating library ReleaseUMinSize/PLUManager.lib and object ReleaseUMinSize/PLUManager.exp
LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseUMinSize/PLUManager.dll : fatal error LNK1120: 1 unresolved externals
Thank
|
|
|
|
|
You have 2 choices. You can either undefine ATL_MIN_CRT(which will make your dll about 30kb larger), or find the CRT functions being used and replace them with Win32 equivalents.
|
|
|
|
|
The problem seems familiar to me...
Compare your project settings for debug and release. I'm convinced that you will find differences.
|
|
|
|
|
hi, all
I am trying to understand why the app crashes, lots of time it bring up the Disassembly and it's totally just out of my lead....could anybody share some good assembly language links, I just need to understand the basic assembly commends...thank you for your time
|
|
|
|
|
valerie99 wrote:
could anybody share some good assembly language links, I just need to understand the basic assembly commend
Hope this Work :-
http://win32assembly.online.fr[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
in VC.net, I have a windows application( say project A) "call" another application ( say project B) using CreateProcess(....) approach to run a exe file generated in project B. A is startup project. It's OK to set breakpoint in the files of project A. but it's not OK to set breakpoint in file of project B. I know is project B generate DLL, then it's fine to set breakpoint in file of Project B. Is there anyone have this experience?
|
|
|
|
|
The VS Debugger must "attach" to a process to debug it (hit breakpoints, etc.). Since Project B is launched via CreateProcess() and NOT from the debugger, so the debugger has no association be Project B and the executeable created with CreateProcess().
What you need to do is set a breakpoint right after CreateProcess(). Then, in another instance of VS, open the solution file, and goto "Debug"->"Processes". Select the recently launched executable and click "Attach".
|
|
|
|
|
HI Friends
Iam making a VC++ dialog based application with a Edit box and Run
Button. In the dialog class called TestDlg.cpp, there is a function
called OnMessage(), it is implemented as,
void OnMessage()
{
MessageBox("Hello World");
}
Now iam gonna type in the Edit box,
set a [OnMessage] and click Run Button in GUI
Now the TCL interpreter should be able to find the command OnMessage
and call back the void OnMessage function in TestDlg.cpp in GUI. And popup
the message box.
Is it possible to do something like this? Can anyone please tell me how
to do this?
Thanks in Advance
Don
|
|
|
|