Posts

module - Dynamic loading and symbols sharing -

I am trying to load a module library by dl in this way, So that the module uses the world from the main application. How is this possible? I get an error message from Duppen, which is saying library / name.so: undefined symbol: ... . Its use is the only flag: RTLD_NOW . The module itself is manufactured with the written form -module -avoid-version . The answer is: When adding the main code, -Wl, - export-dynamic All symbols are automatically exported to the libraries loaded. The same question, just asked in a different way:

sql server - Copy data from one database to another using VB.NET -

I have to copy the data from one database to another using the VB.NET program. The target database is SQL Server's source database, some ownership is ODBC compliant database. I need to loop through a list of tables to copy. Read the data from the source database table for a modified date. Delete the date related to the target database table and enter the record from the source table. The databases are of the same structure i.e. The table name and the field name, but the data types may vary (although they are analog, double in the source, float in the target) no primary key exists. This is how I can do it: First, execute the order to remove the target. I can then use a detourder to get data from the source, loop through the item and create an insert order for each line. Add and execute parameters in the command with appropriate values. And wrap the whole thing in the transaction. I was just thinking that I remember any trick here. Any suggestion / This trick will be...

Generate XML with PHP and pass it to an SWF -

In the past I have created a php file that generates XML and then it refers to XML file instead and in it Worked. I'm trying it with a precompiled flash app and it's not working. Any ideas why? This works if I run the script, save it and then swf that reference to that file. If possible, I will not generate the file on the file system, what is the solution? If you drag the PHP page into the browser, then are you sure: There is no white spot before the XML prologue ( & lt;? Xml version = "1.0" ...? & Gt; ) in the file XML To check one more thing, see Firebug on the net panel ... it shows all those requests / reactions - They were done by Flash (including them) It's embedded in a web page) and make sure your flash is actually looking for the file you think.

iphone - Deselect UIButton on touch down outside -

मेरे पास एक UIButton है जो कि UIControlEventTouchUpInside पर स्वयं का चयन करता है। यह स्वतः UIControlEventTouchUpOutside पर अचयनित करता है मैं यह भी खुद को अचयनित करना चाहता हूं जब बटन के बाहर एक स्पर्श होता है UIWindow और ओवरराइड -hitTest: withEvent: ? संपादित करें: मैं ऐसा करने का एक अच्छा तरीका है बस मिला, जो मुझे डर की पुष्टि करता है कि ऐसा करने के लिए कोई बहुत ही साफ तरीका नहीं है। यह यह नहीं है कि कैसे बटन काम करना चाहिए। अगर उनके अंदर कोई स्पर्श सक्रिय नहीं है तो वे सक्रिय नहीं हो सकते। क्या आप वास्तव में लागू करने की कोशिश कर रहे हैं? शायद एक UIBUtton सबसे अच्छा विकल्प नहीं है।

How should email address opt-in implemented? -

Scenario: The user gives you an email address before signing up for the services, Email address must be validated - You email, click on the URL, then they can subscribe to the services. Question: What does the URL look like? I'm thinking that a random guide would be fine. Do you use the same random key to cancel requests? Is anyone looking for double-opt-in to implementing a good open source? I have used random GUID before such objectives to verify an email account, And it works well until you're working with ultra-safe, ultra-sensitive data, then it should be enough. I do not see the reason for using a single GUID for no request - in this way you need to store a GUID in an account that your Subscriber database (or you can store them). You can add unsubscribed links at the bottom of all e-mails, which can make this a simple one-click option.

iphone - MPMoviePlayerController release problem -

यहाँ कोड है - (शून्य) आवेदनडिफ़फिशः लॉन्चिंग: (UIApplication *) अनुप्रयोग {NSBundle * बंडल = [एनएसबींडल मुख्य बंडल]; NSString * moviePath = [बंडल पथफ़ोरेआरएसओर्स: @ "sample_mpeg4" टाइप की: @ "एमपी 4"]; एनएसड्राएल * मूवीURL = [[एनएसआरआर फ़ाइल यूआरएलथैथपाथ: फिल्मपैथ] बनाए रखा गया है; एमपी एमपीवीप्लेयर कंट्रोलर * मूवी प्लेयर = [[एमपी एमपीवीप्लेयर कंट्रोलर एलोक] इनट विथ कंटेंट यूआरएल: मूवीURL]; मूवी प्लेअर। मूवी कंट्रोलमॉड = एमपीएमवीई कंट्रोलमोडहाइड; [मूवी प्लेयर प्ले]; [[NSNotificationCenter defaultCenter] addObserver: स्वयं चयनकर्ता: @ सिलेक्टर (मूवी पीलेबैकडिफफ़िन्स :) नाम: एमपीएमवीप्लेयरप्लेबैकडिफ़फ़िनीशनोटेशन ऑब्जेक्ट: शून्य]; } - (शून्य) मूवी PlaybackDidFinish: (NSNotification *) अधिसूचना {एमपी एमपीवीप्लेयर कंट्रोलर * theMovie = [सूचना ऑब्जेक्ट]; [[NSNotificationCenter defaultCenter] हटायेंऑब्सर्वर: स्वयं का नाम: एमपी एमपीवीप्लेयरप्लेबैकडिफ़फ़िन्शनोटिफिकेशन ऑब्जेक्ट: मूवी]; [मूवी स्टॉप]; [मूवी रिलीज]; [खिड़की जोड़ेंस्यूब्यूव्यू: टैबबार नियंत्रक.दृश्य]; [खिड...

Windows 7: Loop through Taskbar items -

I'm trying to create a small utility for just for myself that appear in the taskbar Window where there is no information in the label (for example, "iTunes", "Microsoft SQL Server MGMT Studio", "~ CMD.axa"), but windows like Windows Explorer and Visual Studio and MSN have been unglrapped Which Fol Ders are listed, which projects are open, and you are talking name). I am trying to loop through windows on the windows 7 in the taskbar, but without any fate. I got some samples for XP's taskbar reader, they are no longer useful. I have tested samples in WindowsAPICodePack for Windows 7 taskbar manipulation, but it only allows me to access the windows of my processes.