|
how to use nmake on Command Prompt?
|
|
|
|
|
Thanks For everyone who did not try to help, i did it
|
|
|
|
|
What? You really wanted us to tell you to type "NMAKE /?" at a command prompt?
Are your fingers so broken that you couldn't type www.Google.com and look up your VERY generic question yourself?
Let me give you another version of your question and let you in on why you didn't get an answer... "How do I use a car?" Does any explanation less than 10 paragraphs come to mind?
BTW, Congratulations on figuring it out yourself! Around here, we try to get people to learn how to do their own research instead of having us spoon feed it to them. It's the SINGLE most important skill you can have writing code for a living...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thank you my brother , it is really best advice comes to me
|
|
|
|
|
I'm getting very often but not always some kind of error dialog when I quit my app in C# that uses some COM objects. Unfortunately I can't tell what it is because when it pops up the application closes in like 10th of a seccond and I can't see what's the dialog about. This is release build. Debug doesn't report anything in debugger on exit ever. I understand it's very vague but I still need help and hope someone here can help me. How to catch the error?
Thanks a lot for help in advance!
|
|
|
|
|
Does the error dialog look like a one from the framework, the COM objects or a custom one or none at all?
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
It looks like a runtime error dialog.
|
|
|
|
|
Can you provide a bit more background as to what the application does, e.g. what are the COM objects but more importantly what is being done when your application shuts down.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
I think I free all(!) the COM object using Marshal.ReleaseComObject. COM object do different things - one goes across winsock to a server the other loads msscript ctrl to execute some vbscripts.
What's strange is that I have try-catch-finally in my main function of program around all those three lines including application.run, bug now debugger (debugging release) reports an thet there's an exception InvalidComObjectException beeing raised after! that try-catch-ficnally block - so after everything is run.
|
|
|
|
|
So you've basically got:
static void Main(string[] args)
{
try
{
Application.Run(new MainForm());
Marshal.ReleaseComObject(msscript);
Marshal.ReleaseComObject(winsock);
}
catch (Exception e)
{
MessageBox.Show(e.ToString());
}
}
Am I right?
(One thing I just thought of, do you dispose the msscript or winsock first because if the msscript control is disposed of second then it might be trying to access the winsock control (if you allow this interaction)).
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
Hi,
I have such a problem: trying to animate gif with ImageAnimator, and it's displaying it much faster than gif is displayed in all other programs like browsers and ACDSee. Does anyone know why is it so and what can I do with all this?
Thanks,
Alex
|
|
|
|
|
Please list .NET Framework 1.1 and 2.0
|
|
|
|
|
google search results.
Please google first next time!
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
I maintain a very mature product (over ten years old) that was written in VC++ 6 (MFC). My team is in the process of giving the app a new look and feel. We decided to try to convert the project to .net to leverage the GUI elements; but had too many issues during this process and forfeit the idea.
This leads to my questions:
1.Could an application that is compiled under VC++ 6 use Win Forms, or VC++ 2003(or higher)Dialogs?
2.This is more of a secondary question to number 1). Could controls be written in C# or VC++ 2003(or higher)then the assembly or .dll be used by an application compiled in VC++ (MFC) 6?
3.If you answer yes to either question; is there any documentation?
Thank you ,
-e
P.S. My goals is to slowly move the application to the new platform. I am trying to make the application co-exist between VC ++ 6 (old code) and VC++ (maybe .net) 2003 or greater (new code). Since I don't have the option to compile the application greater than VC++ 6.
|
|
|
|
|
Hi,
I've loaded gif image into Image object. Could you please give me an advice how to change frame delas? As someone is interested, I get them as follows:
Dim PropertyTagFrameDelay As Integer = &H5100
Dim propItem As System.Drawing.Imaging.PropertyItem = img.GetPropertyItem(PropertyTagFrameDelay)
Dim bytes() As Byte = propItem.Value
Dim delays(frame_cnt) As Integer
Dim i As Integer
For i = 0 To frame_cnt - 1
delays(i) = BitConverter.ToInt32(bytes, i * 4)
Next
Thanks,
Alex
|
|
|
|
|
Wouldn't this work also inverse?
You could use BitConverter.GetBytes to fill a byte array with the delays, stuff them into propItem and then call img.SetPropertyItem.
|
|
|
|
|
Hi,
Thanks for answer. The point is that this don't work inverse, when I've tried to call SetPropertyItem for this property item with this id, it crashes...
|
|
|
|
|
Well then sorry. This was just the first idea that came to my mind.
What exactly means 'crashes'? Have you tried catching the exception and looking into the error message?
|
|
|
|
|
It throws System.ArgumentException with the message "Property not supported." How is written in MSDN it throws this exception if the image format does not support property items. Honestly I think it's a little bit stupid when I can get this property item, and can not set it...;)
And the another question I have is don't you know why ImageAnimator displays gis much faster than it is shown by all other programs, and don't yo know what to do with all this?
Thanks,
Alex
|
|
|
|
|
You are right - this sounds weired. Sorry I don't think I can help you on this
|
|
|
|
|
Hi,
Robert, thank you very much for your trying to help!! I've asked this question in several forums and you were the first who tried to help!
TonightI've found the solution, so let me share it with you
I've wrote my own animator, which uses timer and updates frames for gif images according to frame delays. It was very interesting to find out (I've got this information from one paper) that ImageAnimator for animation uses timer also with interval equal to 50 ms. I've played with my own control and have found that if I put 100ms for timer interval, it plays exactly the same way as browsers do!! This inspiration has came to me at about 3AM tonight It seems that team which has developed browser has used 100ms for their animation and team which has developed .NET framework and ImageAnimator in particular has used 50ms for it...
That's it, now you also know what was the problem and how to manage it.
Best Regards,
Alex
|
|
|
|
|
Thanks for the infos. One never knows when it might be useful.
This still seems weird. I think someone doesn't apply to "the standard" and I think it's the .Net framework.
|
|
|
|
|
i want to know will the insatll shield 10.5 supports dotnet frame work 2.0?
Rajanikanth A.B
|
|
|
|
|
hey can anyone brief meabout the differences between COM and .Net.
also the advantages/disadvantages of the two over each other
Thanks
|
|
|
|
|
COM is Proprietrary standard and sticks to Windows OS only.Where as .net is Paltform independent
COM doesn't support inheritance
COM has disadvantages of DLL hell
.Net support XML completley
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|