|
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
|
|
|
|
|
I am not sure, but i think its possible using MACROS, search the internet for advanced macros and I think its really possible
Regards,
Mohammad Gdeisat
أعلنت إستسلام قلبي لرحيلك..دعه يودع خطوات سيرك..فقط إجعل قلبك يحتضن حروفي ويشعرها بدفئه..دعني أرسم ألوان طيف حلمي وحلمك..دعني أُقبل جبين قلبك..وأهديك عالمي بأسره
فقد مللت كل لحظا تي بدونك....فمابقي لي إلا أن أثني على قسوتك....
فليتك تعلم كم أنهكتني...وكم أحرقتني...وكم جعلت مني وطنا بلا معالم.
فـــدعنــي أبـــكي على شواطئ دفئك...قاتلي
|
|
|
|
|
I hope someone can help me with this one.
I created a DLL to be used by one of my programs. Here is the code I use to load the DLL:
HINSTANCE hDLL;<br />
int iReturnVal;<br />
MYDLL dll;<br />
<br />
hDLL = LoadLibrary("MYDLL.DLL");<br />
<br />
if (hDLL != NULL)<br />
{<br />
}<br />
else<br />
{<br />
iReturnVal = MessageBox("Missing DLL: MYDLL.DLL","ERROR",MB_OK);<br />
}<br />
When I run my program in the development workstation (where Visual Studio is loaded), it executes without a problem.
I moved the executable and the dll to a different testing PC (along with msvcr70.dll and mfc70.dll, needed becuase that PC didn't have them).
I put the executable and the three dll's (the MS ones and my own) in the same directory. I can start my application but when I try to use the section that executes the code above, I get the "Missing DLL: MYDLL.DLL" message.
Any ideas?
Am I missing something?
|
|
|
|
|
if the DLL isn't in one of the folders in your PATH (environment variable), the OS can't load it.
try putting the DLL in your main Windows (WINNT, Windows, whatver) folder.
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
Thanks Chris,
But the DLL is not in one of the folders of my path in the development PC. How can it work there just by putting it in the same directory as the executable but not work in the other PC?
|
|
|
|
|
|
|
Thanks,
I found the missing DLL
|
|
|
|
|
Windows documentation CLAIMS that the folder from which the parent process was loaded will also be searched. With the DLL in the same folder as the EXE it should have worked. What is more likely is that some OTHER DLL that MyDLL depends upon is missing.
|
|
|
|
|
hi,
i am working in win32 application using MFC.
actually i have to draw moving concentric circles i.e dynamically 10 circles , one above another should open like a flower and close it, and this should continue until i stop it. whichever position i stop it , in that stage it should show.
e.g,
when i click my mouse on client area of window. concentric circles should be generated in a moving fashion , not at the same time all circles should be displayed. up on reaching 10th circle automatically it should decrease in the same moving fashion. this process should be continued until i reclick my mouse on the client area.
thanku for ur patience in reading,
could u provide me any suggestions
thanks
|
|
|
|
|
You can use CDC::Ellipse[^] to draw circles.
As for drawing concentric circles, you need to use a timer[^] to progressively draw smaller/larger circles. On each tick of the timer, check if you are expanding or collapsing, then use the appropriate radius for the circle and draw it.
You also need to check if the mouse has been clicked between two ticks of the timer and if so, prevent further drawing.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
I've tried looking up this error elsewhere with no luck. Here is what im doing to cause the error. First creating a pointer to a byte(or char, whatever) of data:
char* data = (char*)malloc(sizeof(char));
memset( data, 0, sizeof(char) );
Then read in a char from a open file:
file.Read( data, sizeof(char) );
Then check for either '\t' or '\n'... All variables have been declared as follows
bool out;
CString str;
CFile file; // this has been opened properly, and ready for reading.
UINT32 tmp;
byteSwap bs; // All this does is change a UINT32 to a float, and vice versa.
do
{
out = false;
str.Empty();
do
{
file.Read( data, sizeof(char) );
if( *data == '\t' )
{
tmp = (UINT32)atoi( str.GetBuffer() );
bs.i = tmp;
msg.icd.gimary.points[i][0] = bs.f;
str.Empty();
} else if ( *data == '\n' ){
tmp = (UINT32)atoi( str.GetBuffer() );
bs.i = tmp;
msg.icd.gimary.points[i][1] = bs.f;
out = true;
} else {
char ch = data[0];
str.AppendChar(ch); // Error here
}
}
while( !out );
i++;
}
while( i < msg.icd.gimary.numPoints );
After a large portion of the file has been read, i get an error in dbgheap.c @ line:612, which is a _CrtCheckMemory() failure... Any ideas on how this is caused? If you need more info, just post. I'll reply within 5 mins or so. Thanks in advance!
|
|
|
|
|
Jader89 wrote: char* data = (char*)malloc(sizeof(char));
memset( data, 0, sizeof(char) );
Then read in a char from a open file:
file.Read( data, sizeof(char) );
This is pointless. Why are you bothering the memory manager for something so trivial?
char data;
file.Read(&data, sizeof(char));
Jader89 wrote: tmp = (UINT32)atoi( str.GetBuffer() );
Unless you have plans on modifying str , the call to GetBuffer() is not necessary.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
yes your right, ive been changing it around alot trying to solve this error, and wasnt paying attention to that aspect. Its changed now, but this doesnt help the fact that this error is caused by the AppendChar() which calls a ReAllocate method, and after the 1024, (default) time through, it calls the _crtCheckMemory() and fails, I've even tried doing it after 16 times through by changing a crt flag, still fails... My problem is that i dont see why this check is failure, and why my heap is losing integrety.
|
|
|
|