I have a program which generates GUID.Is there a chance that more than one thread spawned at the same time (< 1 millisec) in the same machine to have same GUID?. Thanks, Rane
Rane
Posts
-
Multithreading and GUID -
Why?Is it knowingly or unknowingly? :~ -Rane
-
Who believedIt really depends on the type of song that you are listening to. ;-) -Rane
-
ADO Connection String.This error message is self-explanatory. Check whether your DSN is setup correctly. Any incorrect DSN(UserID/Pwd) will lead to this error.In addition Pl check if you have right level of access to the database. -Rane
-
ADO Connection String.Could you post the error/problem that you are getting/facing while trying to establish the connection? -Rane
-
helpGeneral Rule Applicable for any Programming language *Read the Concept. *Understand the Program logic. *Practice All the very best Pal :thumbsup: Thanks, Rane
-
Faq in C :During Compile time... Regards, Rane
-
ORA-01722 Errorselect m_id from w_mat where ( w_mat.row_id in (Select prime_id from d_table where a_type=3 and o_type='XXX' and a_name='YYYY' and ( decode(REPLACE (TRANSLATE(TRIM(a_value),'-.0123456789', '000000000000'), '0', NULL), NULL,to_number(TRIM(a_value))) = 1 )) ) order by 1 If a_value encounters a non-numeric value, this query returns an error. Is there a way to modify the query to look for the particular value (i.e) 1 and ignore if it encounters any non-numeric value during the data fetch.. Regards, Rane
-
Setup package -
Access Violation Reading locationT.RATHA KRISHNAN wrote:
GetOSGNode()
What happens inside the GetOSGNode() method?. Post us the code piece... Regards, Rane
-
Virtual memoryUse
OpenProcess()
to get a handle to the process that you want to monitor.Then useCreateToolhelp32Snapshot()
API which will give you lists of the modules (DLLs) that are a part of your process image which you can then iterate usingModule32First/Module32Next()
and obtain the load addresses and extents. It will also give you a list of the heaps, runtime allocated memory used by alloc/free and stacks. You then useHeap32ListFirst/Heap32ListNext
to iterate those and obtain their start addresses and extents. You then use those addresses withReadProcessMemory()
to actually read the Random Access Memory. Also, be sure to suspend the target process otherwise things could change the moment after you obtain your information. Regards, Rane -
Virual memoryAdopt the similar strategy as posted by me below! :cool: Regards, Rane
-
<unordered_set></unordered_set>Intresting..I learned a new CP tip today :) Regards, Rane
-
Base Convertion_tcstol
CRT function will do... Regards, Ranemodified on Thursday, September 18, 2008 12:49 AM
-
Convert Resource Names to IDs -
Convert Resource Names to IDs -
Internal Compiler Errorsubramanyeswari wrote:
Is there any way to correct this code without installing a hotfix?
I think you may have to install the hotfix provided by MS to resolve this issue.BTW,Why are you hesitating to install the hotfix? :) Regards, Rane
-
Modify Registry KeyUse
RegCopyTree
to copy the whole registry tree (Key & its Subkeys) to a dummy key and then delete the original tree.Then try creating a new Key(usingRegCreateKeyEx
) with "New Name" and add the whole subtree to the "New Name" Key. Regards, Rane -
Problem with mt.exeT.RATHA KRISHNAN wrote:
Sorry. I'm fighting with this exception too frequently.
Is this issue happening only for some specific project or for all projects? Regards, Rane
-
Internal Compiler Error