.NET provides EventLog class that be able to write application event information to a particular log on the system. Is there simliar Win32 API that can be called with C++?
Duplicate:
Protecting .NET Code from Reverse Engineering
We've recently released a small application and this weekend I found a cracked version of it on Piratebay that had the registration checking removed, so the app ran as if it was a registered version.
Apart from using a code obfuscation tool (which doesn't seem to be that hard to get around), are there any standard things we should be doing to make our .NET applications more difficult to crack?
Hi,
I have an application that sometimes causes an access violation on exit. This is quite unpredictable and all attempts to locate the bug have been unsuccesful so far. The bug is harmless, as no data is lost, so I was thinking if it might be possible to just hide it.
Is it possible to have another app launch the buggy one and catch the Access Violation exception if it occurs? If yes, how?
Thanks in advance!
Looking for ideas on how to detect when our Windows application is running in one of the following VM environments. Some starter ideas for detection are in parentheses. There may be (much) better detection techniques - the starter ideas I've come up with are based on my Google research.
VMWare (looking for the presence of optional VMware Tools is one way)
Microsoft Virtual PC (have a device named "Virtual HD" for their IDE disks, "MS Virtual SCSI Disk Device" for their SCSI disks)
Citrix Xen
Sun Virtual Box
Thank you,
Malcolm
In what concrete web project(s), specifically what part of the web-application/website, that you have worked on, has dependency injection proven to be a good choice. Can you give concrete examples where you actually substituted one component for another with DI during the life span of the project, excluding cases for mock/unit testing?
Let's say that I have an application frame, and I want to show a popup QCalendarWidget over on the right side of the frame. Normally, QT will clip the edges of the QCalendarWidget, cutting it in half and not displaying the rest, as it would be over the right side border.
Is there a way to work around this limitation without resorting to implementing a QDialog?
I want the widget to be visible outside the bounds of it's container.
I am trying to get logging via the application.ini file going and I am getting stuck with an error.
resources.log.db.writerName = "Db"
resources.log.db.writerParams.db.adapter = "PDO_SQLITE"
resources.log.db.writerParams.db.dbname = ROOT "/data/tmp.db3"
resources.log.db.writerParams.db.table = "logs"
resources.log.db.writerParams.db.columnMap.priority = "priority"
resources.log.db.writerParams.db.columnMap.message = "message"
Fatal error: Call to a member function insert() on a non-object in /var/www/libs/zend/library/Zend/Log/Writer/Db.php on line 137
Hi all
I am using MPMoviePlayerController in Ipad application. Video is not showing but audio comes, same code working well for Iphone
NSBundle *bundle = [NSBundle mainBundle];
NSString *moviePath = [bundle pathForResource:@"video" ofType:@"mp4"];
movieURL = [NSURL fileURLWithPath:moviePath];
MPMoviePlayerController *IntroMovie = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
[IntroMovie play];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(moviePlaybackDidFinish:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:nil];
Please suggest me
Thanks
Miraaj
hi
i want to create simple pdf reader application for ipad.
but did not find the proper documentation or sample code. please guide me from where i should start.
Thanks
Miraaj
Hi,
I want to put some text on my UI, I am drawing the text in paint event of a widget using painter..
Here is the sample code, which shows how I am drawing the text..
QWidget::paintEvent(painter);
QPainter paint(this);
paint.drawText(QPoint(10,30),"Duplex");
but, the text color is looks like the default theme color, how to set the application font color to the text in paint event..
Thanks
Hi,
I would like to know how I would go about altering the HTML that is displayed by my VB.net application using GeckoFX. What I would like to do restrict certain words/names/attributes from showing in the browser.
Any info/links would be greatly appreciated.
Thanks!
Has anyone had any luck integrating Twitpic's new OAuth Echo authentication into their iPhone application? This seemed to be a simple task but it's not getting done. I keep getting 400 or 401 errors.
This is also being discussed here:
OAuth Echo problems
p.s. I'm using Ben Gottlieb's Twitter-OAuth library.
My company uses Vertica. We have Python applications that connect to it with pyodbc. I do most of my development on a Mac (Snow Leopard) and unfortunately Vertica has not released ODBC drivers for Mac. They do have JDBC drivers though. I don't think developing in Jython is a good compromise. Is there any way to use JDBC drivers with an ODBC application? Some kind of ODBC connector?
Hi Experts,
I am implementing the Ecommerce projects, where I need to static SessionID, is there any way to maintain the SessionID in the Entire Application.Explanation of my question is here
http://stackoverflow.com/questions/2467644/session-sessionid-in-asp-net
but How can I implement this approach.
I am new to Silverlight development. I have created a nice png file in Expression Design. I would like to use this png file as the background for my application. When I set the Stretch property to fill, it does not fill the entire page like I think it should.
Here's the xaml:
<Grid x:Name="LayoutRoot">
<Grid.Background>
<ImageBrush ImageSource="IgniteTechDesign.png"/>
</Grid.Background>
<Border x:Name="ContentBorder">
<navigation:Frame x:Name="ContentFrame" Style="{StaticResource ContentFrameStyle}"
Source="/Home" Navigated="ContentFrame_Navigated" NavigationFailed="ContentFrame_NavigationFailed">
<navigation:Frame.UriMapper>
<uriMapper:UriMapper>
<uriMapper:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>
<uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>
</uriMapper:UriMapper>
</navigation:Frame.UriMapper>
</navigation:Frame>
</Border>
<Grid x:Name="NavigationGrid" Style="{StaticResource NavigationGridStyle}">
<Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}">
<StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
<ContentControl Style="{StaticResource LogoIcon}"/>
<TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}"
Text="Application Name"/>
</StackPanel>
</Border>
<Border x:Name="LinksBorder" Style="{StaticResource LinksBorderStyle}">
<StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}">
<HyperlinkButton x:Name="Link1" Style="{StaticResource LinkStyle}"
NavigateUri="/Home" TargetName="ContentFrame" Content="home"/>
<Rectangle x:Name="Divider1" Style="{StaticResource DividerStyle}"/>
<HyperlinkButton x:Name="Link2" Style="{StaticResource LinkStyle}"
NavigateUri="/About" TargetName="ContentFrame" Content="about"/>
</StackPanel>
</Border>
</Grid>
</Grid>
Thanks in advance.
I am still trying to figure out the right architecture for a complex ASP.NET MVC web application.
I looked in a lot of example code and everywhere it's done differently.
I would really appreciate your thoughts on this.
Another Question: Would you use Linq to SQL or the Entity Framework?
Thanks,
-Ben
Hi guys - I'm using Netbeans IDE for developing the web applications and I've some JARs available in the application server which doesn't need to be with WAR but we needed them to compile and run locally. Is there an option in Netbeans to exclude the JAR file while building the WAR file?
Thanks
Santhosh
What are common or recommended ways to organize an application written in a functional language?
Along what lines would you decide to create separate files, modules, directories, etc.?
Hi all,
I am tried deploying .cod,.alx.jar files on blackberry simulator 8100;the application is not getting deployed on phone.I am using Blackberry plugin for Eclipse.
How can I solve this issue?
Please help
Hi,
I'm still not clear on how and when to use interface builder. I have a tabbar-based application, in which I added 6 navigations controllers. Instead of having 6 tabs, I would like 3 plus a "More" tab which allows the user to configure the tabs he wants.
Is there any way to do that with IB ? And if not, how can I move from IB to a code-based tabbar (provided I already set up a class TabBarController which handles shouldAutoRotate:)
Thanks in advance !
Does application virtualization mean virtualizing only stand-alone desktop applications and executables? Or does it also cover virtualizing webapps and web servers? Can Citrix's XenApp and VMware's ThinApp virtualize web applications and web servers?
i use splitview controller in my ipad application,it works ok,but sometimes when i change interface from landscape to potrait it disappear bar button and popovercontroller from the toolbar.
plz answer if anyone know about this problem.
I have a WPF Application using Fluent NHibernate 1.0 RTM and System.Data.SQLite 1.0.65 that works fine in .Net 3.5. When I try to upgrade it to .Net 4.0 everything compiles but I get a runtime error where the innermost exception is this:
`The IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found.`
The only change made to the project was switching the Target Framework to 4.0.
Is there a sample C# winform application (a starter kit or something ) which use the Northwind 2007 Acess Database version ?
some concept like http://northwind.codeplex.com/ ?