Threading general question

statement : i have some tasks that does not require any user interface so i would like to implement them   with threads instead of thru windows
But they need to habe a message pump
 i have read all of the relevant reference sections and found only declaration that it is possible
q1)  what must be made at construction/creaton /beginning time ??
q2) the thread is  considered to have exited when it ends message handler ??
q3) is there any complete online training /tutorial or so on topic threading ???
claudio cannella

Hi opaklaus,
Thank you for posting in the MSDN forum. It seems that it is not the correct forum for this issue, since
this forum is to discuss VS IDE. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Where to direct a general questions about foreign films subtitles?

    I recently purchased a foreign film "Break Ke Badd" from the iTunes store. Although, it didn't specify that it had English subtitles, I assumed it did. After the full download, I tried to watch it and there weren't any English subs. I contacted iTunes and they more than happy to refund the money back to my account. Now after a few weeks, the iTunes store DOES list Eng subs for this film. I don't want to purchase it again and have to contact iTunes for another refund...Therefore my question is, is there a general question contact one could use to find an answer to my question. Basically, to verify that this movie, indeed has English subs before I re-purchase. 
    Any info is appreciated!

    Yes I know as the [https://support.mozilla.org/en-US/questions/ Questions] section is more for desktop Firefox support and the place I linked to is for "Firefox OS" support in English where some who are involved with it do post in it occasionally.
    I would have moved that [https://support.mozilla.org/en-US/questions/962783 thread] to the "Firefox OS" English section, however I cannot as the [https://support.mozilla.org//questions/ Questions] and [https://support.mozilla.org/forums Contributor Forums] are not the same.

  • Newbie question - general question about e-mail sync

    Hi,
    I have a general question about email sync and BlackBerry smartphones.  Are there any devices that allow email syncing with a Microsoft Exchange 2007 system that do not require the BlackBerry Enterprise server?
    Thanks; sorry if this has been asked before but I was unable to find it in the forums, documentation, etc.  Everything I found assumes that for this kind of environment you will be using a BlackBerry Enterprise solution, but I can't assume.
    Thanks again.
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    If the Exchange server has anything that faces the internet (OWA, POP, IMAP), then BIS can be used to handle email (only email...calendar and contacts require BES to sync OTA).
    Or, a PC, inside the network (but with an internet path) and logged into the email server (using Outlook), can be left running, using the RIM Desktop Software's Desktop Redirector capability to forward  messages to the BB.
    Those are basically the options.
    Hope that helps! Let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • General question regarding "parallelism" of iPhone execution

    I've got a general question and hope somebody can shed some light on this.
    While I'm relatively new to iPhone development I've been in software programing for more than 15 years now and have a solid background in Java, C, C++, C# and other languages. I've created a couple of applications for the iPhone, easy and complex ones, some using UIKit, others using Open GL and Open AL. With that said I think it would be fair to say that I know pretty much what I'm talking about.
    For those who tend to refer everybody back to the Apple Samples or PDF guides, please believe me, I've read them all.
    Here's my "question":
    I occasionally ran into a situation where I got the impression that code on the iPhone got executed in a "non sequential" or "parallel" manner even when I did not explicitly created threads. I'm not referring to code buried in a framework or so, I'm talking about code I've written. (English is not my mother tongue, so please excuse me if my explanation might be somewhat difficult to understand.)
    I try to give an example. Assume a code snippet like this:
    _gameEngine = [GameEngine alloc];
    [_gameEngine initSomeStuff];
    In my understanding the second statement (the initSomeStuff) gets executed once alloc returns and _gameEngine for sure is a valid pointer. Is that fair to say? I sometimes got the impression that the iPhone starts executing code without waiting that a method returned.
    I had similar issues when I tried to show an ActivityIndicator while another method was doing a lengthy operation. Pseudocode like this:
    [_activityIndicator show];
    [self longLastingOperation];
    [_activityIndicator hide];
    In code like the one above: Can I be 100% sure, that the hide message is not sent until longLastingOperation returns? I ran into a situation where I had the impression that show and hide got called immediately without waiting until longLastingOperation returned.
    Final example:
    [self performSelectorOnMainThread:@selector(doSomething) withObject:nil waitUntilDone:YES];
    [self nextStatement];
    -(void)doSomething {
    [self longLastingOperation];
    1.) In the above code, I understand the idea is that doSomething will be executed on the MainThread and that nextStatement will in no way be executed before doSomething has returned. Is that true?
    2.) doSomething is supposed to run on the MainThread but does this hold true for longLastingOperation, too? Or could it be that longLastingOperation WITHIN doSomething gets dispatched to another thread and doSomething returns PRIOR to longLastingOperation been finished?
    This might all sound pretty wired but as I said from time to time I ran into a situation where I got totally confused as to how stuff executes in – or out of – sequence. I helped myself with using NSNotificationCenters etc. but I'd like to understand what's going on in detail and crystal clear here.
    Your help is more than appreciated.
    Thanks,
    R.
    Message was edited by: BeSharp

    It is never safe to assume that any allocation was successful, and while it's incredibly unlikely that you're running into any such situation, it's entirely possible for a formal protocol to declare that a given message send should return immediately without waiting around:
    http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ch apter13_section_8.html#//appleref/doc/uid/TP30001163-CH9-BAJIGHAF
    An "impression" doesn't prove much unfortunately, so I'd recommend getting friendly with the debugger to see what's really going on.

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • Report Builder Question - OA AR Aging - and a general question

    I'm sure this is the wrong forum for this question, but I thought there might be someone here who might be using Oracle Applications and Report Builder who'd be kind enough to help me out.
    We've recently implemented Oracle Applications 11.5.10 and I have to use report builder to change the Accounts Receiveable Aging (7 bucket) to a 5 bucket report. I've already made some changes to the seeded "ARXAGMW.rdf" report, but I'm not a big Oracle Reports guy. I've stumbled through making some changes in various other reports. But this one is just plain nasty! :)
    I was thinking that I could simply add buckets 6 & 7 to bucket 5, then just hide or delete the 6 & 7 buckets. But I'm not sure where to even start. Any help with this would GUARANTEE a Christmas or other holiday card this year! :)
    I really want to keep this simple as possible, so any help would be very....helpful. :)
    Oh, my general question is: Are there any resouces/books for Oracle Reports (Report Builder)? I feel so lost trying to modify existing reports, let alone creating new ones.
    Thanks again!
    Steve

    Hi Steve,
    I am working on the 7-bucket aging report and i want to add a new field in data model.
    As the query is build dynamically, i have modified the function BUILD_CUSTOMER_SELECT to meet my requirements.
    But the problem is that in the data model, the field is not present in my Grouping. and if I try to add the field in the Data Model query (Q_ Customer) section,
    i get the following error: ORA-01789: query block has incorrect number of result columns.
    The query is as shown below:
    select rpad('a',50,'-') short_cust_name,
    0 cust_id,
    rpad('a',30,'-') cust_no,
    rpad('a',500,'-') sort_field1,
    rpad('a',40,'-') sort_field2,
    0 payment_sched_id,
    rpad('a',32,'-') class,
    sysdate due_date,
    0 amt_due_remaining,
    0 days_past_due ,
    0 amount_adjusted,
    0 amount_applied,
    0 amount_credited,
    sysdate gl_date,
    'x' data_converted,
    0 ps_exchange_rate,
    0 b0,
    0 b1,
    0 b2,
    0 b3,
    0 b4,
    0 b5,
    0 b6,
    rpad('a',25,'-') bal_segment_value,
    rpad('a',500,'-') inv_tid,
    rpad('a',32,'-') invoice_type
    , 'y' parent_cust --I WANT A NEW FIELD HERE TO BE VIEWED ON THE REPORT LAYOUT LATER
    from dual
    where 1=2
    UNION ALL
    &common_query_cus
    Did i missed somthing 4 me to be able to add the field here?

  • General question about iTunes Match and multiple libraries

    Hello to everyone,
    I have a general question about the iTunes Match service, which is available since yesterday in my country (Italy). Currently my library situation is the following:
    Computer A (desktop, Windows 7): "big" iTunes library (about 20 GB), at the moment not associated with my Apple ID
    Computer B (MacBook Air 2011): "small" iTunes library (about 5 GB), associated with my Apple ID
    At the moment, both my iOS devices (iPhone 4 and iPad 2) are synchronized with the smaller library on the MacBook Air.
    Question is as follows: should I subscribe to iTunes Match, would it be possible to upload the "big" library (provided I associate it with my Apple ID) to iCloud while keeping my devices synchronized with the "small" one?
    Ideally, at the end of the day, the situation should be the following: both iOS devices with music from the small library + possibility of downloading songs from iCloud (coming from the big one). Is this possible?
    Maybe the question sounds stupid, but I want to be sure about this before paying for the service.
    Thanks a lot.

    Yes, you could also associate your larger library with iTunes match if you associated your Apple ID with it. However any purchases in the library made from another Apple ID will not be matched with iTunes much.
    If both libraries are part of iTunes match, then all your devices will see all of the content from both libraries, which content you choose to have on those devices and which you have accessible via iTunes match is entirely up to you.

  • I don't understand the thing you call live bookmarks never used it, and most forums I have used notify VIA E-mail not giving out my E-mail address information when a reply has been made to the thread in question.

    So how do I get notified of updates in this forum? As I said: I don't understand the thing you call LIVE BOOKMARKS I have never used them, and most forums I have used notify VIA E-mail not giving out my E-mail address, or other private information when a reply has been made to the thread in question, so how do I get notified of updates in this forum? I have seen no normal options for setting my viewing preferences used for this forum. Thank You.

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • General Question on Proxies

    Hi,
    I have few general questions....
    How to decide which proxy to be used: Java or ABAP?
    What are the deciding factors?
    Which one is better when it comes to performance?
    Regards,
    Rajani Kumar

    bump

  • Camileo charging problem (solved) and a general question!

    Hi all!
    First of all, I was going to ask for help as to why the Camileo S10 was not charging (the orange light wasn't flashing), and I'd seen a few people with similar problems.
    The solution?
    Give the contacts on the battery a clean.
    The insulation sticker that comes on it must leave some kind of residue on it, and it's enough to prevent charging. Now it's flashing away happily :]
    So my general question was, is it possible/advisable to use the camera on the mains?
    Rather than constantly draining and charging the battery during long shoots, I'd prefer to just leave it plugged in!
    Thanks very much in advance!
    Paul

    Hi
    I think the battery handling is always the same no matter what product it is
    From time to time the battery should be recalibrated.
    This means that the battery should be discharged fully and after then you should charge it again until the battery would reach 100%
    I do this with all my batteries; mobile phone battery, digi cam battery and notebook battery.

  • Update on Bioinformatics WIKI, scripting challenges, and a general question

    I am waiting for my site to go on-line at Oak Ridge National Labs (USA, Tennessee).  Should be another week or so, maybe less.
    When that happens, you will see a veritable explosion of scripting challenges in my wiki (Emerging Technologies->Bioinformatics.)
    One general question in preparation for these challenges.
    There are a number of standard  bioinformatic programs that can be run interactively via the web at various sites, e.g. "BLAST" and "STRIDE". 
    Although these can also be run locally, this requires that you download large databases and keep them updated.
    So here's my question to the scripting experts:
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Bill Mann has used PERL to do some of the required regex parsing, but there is a lot left to do, and, his stuff only works when a perl program is invoking a bioinformatic program locally, not interactively.
    If so, we all can do some beautiful stuff together , if anyone is interested ...

    ...my wiki on...
    There is by it's very nature no such thing as MY WIKI, except you run your own wiki project in an exclusive mode. Which were...well ... unusual.
    Are scripting languages powerful enough to submit queries to web pages and then use regex's to parse the html that is returned?
    Yes.
    anton

  • Delete scriptcode - General question: capacity limit of Acrobat Windows

    Hello everybody,
    I've got a general question to the capacity limit of Acrobat Windows.
    I often make forms with
    for instance the current one has 18 pages. Eleven pages have fields on it. (But some pages have only one field on it) The fields of one page to another are sometimes linked with script code. The file needs nearly 1 MB.
    Usual I write the script code by a double-click on the field/ calculate/ custom calculation script. (Is this the right way?) Today it happens again that a field with script code lost the script code.
    That's why I wonder whether there is a capacity limit of Acrobat Windows or whether I make mistakes. (This is only one instance of several where the form has his own life.)
    Thanks in advance for helping me!

    http://forums.adobe.com/community/acrobat/acrobat_scripting

  • SAP GRC Process Control - General Questions

    Hi all,
    We have the following general questions regarding SAP GRC Process Control:
    1) Assume that we have set up 5 different SAP Connectors in Process Control. When you configured a specific rule and control and then, schedule the job for such control, how does the system (SAP Process Control) knows which back-end system needs to be accesed for such control?
    2) In which language are the out-of-the box rule steps's script coded? In which different languages can those scripts be coded, what is to say, in which language can we code our own scripts?
    3) How is the detailed flow between SAP Process Control and SAP Back-end system?
    Many thanks. Regards,
        Imanol

    null

  • General Question re logical workflow (Multiple Products/Sales Teams)

    Currently we are upgrading from a highly customized CRM environment developed in CRM 4.0.  We are hoping to move to an out of the box solution with 2015.
    But I have a general question. We are a service company with different sales groups for each of our products.
    Currently we have customization for each service so a Sales person is assigned to a specific product for the customer.
    So my question is, how is this handled out of the box.  I am sure there are many many many companies in the same situation.
    So say 10 products with sales group for each product.
    Then a customer with multiple departments.  Each sales group needs to contact the specific department.
    So a customer could potentially have 10 different sales people contacting different people in the customers organization.
    How do you know when someone has already made contact?
    If we just look at the activities it is not very clear that contact has been made for a specific product. 
    Even with our customizations, there have been many situations where 2 sales people contact the same person at a clients office and we end up looking very unorganized.
    Any thoughts or comments are appreciated.
    If this is not the right place to post this type if discussion, please redirect me.
    Thanks

    As an example, for 37-minute sequence of footage (made up of multiple clips) it's taking 50 minutes to first export a non-self-contained, time-code-reader-filter-added Quicktime.
    Did you render fully before you exported? That helps. But this is also a GOP format, and it takes longer to do pretty much everything, as it is a processor intensive format.
    1) How much more memory would help this work flow go faster, and approx. how much faster??
    None. RAM doesn't come into play here. PROCESSOR speed is all that matters. What will make it go faster is enabling QMaster to have Compressor access all cores of the processor. Or getting hardware to help with the compression, like the Compress HD from Matrox. But that only boosts encoding to H.264.
    2) Has anyone else done this type of work-flow, and been able to do it more quickly? Is RAM the issue? Any suggestions for a more efficient work-flow?
    RAM isn't the issue. Faster Processors, hardware boosting...converting the footage to ProRes before you begin editing...all help.
    RAM isn't what is hindering you here.
    Shane

  • Business Objects Training -General Questions

    Hi,
      I am just Going through the Business Objects...had some few general questions.
    1)What  is the current Version on BO
    2)Where does Crystal reports & Xcelsius fit in Business Objects
    3)Does Power Center & Informatica are also included in Business Objects
    Thanks

    The latest version of Business Objects Enterprise is XI Release 3.1 Service Pack 2. There have been several fixpacks delivered on top of this as well.
    Crystal Reports and XCelsius are tools to build Reports and Dashboards respectively. While XCelsius is suited for creating sleek dashboards with very aggregated data - usually less than 2000 rows per report, Crystal Reports can be used for reporting off data warehouses requiring reporting off large data sets.
    Informatica Powercenter is a tool proivded by an independant vendor and is not a Business Objects Product. Business Objects Provides Data Integrator, which is pretty much as rugged as Informatica and provides all the functionalities of ETL(Extraction Transformation and Loading).

