mixed

Final managed exception handler in a mixed native/managed executable?

I have an MFC application compiled with /clr and I'm trying to implement a final handler for otherwise un-caught managed exceptions. For native exceptions, overriding CWinApp::ProcessWndProcException works. The two events suggested in Jeff's CodeProject article, Application.ThreadException and AppDomain.CurrentDomain.UnhandledException,...

Best Product to Obfuscate a Mixed .NET DLL

I have a .NET DLL and application. The DLL is written in C++/CLI and it's "mixed", i.e., partially managed code and partially native. I have two goals: 1. Obfuscate all the managed code so it can't be disassembled 2. Obfuscate the public methods/classes of the mixed DLL so no one can use the DLL in their own applications, i.e., scramb...

Mixed Language Programming, VB and C++, noob problems with API and pointers

My problem is with understanding the finer point of mixed langage programming and accessing API's in external libraries. My skills at C++ are nonexistent and at VB, mediocre. I have a c++ dll compiled (portaudio library), and am trying to access it from VB (Visual Studio 2005). I am getting MarshallDirectiveException errors when call...

Visual Studio 2005 VB debugging with c++ dll - Mixed Language debugging

I have a vb project which calls functions in a dll. The dll is created in a separate vs project (portaudio), which is written in c. The dll c project compiles clean and builds the required dll, which I am currently dropping in c:\windows\system to vb runtime can see it. VB Project lives in c:\devprojects\vbtest C Project lives in c:\...

How to read RSS feed using jQuery

How do I parse an RSS feed using JavaScript or jQuery? ...

Is it possible to set up a mixed architecture Cluster?

I have an x86-64 computer running Linux that I would like to supplement with other non-x86-64 Linux machines. Is it possible to somehow benefit from the computational power of another machine without it being the same architecture? As a second question, what kind of performance increases are available and does it require specialized so...

Encryption of a C++/CLI /clr DLL and Assembly.Load()

Hi, guys. I'm developing a client software for an online community I belong to. In order to let me write a client to it, the owners and webmasters demand my code to be encrypted (not just obfuscated). Most of my project is written in VB.NET (F3.5), and some of it is using SQLite and libcrypt via C++/CLI for performance reasons (so I cann...

Is it possible to get the Windows logon name with site running asp.net forms authentication?

Hi I have a website with a large user base configured with asp.net 2.0 forms authentication. Before the user logs in via forms authentication is it possible to retrieve the windows login name/user account name on the machine they are using? Many thanks ...

Using in the same time Boost in release and debug mode

Hello, The title is just for teasing. :-) I know it isn't possible, but here is my problem. My app (a DLL, actually) uses Boost. It also uses an external API, which also uses Boost. The external API is of course provided in a release binary, anlong the needed release Boost binaries. When I compile/link my DLL in release mode, I have n...

Can i use JCheckbox to show "mixed state".

In windows it is possible to show a grayed out JCheckbox, to show that the collection of data which it represents not all items have the same value. Is this even possible with a JCheckBox? How do i go about this? (Hoping there's a way to not override it) Thanks ...

C++ in mobile apps. How does it works

Tell me. How is executed binaries (written in c++ ForExample) in mobiles?? Is it only possible as mixed with J2ME or is it possible to execute "RAW" (like exe file) binary. (In old and new mobiles) ...

Debugging application built with mixed ASP.NET versions.

Hi, I am working on an application built using ASP.NET 1.1 but that invokes services built in ASP.NET 2.0. Attempts to debug my code by setting a breakpoint and attaching the w3wp.exe process fail because IIS is running under ASP.NET 2.0. If I select ASP.NET 1.1 as the version in IIS then debugging works, but the calls to the 2.0 se...

Mixing VB.Net and C# Code in an ASP.Net Web Application?

The question quite an older and often asked around, i have similar questions here but my question is a bit more specific. Q1. Is it legal to mix C# and VB.Net code in ASP.Net Web Application? Will it work or not? If it works how it may be done? Any sample will be good. Q2. If there are any repercussions of mixing C# and VB.Net code the...

XmlSerializer Mixed Content Deserialization

How do I setup my class to deserialize the following mixed content xml? <employee> <name>John Doe</name> <remark>He is a <match>tall</match> and handsome man</remark> </employee> ...

Python- Convert a mixed number to a float

I want to make a function that converts mixed numbers and fractions (as strings) to floats. Here's some examples: '1 1/2' -> 1.5 '11/2' -> 5.5 '7/8' -> 0.875 '3' -> 3 '7.7' -> 7.7 I'm currently using this function, but I think it could be improved. It also doesn't handle numbers that are already in decimal representation def mixedt...

Sessions getting mixed up PHP

Hi we have been operating a system for about 500 users online on one centralized dedicated server. Our application is coded in PHP. Recently when we have a reasonable load of about 100 -150 users sessions start getting mixed up. For instance if a user logins as A after a while his session switches to User B who is also logged in. The sys...

Facebook 'Like' button breaks https/SSL

On an e-commerce website I maintain, I added a Facebook 'Like' button per the instructions here: http://developers.facebook.com/docs/reference/plugins/like I am using the iframe method: <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Fpage%2Fto%2Flike&amp;amp;layout=standard&amp;amp;show_faces=true...

JAXB XJC compiler disregarding mixed=true on XML Schema documents

XJC seems to be completely ignoring mixed="true" on my XML Schema elements thereby not allowing me to extract text content. From the sample XML below, I need to be able to extract "Title Text." Without mixed="true" being recognized, no accessor is created nor is it unmarshalled from XML: <?xml version="1.0" encoding="UTF-8"?> <title xml...