|
Looks interesting. I think I'll go have a gander at it
Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
|
|
|
|
|
What's the best way to deploy MDAC and DCOM modules with my setup.msi?
I want them to be automatically installed if necessary.
Is there any installer which does it for me?
Don't forget, that's " Persian Gulf " not Arabian gulf!
|
|
|
|
|
Use the merge modules provided with your setup authoring package. If you're using a free tool to make your MSI, you may try to download the merge module from www.installshield.com or www.wisesolutions.com - I don't think that they hold any copyright on them.
Finally, I don't think that you need to deploy DCOM on anything after Windows 95.
|
|
|
|
|
|
Hi All,
I am trying to write a screensaver in C# with a maximised form. I have noticed when running the rhs and bottom edges have a few pixels missing i.e. they show the window behind. Any ideas?
Davy
My Personal Blog - Homepage. Scottish News - Angus Blog, Perth Blog and Dundee Blog
|
|
|
|
|
|
|
Great, just thought you might want to see what others had done for C#-based screensavers.
-Nick Parker
|
|
|
|
|
Yep, have download them too thanks!! Mine will be more text based as it is displaying RSS/RDF feeds but they are great references.
Thanks for the help!
Davy
My Personal Blog - Homepage. Scottish News - Angus Blog, Perth Blog and Dundee Blog
|
|
|
|
|
Can MC++ produce normal CLI programs. The same platform
independant programs that C# produces?
I have done a small MC++ console program but first it
becomes huge compared to a C# program (the first was
100kb, and the second below 8kb) and while the first
seems to be only Win32 compatible the second one runs on
mono.
My question is can I use Managed C++ to do the same things
I can do with C#? I have some pretty complex algorithms
written in C++ and I want to use them in my .NET programs
but I'd prefer not to port them to C# if possible.
|
|
|
|
|
|
But also keep in mind that MC++ is not verifiable (even in non-mixed mode), and is not garaunteed to run on non-Win32 platforms as leppie is referring. This also means that the code can't be verified by the CLR and many .NET security features are circumvented.
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
|
thanks
now I am confused... but why the MC++ code is so much bigger than the one created by C#? what I did is a small console application in C#, VB.NET JScript.NET and C++ to compare what are the differences between them when compiled. The MC++ assembly looked like a mixed .exe (native and MSIL).
Is there something special that I might miss?
|
|
|
|
|
Zibar wrote:
The MC++ assembly looked like a mixed .exe (native and MSIL).
Probably. Make sure all the files are compiled with the clr flag. Also make sure you are using multi threaded (this mite be the problem, with the entrypoint causing it to link unmanaged libs). Try compile a dll assembly rather and check again.
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
I am using the Managed Project option and I do not change anything.
|
|
|
|
|
this size thing you are saying did you check with the debug/release modes.
Kannan
|
|
|
|
|
release 60kb
debug over 100kb
and the program won't work on MONO although it is nothing more than a few
Console::WriteLn();
|
|
|
|
|
I would like to know where I can find implementations (if at all) of inter-process (real inter-process - between different processes) synchronization mechanisms besides System.Threading.Mutex (when using named mutex).
Especially, are there any implementations of ReaderWriterLock?
Of course, one can try to implement by himself such things using named mutexes, but though it seems simple, nothing is simple when it comes to multi-threading synchronization...
Thank you.
|
|
|
|
|
|
leppie wrote:
Is it possible for an Attribute derived class to discover or reflect the class/member it has been applied to?
Here is a shot in the dark, but I would think your Attribute class would need to implement the ICustomAttributeProvider and IReflect interfaces.
-Nick Parker
|
|
|
|
|
Nick Parker wrote:
Here is a shot in the dark, but I would think your Attribute class would need to implement the ICustomAttributeProvider and IReflect interfaces.
Im not sure what you mean??
To be more specific, the Attribite need to find the Type (not instance) the Attribute is applied to. I could do some resolving but I rather not.
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
I have a parent form and create a form on it that which it is its child and I want it be always open onn my top of parent form. The problem is when this dialog open it always behind the controls on the parent form not in front of them. How can I solve it?
Mazy
No sig. available now.
window.open=NS_ActualOpen;
orig_onload = window.onload;
orig_onunload = window.onunload;
window.onload = noopen_load;
window.onunload = noopen_unload;
|
|
|
|
|
Is the form created before the other controls have been created? That would put them higher in the z-order.
If you are wanting a sub form on a dialog window, why not make it a user control and use that?
Rocky Moore <><
|
|
|
|
|
I create it in Form_Load.
Mazy
No sig. available now.
window.open=NS_ActualOpen;
orig_onload = window.onload;
orig_onunload = window.onunload;
window.onload = noopen_load;
window.onunload = noopen_unload;
|
|
|
|
|
Form_Load? You mean in the OnLoad event?
If you want the dialog to appear over the controls on the parent dialog (not sure why you would want this) you have to put it higher in the Z-Order. An easy method place to build your dialog and add it to the controls is in the Form's contructor just prior to InitalizeComponent. Yours will be the first control which means anything that is behind it is hidden.
Another method is to use the Controls.SetChildIndex to move you form in the ControlCollection up to the top of the list thus the top of the z-order for the controls.
Rocky Moore <><
|
|
|
|