Maybe you are looking for

  • If statement to put "Yes" or "No" in a table cell on another page

    Hello I have tried to find a solution to this and I just can't figure it out. I have gone through all of the messages and tried the examples and no go. Please help, thanks. THIS IS WHERE THE RADIO BUTTON IS: ----- form1.BorrowerInput.OtherPaymentsGro

  • Ipod won't start, won't charge , won't get recognised...

    I just got a NEW ipod after my last one died on me a couple of days ago, and THIS one seems to have been destroyed already. It's run out of battery. When I connect it to the computer I may either: a) get a "battery too low" message b) get the Apples

  • 1 Analog Input using a DAQ card and would like to save the data into an excel file

    As you may have realized, I am very new at using Labview 6.1. I have an analog voltage input that I would like to save in an Excel file as a 2D array (time, voltage). I was wondering if anyone knew a very simple way of doing this and could help me ou

  • How to run InDesign Javascript without Interruption

    Hi all, I want to run InDesign Javascript, while running the script nobody should interrupt. How to do it??? Thanks in Advance, Mahesh

  • Where does CF 8 store JVM args?

    Hi,  I just rebuilt a CF 8 server and after installing and configuring reviewed the server settings.  Below is a part of the JVM Details section. User Home is set to "C:\Documents and Setting\TEMP".  I want to change this to "C:\Documents and Setting